Blogpost about upgrading: https://owncloud.org/blog/time-to-upgrade-to-owncloud-9-0/
General changes in this release: ownCloud Documentation Overview
Another blogpost how to do a correct upgrade: all mine!: How to Upgrade ownCloud: Don't Skip Releases!
Please read those links carefully!!!
Calendar and contacts in 9.0
The Calendar and Contacts apps have been rewritten and the CalDAV and CardDAV backends of these apps were merged into ownCloud core. During the upgrade existing Calendars and Addressbooks are automatically migrated. As a fallback for failed upgrades or an option to test a migration dav:migrate-calendars and/or dav:migrate-addressbooks scripts are available via the occ command after you have added ‘debug’ => true to your config/config.php. See ownCloud Documentation Overview how to run occ.
Migration of CalDAV and CardDAV should be done automatically,you can check if everything run perfectly and re-initiate the migration process:
Browser support in Calendar (and probably also contacts) App
→ Only Chrome, Firefox and Safari are supported. No IE/EDGE
Calendar app for ownCloud
There were problems with the code integrity check. More information…
ownCloud 9 has introduced a code signing and integrity check feature to help you identify modified and corrupted files. If you’re getting the mentioned error please see:
More info about code signing are available here: https://owncloud.org/blog/code-signing-in-owncloud-9-0/
If you get this message because you have modified your .htaccess and/or .user.ini (e.g. to raise the upload limits) the upcoming 9.0.1 will include a workaround for this:
master
← fix-support-for-php7-in-htaccess
opened 10:17AM - 15 Mar 16 UTC
This fixes several .htaccess and .user.ini related problems.
## Incompatible wit… h PHP 7
The current `.htaccess` file defines `mod_php5.c` instead of `mod_php7.c`. This leads to the problem that the default values of PHP are used such as 2MB upload etc.
Furthermore in the ownCloud admin interface it was not possible to change the maximum upload size. While there was an edit form it simply had no effect at all since only the value for PHP 5 was edited.
To test this install PHP 7 using mod_php and try to adjust the max upload size in the ownCloud admin menu. Without this patch this was failing.
This is done in https://github.com/owncloud/core/commit/2cfde7cd0b309e4ea959fa828e0c10804cd747b1 and https://github.com/owncloud/core/commit/c7abd307c074c5e4fe1dc99fe4a8b094de9555b9
## Integrity Checker Errors
The `.htaccess` and `.user.ini` can have custom modifications in it which may break the code checker.
Generally this is not a problem because the files are checked _BEFORE_ they have any edits.
While this is generally not a problem there is one scenario where a integrity checker warning is thrown:
1. Install ownCloud 9.0 with some missing files
2. Integrity checker warning is thrown
3. Edit the `.htaccess` file using the admin menu
4. Fix the problems from step 1. Click rescan. Now the `.user.ini` and `.htaccess` edits from 3 are pointed out.
So basically as soon as somebody pressed "Rescan" the edited `.htaccess` and `.user.ini` files would be pointed out as error.
This is a little bit harder to test given the fact that one has to sign ownCloud yourself to test this. Anyways, we have new unit tests covering this situation.
This is done in https://github.com/owncloud/core/commit/5278bfe0e49b73a2b9df03df42ca77ef837b16c9
<hr/>
Fixes https://github.com/owncloud/core/issues/23144
Fixes https://github.com/owncloud/core/issues/21146
@karlitschek Backport to 9.0.1?
stable9
← backport-fix-support-for-php7-in-htaccess
opened 04:04PM - 15 Mar 16 UTC
Backport of https://github.com/owncloud/core/pull/23250
Nginx : Please review your configuration, it is different for versions 9.0 and later:
Common issues
On every major upgrade it is recommended to do a full upgrade by deleting all files and folders within your installation directory except /data/ and /config/ and then extract the new code into this installation directory. How to do a full upgrade can be found at the documentation:
Updates between multiple major versions and downgrades are unsupported.
Please see:
Problem:
A “updates between multiple major versions and downgrades are unsupported” message is shown during an update/upgrade
Description:
As the message is telling you, you have done an unsupported upgrade path. For example:
Original version: 8.0.2
Upgraded version: 8.2.6
In this case you have skipped the 8.1.x major upgrade which is unsupported as stated within the documentation. In order to find out between which versions your are stuck, check the following files in the ownCloud folder: …
Known Issues with PHP 7
PHP 7.0.6+ needs ownCloud 9.0.2+
stable9
← stable9_24326
opened 09:31AM - 29 Apr 16 UTC
See https://bugs.php.net/bug.php?id=72117
Backport of https://github.com/ownclo… ud/core/pull/24326
@karlitschek for approval
@cmonteroluque FYI. Up to you if we want this fix in 9.0.2 or 9.0.3
CC: @nickvergessen @PVince81 @LukasReschke @DeepDiver1975 @maki-chan @HLFH
Please use PHP>7.0.3: PHP :: Bug #71466 :: fopen php://input without reading from it terminates script output prematurely
Other issues
Updates from oC 9.0.0/9.0.1/9.0.2 via the Updater App are delayed because of various bugs in that App:
opened 01:20PM - 04 Jul 16 UTC
closed 01:59PM - 18 Jul 16 UTC
I want to update it to 9.0.3, but updater says:
> Current version is 9.0.1.3
> … No updates found online.
Selected channel is "stable"
Please do a manual update to 9.0.3 for now:
Known Bugs
A list of bugs to fix or features to include for 9.0.5 is available here: Issues · owncloud/core · GitHub
Doubled folders when receiving shares through two groups
opened 01:23PM - 11 May 16 UTC
closed 11:49AM - 16 Aug 16 UTC
Type:Bug
feature:sharing
regression
sev1-critical
### Steps to reproduce
1. Create two usergroups G1 and G2
2. Share a folder F wi… th both groups
3. Create a user U belonging to both groups G1 and G2
4. Log in with U
### Expected behaviour
User U will have folder F in his files.
### Actual behaviour
User U has folder F two times in his files (one is named "F (2)").
### Server configuration
**Operating system**: Debian 8.0
**Web server:** Apache 2.0
**Database:** MySQL
**PHP version:** 5.6.20
**ownCloud version:** 9.0.2
**Updated from an older ownCloud or fresh install:** fresh install
**Where did you install ownCloud from:** via official aptitude repo
**Signing status (ownCloud 9.0 and above):** No errors have been found.
**List of activated apps:**
```
- activity: 2.2.1
- activitydefaults: 0.1.0
- comments: 0.2
- dav: 0.1.6
- direct_menu: 0.7.1
- external: 1.2
- federatedfilesharing: 0.1.0
- federation: 0.0.4
- files: 1.4.4
- files_pdfviewer: 0.8.1
- files_sharing: 0.9.1
- files_texteditor: 2.1
- files_trashbin: 0.8.0
- files_versions: 1.2.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- gallery: 14.5.0
- notifications: 0.2.3
- ownbackup: 0.3.8
- provisioning_api: 0.4.1
- systemtags: 0.2
- templateeditor: 0.1
- updatenotification: 0.1.0
```
**The content of config/config.php:**
```
<?php
$CONFIG = array (
'updatechecker' => false,
'instanceid' => 'qwerty',
'passwordsalt' => '0815',
'secret' => 'thisissecret',
'trusted_domains' =>
array (
0 => 'www.xxx.de',
1 => 'xxx.de',
),
'datadirectory' => '/var/www/vhosts/xxx.de/httpdocs/data',
'overwrite.cli.url' => 'https://www.xxx.de',
'dbtype' => 'mysql',
'version' => '9.0.2.2',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'owncloud',
'dbpassword' => 'dbpass',
'logtimezone' => 'UTC',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'mail_from_address' => 'info',
'mail_smtpmode' => 'php',
'mail_domain' => 'xxx.de',
'theme' => 'mytheme',
);
```
**Are you using external storage, if yes which one:** no
**Are you using encryption:** no
**Are you using an external user-backend, if yes which one:** no
oC 9.0.5 will have the fix: Group shares with same source and target by rullzer · Pull Request #25113 · owncloud/core · GitHub and is also repairing the doubled folders
Fixed Bugs
Unable to share any file when logged with a LDAP user
opened 09:55PM - 05 Apr 16 UTC
closed 02:17PM - 18 Jul 16 UTC
Type:Bug
feature:sharing
sev3-medium
Hi,
I'm unable to share any file when logged with a LDAP user.
No problem with… users created with owncloud.
Sharing settings on admin page are correctly enabled
### Steps to reproduce
1. Configure owncloud with openLDAP
2. Log with a ldap user
3. try to share a file
### Expected behaviour
Have the ability to create a shared link or share with another user
### Actual behaviour
sharing input is locked with the message "sharing is not allowed"
### Server configuration
**Operating system**:
Debian 8
**Web server:**
Apache
**Database:**
MySQL
**PHP version:**
5.6.19
**ownCloud version:** (see ownCloud admin page)
9.0.0
**Updated from an older ownCloud or fresh install:**
fresh
**Where did you install ownCloud from:**
Arhive File
**Signing status (ownCloud 9.0 and above):**
```
No errors have been found.
```
**List of activated apps:**
```
Enabled:
- activity: 2.2.1
- calendar: 1.0
- comments: 0.2
- contacts: 1.1.0.0
- dav: 0.1.5
- documents: 0.12.0
- external: 1.2
- federatedfilesharing: 0.1.0
- federation: 0.0.4
- files: 1.4.4
- files_external: 0.5.2
- files_pdfviewer: 0.8
- files_sharing: 0.9.1
- files_texteditor: 2.1
- files_trashbin: 0.8.0
- files_versions: 1.2.0
- files_videoplayer: 0.9.8
- files_w2g: 0.8.2.6
- firstrunwizard: 1.1
- gallery: 14.5.0
- mail: 0.4.1
- notifications: 0.2.3
- ojsxc: true
- provisioning_api: 0.4.1
- systemtags: 0.2
- templateeditor: 0.1
- updatenotification: 0.1.0
- user_ldap: 0.8.0
Disabled:
- encryption
- user_external
```
**The content of config/config.php:**
```
{
"system": {
"instanceid": "occ7lpje9l2b",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"my.domain.fr"
],
"datadirectory": "\/path\/to\/owncloud\/9rh3j8J3HG",
"overwrite.cli.url": "http:\/\/my.domain.fr",
"dbtype": "mysql",
"version": "9.0.0.19",
"dbname": "owncloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"logtimezone": "Europe\/Paris",
"installed": true,
"ldapIgnoreNamingRules": false,
"appstore.experimental.enabled": true,
"loglevel": 1,
"preview_libreoffice_path": "\/usr\/bin\/libreoffice",
"default_language": "fr",
"defaultapp": "files"
}
}
```
**Are you using external storage, if yes which one:** No
**Are you using encryption:** No
**Are you using an external user-backend, if yes which one:** openLDAP
#### LDAP configuration (delete this part if not used)
```
+-------------------------------+----------------------------------------------------------+
| Configuration | |
+-------------------------------+----------------------------------------------------------+
| hasMemberOfFilterSupport | 0 |
| hasPagedResultSupport | |
| homeFolderNamingRule | |
| lastJpegPhotoLookup | 0 |
| ldapAgentName | cn=admin,dc=domain,dc=fr |
| ldapAgentPassword | *** |
| ldapAttributesForGroupSearch | ou |
| ldapAttributesForUserSearch | uid |
| ldapBackupHost | |
| ldapBackupPort | |
| ldapBase | dc=domain,dc=fr |
| ldapBaseGroups | dc=domain,dc=fr |
| ldapBaseUsers | ou=users-admin,dc=domain,dc=fr |
| ldapCacheTTL | 600 |
| ldapConfigurationActive | 1 |
| ldapDynamicGroupMemberURL | |
| ldapEmailAttribute | mail |
| ldapExperiencedAdmin | 0 |
| ldapExpertUUIDGroupAttr | |
| ldapExpertUUIDUserAttr | |
| ldapExpertUsernameAttr | |
| ldapGroupDisplayName | ou |
| ldapGroupFilter | |
| ldapGroupFilterGroups | |
| ldapGroupFilterMode | 0 |
| ldapGroupFilterObjectclass | |
| ldapGroupMemberAssocAttr | memberUid |
| ldapHost | localhost |
| ldapIgnoreNamingRules | |
| ldapLoginFilter | (&(|(objectclass=posixAccount))(|(mail=%uid)(uid=%uid))) |
| ldapLoginFilterAttributes | mail;uid |
| ldapLoginFilterEmail | 0 |
| ldapLoginFilterMode | 0 |
| ldapLoginFilterUsername | 0 |
| ldapNestedGroups | 1 |
| ldapOverrideMainServer | |
| ldapPagingSize | 500 |
| ldapPort | 389 |
| ldapQuotaAttribute | |
| ldapQuotaDefault | |
| ldapTLS | 0 |
| ldapUserDisplayName | displayname |
| ldapUserDisplayName2 | |
| ldapUserFilter | (|(objectclass=posixAccount)) |
| ldapUserFilterGroups | |
| ldapUserFilterMode | 0 |
| ldapUserFilterObjectclass | posixAccount |
| ldapUuidGroupAttribute | auto |
| ldapUuidUserAttribute | auto |
| turnOffCertCheck | 0 |
| useMemberOfToDetectMembership | 1 |
+-------------------------------+----------------------------------------------------------+
```
### Client configuration
**Browser:** all (firefox / chrome / IE / Edge)
**Operating system:** windows 7 8 10
### Logs
#### Web server error log
```
AH00687: Negotiation: discovered file(s) matching request: /path/to/owncloud/settings/admin (None could be negotiated).
AH01630: client denied by server configuration: /path/to/owncloud/9rh3j8J3HG/.ocdata
AH00687: Negotiation: discovered file(s) matching request: /path/to/owncloud/settings/admin (None could be negotiated).
```
#### ownCloud log (data/owncloud.log)
```
Error PHP OC\User\NoUserException: Backends provided no user object for myuser.name at /path/to/owncloud/lib/private/files/filesystem.php#387 2016-04-05T21:42:28+00:00
Error files Backends provided no user object for myuser.name 2016-04-05T21:42:28+00:00
Error PHP OC\User\NoUserException: Backends provided no user object for myuser.name at /path/to/owncloud/lib/private/files/filesystem.php#387 2016-04-05T21:42:02+00:00
Error PHP OC\User\NoUserException: Backends provided no user object for myuser.name at /path/to/owncloud/lib/private/files/filesystem.php#387 2016-04-05T21:42:02+00:00
Error files Backends provided no user object for myuser.name 2016-04-05T21:42:02+00:00
Error PHP OC\User\NoUserException: Backends provided no user object for myuser.name at /path/to/owncloud/lib/private/files/filesystem.php#387 2016-04-05T21:42:02+00:00
Error files Backends provided no user object for myuser.name 2016-04-05T21:42:02+00:00
```
Fixed in oC 9.0.3
“Your data directory and your files are probably accessible from the Internet” since oC 9.0.3
master
← htaccesstest-redirectworkaround
opened 10:29AM - 01 Jul 16 UTC
In some setups, the web server will redirect any call to "data/" to the
main pag… e. This causes the XHR to return the 200 HTTP status code and
the body contains the HTML page of the main page / files app.
This fix improves the htaccess failure detection by adding a known
string inside the test file "htaccesstest.txt". If we are able to find
this string, it means that the web server didn't block access to that
file.
Reported by greysun on IRC.
Please review @RealRancor @LukasReschke @danimo @DeepDiver1975 @guruz @georgehrke
Would be good to backport this to 9.1 and 9.0 to avoid annoying false positives.
Fixed in oC 9.0.4 and 9.1.0
User admin page fails to load properly after upgrade to oc 9.0.2
opened 04:12PM - 19 May 16 UTC
closed 04:11PM - 15 Jun 16 UTC
Type:Bug
settings:users
performance
sev2-high
blue-ticket
### Steps to reproduce
1. Call user admin page ../settings/users
### Expected be… haviour
List of users get loaded
### Actual behaviour
The page takes minutes to load, and often does not load at all, ending with a js error
"Ein Skript auf dieser Seite ist eventuell beschäftigt oder es antwortet nicht mehr. Sie können das Skript jetzt stoppen, im Debugger öffnen oder weiter ausführen."
Using the ajax search box shows the same behaviour.
### Server configuration
**Operating system**:CentOS
**Web server:**Apache
**Database:**MySQL
**PHP version:**5.6
**ownCloud version:** OC EE 9.0.2
**Updated from an older ownCloud or fresh install:** Update from EE 8.2
**Where did you install ownCloud from:**
**Signing status (ownCloud 9.0 and above):**
```
Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
"No errors have been found."
```
**List of activated apps:**
Activity
Antivirus App for files
Comments
Deleted files
Enterprise license key
External Sites
External storage support
Federation
File firewall
First Run Wizard
Gallery
Log user and file sharing actions
Mail Template Editor
Notifications
Provisioning API
Share Files
Text Editor
Update notification
Versions
Workflow
Announcement Center
```
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder
```
**Are you using external storage, if yes which one:** No
**Are you using encryption:** No
**Are you using an external user-backend, if yes which one:** No
### Client configuration
**Browser:** Firefox 46 or Chrome 50
**Operating system:** Ubuntu Linux 15.10
### Logs
#### Web server error log
```
No errors
```
#### ownCloud log (data/owncloud.log)
```
no erors
```
#### Browser log
```
Insert your browser log here, this could for example include:
ReferenceError: reference to undefined property e.result jquery.min.js:5:16475
ReferenceError: reference to undefined property e.result jquery.min.js:5:14264
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead jquery.min.js:1:0
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:9730
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:9939
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:9949
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:11225
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:13049
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:14344
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:14901
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:14939
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:15886
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:17980
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:18244
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:18392
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:19440
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:21800
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:21893
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:21953
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:23192
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:23769
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:4:23883
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:5:4576
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:5:4994
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:5:5396
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:5:7439
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:5:31638
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:5:31765
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:6:9615
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:6:11691
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:6:13584
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:6:19460
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:6:20316
ReferenceError: reference to undefined property d.attributes[c].expando jquery.min.js:4:30145
ReferenceError: reference to undefined property e.selector jquery.min.js:4:1634
ReferenceError: reference to undefined property jQuery.migrateMute jquery-migrate.min.js:2:1
ReferenceError: reference to undefined property e.migrateTrace jquery-migrate.min.js:2:565
ReferenceError: reference to undefined property s[n] jquery.min.js:6:3773
ReferenceError: reference to undefined property e[s] jquery.min.js:5:144
ReferenceError: reference to undefined property target[key] jquery-ui.custom.js:460:6
ReferenceError: reference to undefined property p.delegateType jquery.min.js:5:11036
ReferenceError: reference to undefined property $.uiBackCompat jquery-ui.custom.js:9499:1
ReferenceError: reference to undefined property obj[key] underscore.js:127:28
ReferenceError: assignment to undeclared variable dav client.js:1:34
TypeError: variable vars redeclares argument js.js:155:7
ReferenceError: reference to undefined property this._bundles[appName] l10n.js:70:1
TypeError: variable vars redeclares argument octemplate.js:97:6
ReferenceError: reference to undefined property obj[key] underscore.js:108:15
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.colorbox.js:687:39
SyntaxError: test for equality (==) mistyped as assignment (=)? users.js:210:47
ReferenceError: reference to undefined property locales[name] moment-with-locales.js:264:9
ReferenceError: reference to undefined property names[(i + 1)] moment-with-locales.js:233:13
ReferenceError: reference to undefined property x.event.triggered jquery.min.js:5:12498
ReferenceError: reference to undefined property p.cache jquery.min.js:6:12873
ReferenceError: reference to undefined property x.event.triggered jquery.min.js:5:10803
ReferenceError: reference to undefined property e[x.expando] jquery.min.js:5:1087
ReferenceError: reference to undefined property o.type jquery.min.js:5:6183
ReferenceError: reference to undefined property x.ajaxSettings.traditional jquery.min.js:6:8020
ReferenceError: assignment to undeclared variable GroupDeleteHandler groups.js:272:24
ReferenceError: reference to undefined property u.opts.start jquery.min.js:6:20348
ReferenceError: reference to undefined property u.disabled jquery.min.js:5:14426
ReferenceError: reference to undefined property e[C.status] jquery.min.js:6:12045
ReferenceError: reference to undefined property x[(len >> 5)] md5.js:67:9
ReferenceError: reference to undefined property padded[2] moment-with-locales.js:431:33
ReferenceError: reference to undefined property UserList.isEmpty users.js:177:1
ReferenceError: reference to undefined property output[(i >> 5)] md5.js:182:13
ReferenceError: reference to undefined property e.returnValue jquery.min.js:5:17033
getPreventDefault() sollte nicht mehr verwendet werden. Verwenden Sie stattdessen defaultPrevented. jquery.min.js:5:17117
Error: Script terminated by timeout at:
.buildFragment@https://xxxxxxxxxx/core/vendor/jquery/jquery.min.js?v=0ca4514e0bfd81dd11f45309c85251a0:5:31631
.parseHTML@https://xxxxxxxxxx/core/vendor/jquery/jquery.min.js?v=0ca4514e0bfd81dd11f45309c85251a0:4:4286
e.fn.init@https://xxxxxxxxxx/core/vendor/jquery-migrate/jquery-migrate.min.js?v=0ca4514e0bfd81dd11f45309c85251a0:2:2820
x@https://xxxxxxxxxx/core/vendor/jquery/jquery.min.js?v=0ca4514e0bfd81dd11f45309c85251a0:4:225
UserList.add/<@https://xxxxxxxxxx/settings/js/users/users.js?v=0ca4514e0bfd81dd11f45309c85251a0:107:27
.each@https://xxxxxxxxxx/core/vendor/jquery/jquery.min.js?v=0ca4514e0bfd81dd11f45309c85251a0:4:5345
UserList.add@https://xxxxxxxxxx/settings/js/users/users.js?v=0ca4514e0bfd81dd11f45309c85251a0:104:3
UserList.update/</<@https://xxxxxxxxxx/settings/js/users/users.js?v=0ca4514e0bfd81dd11f45309c85251a0:418:16
.each@https://xxxxxxxxxx/core/vendor/jquery/jquery.min.js?v=0ca4514e0bfd81dd11f45309c85251a0:4:5345
UserList.update/<@https://xxxxxxxxxx/settings/js/users/users.js?v=0ca4514e0bfd81dd11f45309c85251a0:414:5
x.Callbacks/c@https://xxxxxxxxxx/core/vendor/jquery/jquery.min.js?v=0ca4514e0bfd81dd11f45309c85251a0:4:26031
x.Callbacks/p.fireWith@https://xxxxxxxxxx/core/vendor/jquery/jquery.min.js?v=0ca4514e0bfd81dd11f45309c85251a0:4:26840
k@https://xxxxxxxxxx/core/vendor/jquery/jquery.min.js?v=0ca4514e0bfd81dd11f45309c85251a0:6:14256
.send/r@https://xxxxxxxxxx/core/vendor/jquery/jquery.min.js?v=0ca4514e0bfd81dd11f45309c85251a0:6:18646
jquery.min.js:5:31631
TypeError: this.sink is null network-monitor.js:277:5
```
Will be fixed with oC 9.0.3: [stable9] decrease initial users to load to 50 by PVince81 · Pull Request #25105 · owncloud/core · GitHub
expected filesize 4734206 got 0 (Don’t mix this with expected filesize 4734206 got 458752!!)
opened 11:35PM - 16 May 16 UTC
closed 04:19PM - 18 May 16 UTC
Type:Bug
sev1-critical
Syncing large files with the 2.1.1 (build 3107) client on OSX against ownCloud 9… .0.2 on a slowish 384KB/s link I'm getting an "expected filesize 5242880 got 0" exception on about 5% of the chunk uploads. I've [added some additional logging](https://gist.github.com/Marginal/214578639d00858dc6d1d97e04e3daa8) to OC\Files\View::file_put_contents() (see owncloud.log below) and it appears that apache is receiving the file chunk contents OK, ownCloud is writing the contents to the filesystem cache OK, but the chunk files are occasionally disappearing from the filesystem before OC_FileChunking::store() returns.
Any pointers on how to debug this gratefully received. On the assumption that the underlying filesystem isn't randomly losing files, my working hypothesis is that the cache is occasionally clearing up chunk files too aggressively while they're still being written.
Also, I'm aware of #9832 but that issue seems a mess of various problems, and of #11778 but this seems to be a different problem. Could be related to https://github.com/owncloud/client/issues/4421.
### Steps to reproduce
1. Upload 6 100MB files with the ownCloud sync client over a slowish link.
### Expected behaviour
Files sync OK.
### Actual behaviour
Client reports "Error download https://xxx/xxx-chunking-xxx-y-z - server replied: Bad Request (expected filesize 5242880 got 0)"
### Server configuration
**Operating system**: Linux
**Web server:** Apache 2.4.16
**Database:** MariaDB 10.1.14
**PHP version:** 5.5.32
**ownCloud version:** 9.0.2.2
**Updated from an older ownCloud or fresh install:** Updated incrementally from 5.0.7
**Where did you install ownCloud from:** https://download.owncloud.org/community/owncloud-9.0.2.zip
**Signing status (ownCloud 9.0 and above):**
`No errors have been found.`
**List of activated apps:**
Files
Gallery
Contacts
Calendar
**The content of config/config.php:**
```
<?php
$CONFIG = array (
'debug' => false,
'instanceid' => '51b4613a9b05a',
'passwordsalt' => 'Redacted',
'datadirectory' => '/home/marginal/owncloud-data',
'dbtype' => 'mysql',
'dbdriveroptions' =>
array (
1002 => 'SET wait_timeout = 3600',
),
'version' => '9.0.2.2',
'dbname' => 'marginal_owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'Redacted',
'dbpassword' => 'Redacted',
'installed' => true,
'forcessl' => true,
'logfile' => '/home/marginal/owncloud.log',
'loglevel' => 0,
'log_rotate_size' => 67108864,
'maintenance' => false,
'theme' => '',
'trusted_domains' =>
array (
0 => 'Redacted',
),
'secret' => 'Redacted',
'share_folder' => '/Shared',
'forceSSLforSubdomains' => true,
'trashbin_retention_obligation' => 'auto',
);
```
**Are you using external storage, if yes which one:** Local
**Are you using encryption:** No
**Are you using an external user-backend, if yes which one:** None
### Client configuration
**Browser:** Firefox 46.0.1
**Operating system:** OSX 10.10.5
### Logs
#### Web server access log
```
x.x.x.x - - [17/May/2016:00:30:19 +0200] "PUT /remote.php/webdav/Test/100M-2-chunking-1949736465-20-2 HTTP/1.1" 201 - "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
x.x.x.x - - [17/May/2016:00:31:08 +0200] "GET /ocs/v1.php/cloud/activity?page=0&pagesize=100&format=json HTTP/1.1" 200 242 "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
x.x.x.x - - [17/May/2016:00:30:19 +0200] "PUT /remote.php/webdav/Test/100M-2-chunking-1949736465-20-0 HTTP/1.1" 201 - "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
x.x.x.x - - [17/May/2016:00:30:19 +0200] "PUT /remote.php/webdav/Test/100M-2-chunking-1949736465-20-1 HTTP/1.1" 201 - "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
x.x.x.x - - [17/May/2016:00:31:20 +0200] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 374 "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
x.x.x.x - - [17/May/2016:00:31:29 +0200] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 416 "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
x.x.x.x - - [17/May/2016:00:31:08 +0200] "PUT /remote.php/webdav/Test/100M-2-chunking-1949736465-20-3 HTTP/1.1" 201 - "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
x.x.x.x - - [17/May/2016:00:31:52 +0200] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 374 "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
x.x.x.x - - [17/May/2016:00:31:09 +0200] "PUT /remote.php/webdav/Test/100M-2-chunking-1949736465-20-4 HTTP/1.1" 201 - "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
x.x.x.x - - [17/May/2016:00:32:02 +0200] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 416 "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
x.x.x.x - - [17/May/2016:00:31:39 +0200] "PUT /remote.php/webdav/Test/100M-2-chunking-1949736465-20-6 HTTP/1.1" 201 - "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
x.x.x.x - - [17/May/2016:00:32:27 +0200] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 374 "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
x.x.x.x - - [17/May/2016:00:32:04 +0200] "PUT /remote.php/webdav/Test/100M-2-chunking-1949736465-20-7 HTTP/1.1" 201 - "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
x.x.x.x - - [17/May/2016:00:32:34 +0200] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 416 "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
x.x.x.x - - [17/May/2016:00:31:09 +0200] "PUT /remote.php/webdav/Test/100M-2-chunking-1949736465-20-5 HTTP/1.1" 201 - "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
x.x.x.x - - [17/May/2016:00:32:06 +0200] "PUT /remote.php/webdav/Test/100M-2-chunking-1949736465-20-8 HTTP/1.1" 400 225 "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
```
#### ownCloud log (data/owncloud.log)
```
{"reqId":"VzpJ@23JklEAADcNxJsAAAAG","remoteAddr":"x.x.x.x","app":"file_put_contents","message":"Wrote 5242880 bytes from Resource id #320 to cache\/100M-2-chunking-1949736465-2.YQIY9G9r9RWnP7YS.part: exists: 1, readable: 1, size: 5242880","level":1,"time":"2016-05-16T22:31:06+00:00","method":"PUT","url":"\/remote.php\/webdav\/Test\/100M-2-chunking-1949736465-20-2","user":"xxx"}
{"reqId":"VzpJ@23JklEAADVGWzcAAAAM","remoteAddr":"x.x.x.x","app":"file_put_contents","message":"Wrote 5242880 bytes from Resource id #320 to cache\/100M-2-chunking-1949736465-0.5MiXMy0jYPhWsfQG.part: exists: 1, readable: 1, size: 5242880","level":1,"time":"2016-05-16T22:31:07+00:00","method":"PUT","url":"\/remote.php\/webdav\/Test\/100M-2-chunking-1949736465-20-0","user":"xxx"}
{"reqId":"VzpJ@23JklEAADRc0bsAAAAD","remoteAddr":"x.x.x.x","app":"file_put_contents","message":"Wrote 5242880 bytes from Resource id #320 to cache\/100M-2-chunking-1949736465-1.JxhlUUjsdiqlImLV.part: exists: 1, readable: 1, size: 5242880","level":1,"time":"2016-05-16T22:31:07+00:00","method":"PUT","url":"\/remote.php\/webdav\/Test\/100M-2-chunking-1949736465-20-1","user":"xxx"}
{"reqId":"VzpKLG3JklEAADpXFl4AAAAI","remoteAddr":"x.x.x.x","app":"file_put_contents","message":"Wrote 5242880 bytes from Resource id #320 to cache\/100M-2-chunking-1949736465-3.9caCvTHfJ9mRqU9Z.part: exists: 1, readable: 1, size: 5242880","level":1,"time":"2016-05-16T22:31:37+00:00","method":"PUT","url":"\/remote.php\/webdav\/Test\/100M-2-chunking-1949736465-20-3","user":"xxx"}
{"reqId":"VzpKLW3JklEAADbZQCoAAAAC","remoteAddr":"x.x.x.x","app":"file_put_contents","message":"Wrote 5242880 bytes from Resource id #320 to cache\/100M-2-chunking-1949736465-4.g8dA06k5JAF1iUzp.part: exists: 1, readable: 1, size: 5242880","level":1,"time":"2016-05-16T22:32:00+00:00","method":"PUT","url":"\/remote.php\/webdav\/Test\/100M-2-chunking-1949736465-20-4","user":"xxx"}
{"reqId":"VzpKS23JklEAADhbAwwAAAAJ","remoteAddr":"x.x.x.x","app":"file_put_contents","message":"Wrote 5242880 bytes from Resource id #320 to cache\/100M-2-chunking-1949736465-6.3YH71eRiLUiVjh9C.part: exists: 1, readable: 1, size: 5242880","level":1,"time":"2016-05-16T22:32:04+00:00","method":"PUT","url":"\/remote.php\/webdav\/Test\/100M-2-chunking-1949736465-20-6","user":"xxx"}
{"reqId":"VzpKZG3JklEAADnhLgIAAAAB","remoteAddr":"x.x.x.x","app":"file_put_contents","message":"Wrote 5242880 bytes from Resource id #320 to cache\/100M-2-chunking-1949736465-7.bmRfooGP900enSbt.part: exists: 1, readable: 1, size: 5242880","level":1,"time":"2016-05-16T22:32:28+00:00","method":"PUT","url":"\/remote.php\/webdav\/Test\/100M-2-chunking-1949736465-20-7","user":"xxx"}
{"reqId":"VzpKLW3JklEAADcNxJ4AAAAG","remoteAddr":"x.x.x.x","app":"file_put_contents","message":"Wrote 5242880 bytes from Resource id #320 to cache\/100M-2-chunking-1949736465-5.2a6iZC56JUVnROmJ.part: exists: 1, readable: 1, size: 5242880","level":1,"time":"2016-05-16T22:32:37+00:00","method":"PUT","url":"\/remote.php\/webdav\/Test\/100M-2-chunking-1949736465-20-5","user":"xxx"}
{"reqId":"VzpKZm3JklEAACfcAz8AAAAF","remoteAddr":"x.x.x.x","app":"PHP","message":"filesize(): stat failed for \/home\/marginal\/owncloud-data\/xxx\/cache\/100M-2-chunking-1949736465-8.adjGuN5SCj567wO6.part at \/home\/marginal\/public_html\/lib\/private\/files\/storage\/local.php#142","level":3,"time":"2016-05-16T22:32:53+00:00","method":"PUT","url":"\/remote.php\/webdav\/Test\/100M-2-chunking-1949736465-20-8","user":"xxx"}
{"reqId":"VzpKZm3JklEAACfcAz8AAAAF","remoteAddr":"x.x.x.x","app":"file_put_contents","message":"Wrote 5242880 bytes from Resource id #320 to cache\/100M-2-chunking-1949736465-8.adjGuN5SCj567wO6.part: exists: 0, readable: 0, size: 0","level":1,"time":"2016-05-16T22:32:53+00:00","method":"PUT","url":"\/remote.php\/webdav\/Test\/100M-2-chunking-1949736465-20-8","user":"xxx"}
{"reqId":"VzpKZm3JklEAACfcAz8AAAAF","remoteAddr":"x.x.x.x","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 400 expected filesize 5242880 got 0\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\BadRequest\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/marginal\\\/public_html\\\/apps\\\/dav\\\/lib\\\/connector\\\/sabre\\\/file.php(103): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->createFileChunked(Resource id #320)\\n#1 \\\/home\\\/marginal\\\/public_html\\\/apps\\\/dav\\\/lib\\\/connector\\\/sabre\\\/directory.php(134): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #320)\\n#2 \\\/home\\\/marginal\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1036): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('100M-2-chunking...', Resource id #320)\\n#3 \\\/home\\\/marginal\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(523): Sabre\\\\DAV\\\\Server->createFile('Test\\\/100M-2-chu...', Resource id #320, NULL)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/home\\\/marginal\\\/public_html\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/home\\\/marginal\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(459): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#7 \\\/home\\\/marginal\\\/public_html\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/home\\\/marginal\\\/public_html\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(55): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/home\\\/marginal\\\/public_html\\\/remote.php(138): require_once('\\\/home\\\/marginal\\\/...')\\n#10 {main}\",\"File\":\"\\\/home\\\/marginal\\\/public_html\\\/apps\\\/dav\\\/lib\\\/connector\\\/sabre\\\/file.php\",\"Line\":406,\"User\":\"xxx\"}","level":4,"time":"2016-05-16T22:32:54+00:00","method":"PUT","url":"\/remote.php\/webdav\/Test\/100M-2-chunking-1949736465-20-8","user":"xxx"}
```
#### Browser log
n/a
Will be fixed with oC 9.0.3: Allow chunk GC mtime tolerance for unfinished part chunks by PVince81 · Pull Request #24691 · owncloud/core · GitHub
Refresh loop when accessing a public folder protected with password / public share with allowed upload and password protection: endless loading loop
Bugreport: https://github.com/owncloud/core/issues/23066
Will be fixed with oC 9.0.3: [stable9] Backport of share id as string fix by PVince81 · Pull Request #24956 · owncloud/core · GitHub
“Sharing backend for file not found” during update
Bugreport: App DAV Update on master failed: Exception: Sharing backend for file not found · Issue #23497 · owncloud/core · GitHub
Will be fixed with oC 9.0.3: [stable9] Delay files_sharing's registerMountProviders by DeepDiver1975 · Pull Request #25187 · owncloud/core · GitHub
Updating to 9.0.1 via the updater app is triggering the integrity check warning
Bugreport: Code Integrity Check shows problems after web updater has run · Issue #23857 · owncloud/core · GitHub
Caused by this bug in updater: 3rdparty folder not overwritten on update · Issue #316 · owncloud/updater · GitHub
Fixed with oC 9.0.2: [stable9] Add repair step for updater issues by LukasReschke · Pull Request #24134 · owncloud/core · GitHub
Updates on systems with a larger filecache-table (~100 000) can take several minutes:
opened 09:32AM - 01 Mar 16 UTC
closed 03:10PM - 19 Apr 16 UTC
db:mysql
db:postgresql
performance
sev1-critical
release note
The resulting ALTER TABLE for the [added checksum column in OC9](https://github.… com/owncloud/core/pull/21997) will create a temp table with the same columns as the filecache, add the colum, COPY the table content and finally rename it and delete the original table. Big installations will experience a very long downtime as we have seen today with a huge activity table change when updating to oc 8.2.2.
In this case mysql 5.5 was used. In the documentation for it I see no way around copying the contents: http://dev.mysql.com/doc/refman/5.5/en/alter-table.html#idm140603778401088 It seems this has still not changed with mysql 5.7: http://dev.mysql.com/doc/refman/5.7/en/innodb-create-index-overview.html#idm140023654764880 although it should be less of a performance hog.
cc @MorrisJobke @DeepDiver1975 @karlitschek
oC 9.0.2 shows a note how to speed things up and how to avoid timeouts
RewriteBase takes one argument, the base URL of the per-directory context
Bugreport: Can't upgrade to 9.0.1 (daily) in CentOS 6.6 · Issue #24276 · owncloud/core · GitHub
Fixed with oC 9.0.2: Don't write empty RewriteBase by LukasReschke · Pull Request #24277 · owncloud/core · GitHub
Undefined index: extension at /var/www/owncloud/lib/private/installer.php#272
Bugreport: Undefined index: extension at /var/www/owncloud/lib/private/installer.php#272 · Issue #24228 · owncloud/core · GitHub
Fixed with oC 9.0.2: [stable9] check whether index is set before using it by blizzz · Pull Request #24282 · owncloud/core · GitHub
Cron gives errors on getQuota() on null in apps/files_versions/lib/storage.php on line 691
opened 01:32PM - 23 Mar 16 UTC
closed 11:32AM - 22 Apr 16 UTC
Type:Bug
app:files_versions
app:files_trashbin
regression
sev1-critical
### Steps to reproduce
1. put this in cron: */15 \* \* \* \… * www /usr/local/bin/php -f /usr/local/www/owncloud/cron.php
2. I think this happends when file-synchronising occurs from my laptop to the server.
### Expected behaviour
The cronjob runs and does it job.
### Actual behaviour
The cronjob reports errors and emails them. Manually running the cron command does not lead to this issue (from cli instead of cron)
### Server configuration
**Operating system**:
FreeBSD 10.2
**Web server:**
apache24-2.4.18
**Database:**
mysql55-server-5.5.46
**PHP version:**
PHP 5.6.19 (cli)
**ownCloud version:** (see ownCloud admin page)
ownCloud 9.0.0 (stable)
**Updated from an older ownCloud or fresh install:**
Updated from OC 8.2.2
**Where did you install ownCloud from:**
FreeBSD package
**Signing status (ownCloud 9.0 and above):**
```
No errors have been found..
```
**List of activated apps:**
```
Enabled:
- activity: 2.2.1
- calendar: 1.0
- comments: 0.2
- contacts: 1.0.0.0
- dav: 0.1.5
- external: 1.2
- federatedfilesharing: 0.1.0
- federation: 0.0.4
- files: 1.4.4
- files_external: 0.5.2
- files_pdfviewer: 0.8
- files_sharing: 0.9.1
- files_texteditor: 2.1
- files_trashbin: 0.8.0
- files_versions: 1.2.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- gallery: 14.5.0
- notifications: 0.2.3
- provisioning_api: 0.4.1
- systemtags: 0.2
- templateeditor: 0.1
- updatenotification: 0.1.0
- user_external: 0.4
Disabled:
- documents
- encryption
- mail
- search_lucene
- storagecharts2
- user_ldap
```
**The content of config/config.php:**
```
{
"system": {
"instanceid": "ocmkad99mc4s",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"cloud.elvandar.org"
],
"datadirectory": "\/usr\/local\/www\/owncloud\/data",
"overwrite.cli.url": "https:\/\/cloud.elvandar.org\/owncloud",
"dbtype": "mysql",
"version": "9.0.0.19",
"dbname": "evil_owncloud",
"dbhost": "localhost:\/tmp\/mysql.sock",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance": false,
"forcessl": true,
"loglevel": 1,
"log_rotate_size": "900 MiB",
"theme": "",
"forceSSLforSubdomains": true,
"enable_avatars": false,
"trashbin_retention_obligation": "10, auto",
"updatechecker": true,
"has_internet_connection": true,
"redis": {
"host": "localhost",
"port": 6379,
"timeout": 0,
"dbindex": 0
},
"trusted_proxies": [
"10.0.2.50"
],
"forwarded_for_headers": [
"HTTP_X_FORWARDED",
"HTTP_FORWARDED_FOR"
],
"debug": true
}
}
```
**Are you using external storage, if yes which one:** local and nfs
**Are you using encryption:** /no
**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...
n/a
### Client configuration
**Browser:**
Safari 9.1
**Operating system:**
FreeBSD 10.2
### Logs
#### Web server error log
```
n/a
```
#### ownCloud log (data/owncloud.log)
```
{"reqId":"t4nrOVWa2nuxDZjFBMtX","remoteAddr":"2001:470:d701::500","app":"no app in context","message":"Exception: {\"Exception\":\"OCP\\\\Lock\\\\LockedException\",\"Message\":\"\\\"Fotos\\\/fotos-remko\\\/RL-Lokaal.photoslibrary\\\/Database\\\/metaSchema.db\\\" is locked\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/private\\\/files\\\/view.php(1952): OC\\\\Files\\\\View->lockPath('\\\/files\\\/Fotos\\\/fo...', 1, false)\\n#1 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/private\\\/files\\\/view.php(799): OC\\\\Files\\\\View->lockFile('\\\/files\\\/Fotos\\\/fo...', 1)\\n#2 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/files_versions\\\/lib\\\/storage.php(192): OC\\\\Files\\\\View->copy('files\\\/\\\/Fotos\\\/fo...', 'files_versions\\\/...')\\n#3 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/files_versions\\\/lib\\\/hooks.php(60): OCA\\\\Files_Versions\\\\Storage::store('\\\/Fotos\\\/fotos-re...')\\n#4 [internal function]: OCA\\\\Files_Versions\\\\Hooks::write_hook(Array)\\n#5 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/private\\\/hook.php(105): call_user_func(Array, Array)\\n#6 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/private\\\/filechunking.php(211): OC_Hook::emit('OC_Filesystem', 'write', Array)\\n#7 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/connector\\\/sabre\\\/file.php(436): OC_FileChunking->file_assemble(Object(OCA\\\\Files_Trashbin\\\\Storage), 'fotos-remko\\\/mac...', '\\\/remko\\\/files\\\/Fo...')\\n#8 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/connector\\\/sabre\\\/file.php(103): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->createFileChunked(Resource id #387)\\n#9 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/connector\\\/sabre\\\/directory.php(134): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #387)\\n#10 \\\/usr\\\/local\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1036): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('metaSchema.db-c...', Resource id #387)\\n#11 \\\/usr\\\/local\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(525): Sabre\\\\DAV\\\\Server->createFile('Fotos\\\/fotos-rem...', Resource id #387, NULL)\\n#12 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#13 \\\/usr\\\/local\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#14 \\\/usr\\\/local\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(459): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#15 \\\/usr\\\/local\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#16 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(55): Sabre\\\\DAV\\\\Server->exec()\\n#17 \\\/usr\\\/local\\\/www\\\/owncloud\\\/remote.php(138): require_once('\\\/usr\\\/local\\\/www\\\/...')\\n#18 {main}\",\"File\":\"\\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/private\\\/files\\\/view.php\",\"Line\":1854}","level":3,"time":"2016-03-23T13:09:56+00:00"}
{"reqId":"P4YHGt\/acajjMNTCLjbc","remoteAddr":"","app":"files","message":" Backends provided no user object for ","level":3,"time":"2016-03-23T13:15:00+00:00"}
{"reqId":"P4YHGt\/acajjMNTCLjbc","remoteAddr":"","app":"core","message":"Error while running background job (class: OC\\Command\\CommandJob, arguments: O:33:\"OCA\\Files_Versions\\Command\\Expire\":2:{s:43:\"\u0000OCA\\Files_Versions\\Command\\Expire\u0000fileName\";s:94:\"\/Fotos\/fotos-remko\/macbook\/RL-Lokaal.photoslibrary\/resources\/recovery\/RKVersion\/0000000000.lij\";s:39:\"\u0000OCA\\Files_Versions\\Command\\Expire\u0000user\";s:5:\"remko\";}): {\"Exception\":\"OC\\\\User\\\\NoUserException\",\"Message\":\"Backends provided no user object for \",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/files_versions\\\/lib\\\/storage.php(101): OC\\\\Files\\\\Filesystem::initMountPoints(false)\\n#1 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/files_versions\\\/lib\\\/storage.php(681): OCA\\\\Files_Versions\\\\Storage::getUidAndFilename('\\\/Fotos\\\/fotos-re...')\\n#2 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/files_versions\\\/command\\\/expire.php(61): OCA\\\\Files_Versions\\\\Storage::expire('\\\/Fotos\\\/fotos-re...')\\n#3 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/private\\\/command\\\/commandjob.php(34): OCA\\\\Files_Versions\\\\Command\\\\Expire->handle()\\n#4 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/private\\\/backgroundjob\\\/job.php(52): OC\\\\Command\\\\CommandJob->run('O:33:\\\"OCA\\\\\\\\Files...')\\n#5 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/private\\\/backgroundjob\\\/queuedjob.php(42): OC\\\\BackgroundJob\\\\Job->execute(Object(OC\\\\BackgroundJob\\\\JobList), Object(OC\\\\Log))\\n#6 \\\/usr\\\/local\\\/www\\\/owncloud\\\/cron.php(141): OC\\\\BackgroundJob\\\\QueuedJob->execute(Object(OC\\\\BackgroundJob\\\\JobList), Object(OC\\\\Log))\\n#7 {main}\",\"File\":\"\\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/private\\\/files\\\/filesystem.php\",\"Line\":387}","level":3,"time":"2016-03-23T13:15:00+00:00"}
{"reqId":"P4YHGt\/acajjMNTCLjbc","remoteAddr":"","app":"files","message":" Backends provided no user object for ","level":3,"time":"2016-03-23T13:15:00+00:00"}
{"reqId":"P4YHGt\/acajjMNTCLjbc","remoteAddr":"","app":"core","message":"Error while running background job (class: OC\\Command\\CommandJob, arguments: O:33:\"OCA\\Files_Versions\\Command\\Expire\":2:{s:43:\"\u0000OCA\\Files_Versions\\Command\\Expire\u0000fileName\";s:60:\"Documenten\/path/to/private/document.extension\";s:39:\"\u0000OCA\\Files_Versions\\Command\\Expire\u0000user\";s:5:\"remko\";}): {\"Exception\":\"OC\\\\User\\\\NoUserException\",\"Message\":\"Backends provided no user object for \",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/files_versions\\\/lib\\\/storage.php(101): OC\\\\Files\\\\Filesystem::initMountPoints(false)\\n#1 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/files_versions\\\/lib\\\/storage.php(681): OCA\\\\Files_Versions\\\\Storage::getUidAndFilename('Documenten\\\/docu...')\\n#2 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/files_versions\\\/command\\\/expire.php(61): OCA\\\\Files_Versions\\\\Storage::expire('Documenten\\\/docu...')\\n#3 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/private\\\/command\\\/commandjob.php(34): OCA\\\\Files_Versions\\\\Command\\\\Expire->handle()\\n#4 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/private\\\/backgroundjob\\\/job.php(52): OC\\\\Command\\\\CommandJob->run('O:33:\\\"OCA\\\\\\\\Files...')\\n#5 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/private\\\/backgroundjob\\\/queuedjob.php(42): OC\\\\BackgroundJob\\\\Job->execute(Object(OC\\\\BackgroundJob\\\\JobList), Object(OC\\\\Log))\\n#6 \\\/usr\\\/local\\\/www\\\/owncloud\\\/cron.php(141): OC\\\\BackgroundJob\\\\QueuedJob->execute(Object(OC\\\\BackgroundJob\\\\JobList), Object(OC\\\\Log))\\n#7 {main}\",\"File\":\"\\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/private\\\/files\\\/filesystem.php\",\"Line\":387}","level":3,"time":"2016-03-23T13:15:00+00:00"}
{"reqId":"P4YHGt\/acajjMNTCLjbc","remoteAddr":"","app":"PHP","message":"Call to a member function getQuota() on null at \/usr\/local\/www\/owncloud\/apps\/files_versions\/lib\/storage.php#691","level":3,"time":"2016-03-23T13:15:00+00:00"}
```
#### Browser log
```
N/a.
```
### Cron log:
```
PHP Fatal error: Call to a member function getQuota() on null in /usr/local/www/owncloud/apps/files_versions/lib/storage.php on line 691
```
Fixed with oC 9.0.2
PHP Fatal error: Call to a member function getUID() on a non-object in apps/dav/appinfo/app.php on line 49
opened 12:33PM - 25 Mar 16 UTC
closed 07:07PM - 09 Apr 16 UTC
Type:Bug
### Steps to reproduce
N/A
### Expected behaviour
No errors with dav
### Actua… l behaviour
Error shows in log every 30 minutes
### Server configuration
**Operating system**:
Ubuntu Server 14.04
**Web server:**
Apache 2.4
**Database:**
MySQL 5.5
**PHP version:**
5.5
**ownCloud version:** (see ownCloud admin page)
9.0
**Updated from an older ownCloud or fresh install:**
Updated from 8.2.2
**Where did you install ownCloud from:**
ownCloud repos
**Signing status (ownCloud 9.0 and above):**
```
No errors have been found.
```
**List of activated apps:**
```
Enabled:
- activity: 2.2.1
- calendar: 1.0
- comments: 0.2
- contacts: 1.0.0.0
- dav: 0.1.5
- documents: 0.12.0
- federatedfilesharing: 0.1.0
- federation: 0.0.4
- files: 1.4.4
- files_pdfviewer: 0.8
- files_sharing: 0.9.1
- files_texteditor: 2.1
- files_trashbin: 0.8.0
- files_versions: 1.2.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- gallery: 14.5.0
- mail: 0.3.0
- notifications: 0.2.3
- provisioning_api: 0.4.1
- systemtags: 0.2
- updatenotification: 0.1.0
Disabled:
- encryption
- external
- files_external
- templateeditor
- user_external
- user_ldap
```
**The content of config/config.php:**
```
{
"system": {
"instanceid": "ocdd06e12069",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"cloud.fsgo.se",
"cloud.fsgo.eu",
"fsgo.se",
"www.fsgo.se"
],
"datadirectory": "\/var\/www\/owncloud\/data",
"overwrite.cli.url": "https:\/\/cloud.fsgo.se\/owncloud",
"dbtype": "mysql",
"version": "9.0.0.19",
"dbname": "owncloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"preview_libreoffice_path": "\/usr\/bin\/libreoffice",
"default_language": "sv",
"allow_user_to_change_display_name": true,
"mail_smtpmode": "smtp",
"mail_smtpauth": 1,
"mail_smtphost": "mail.fsgo.se",
"mail_smtpport": "587",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "admin",
"mail_domain": "fsgo.se",
"forcessl": true,
"mail_smtpsecure": "tls",
"mail_smtpauthtype": "LOGIN",
"theme": "fsgo",
"maintenance": false,
"secret": "***REMOVED SENSITIVE VALUE***",
"forceSSLforSubdomains": true,
"loglevel": 2,
"app.mail.server-side-cache.enabled": true,
"app.mail.imaplog.enabled": true,
"logtimezone": "Europe\/Stockholm",
"memcache.local": "\\OC\\Memcache\\Redis",
"filelocking.enabled": "true",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "\/var\/run\/redis.sock",
"port": 0,
"timeout": 0,
"dbindex": 0
},
"appstore.experimental.enabled": true,
"trashbin_retention_obligation": "30",
"updatechecker": false
}
}
```
**Are you using external storage, if yes which one:** local/smb/sftp/...
no
**Are you using encryption:** yes/no
no
**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...
no
### Client configuration
**Browser:**
Chrome 49
**Operating system:**
Deepin 15 and Windows (tested both)
### Logs
#### Web server error log
```
No error log
```
#### ownCloud log (data/owncloud.log)
```
Error PHP Call to a member function getUID() on null at /var/www/owncloud/apps/dav/appinfo/app.php#49 2016-03-25T12:00:07+00:00
Error PHP Call to a member function getUID() on null at /var/www/owncloud/apps/dav/appinfo/app.php#49 2016-03-25T11:30:07+00:00
Error PHP Call to a member function getUID() on null at /var/www/owncloud/apps/dav/appinfo/app.php#49 2016-03-25T11:00:10+00:00
Error PHP Call to a member function getUID() on null at /var/www/owncloud/apps/dav/appinfo/app.php#49 2016-03-25T10:30:01+00:00
Error PHP Call to a member function getUID() on null at /var/www/owncloud/apps/dav/appinfo/app.php#49 2016-03-25T10:00:02+00:00
Error PHP Call to a member function getUID() on null at /var/www/owncloud/apps/dav/appinfo/app.php#49 2016-03-25T09:30:07+00:00
Error PHP Call to a member function getUID() on null at /var/www/owncloud/apps/dav/appinfo/app.php#49 2016-03-25T09:00:01+00:00
Error PHP Call to a member function getUID() on null at /var/www/owncloud/apps/dav/appinfo/app.php#49 2016-03-25T08:30:02+00:00
Error PHP Call to a member function getUID() on null at /var/www/owncloud/apps/dav/appinfo/app.php#49 2016-03-25T08:15:01+00:00
Error PHP Call to a member function getUID() on null at /var/www/owncloud/apps/dav/appinfo/app.php#49 2016-03-25T07:45:02+00:00
Error PHP Call to a member function getUID() on null at /var/www/owncloud/apps/dav/appinfo/app.php#49 2016-03-25T07:30:01+00:00
Error PHP Call to a member function getUID() on null at /var/www/owncloud/apps/dav/appinfo/app.php#49 2016-03-25T07:00:01+00:00
Error PHP Call to a member function getUID() on null at /var/www/owncloud/apps/dav/appinfo/app.php#49 2016-03-25T06:30:02+00:00
Error PHP Call to a member function getUID() on null at /var/www/owncloud/apps/dav/appinfo/app.php#49 2016-03-25T06:00:02+00:00
```
#### Browser log
```
No error log
```
Fixed with oC 9.0.2
ownCloud might not work with PHP 7.0.6
master
← fix_for_php_7_0_6
opened 10:25AM - 28 Apr 16 UTC
See https://bugs.php.net/bug.php?id=72117
CC: @nickvergessen @PVince81 @LukasRe… schke @DeepDiver1975
Fixed with oC 9.0.2
Changes on external storages might not be detected
Bugreport: Scanner doesn't propagate etags any more when file changed · Issue #24255 · owncloud/core · GitHub
Fixed with oC 9.0.2: triger the propagator from the command line scanner by icewind1991 · Pull Request #24256 · owncloud/core · GitHub
Error while running background job / Session has been closed - no further changes to the session are allowed
opened 12:11AM - 14 Mar 16 UTC
closed 01:57PM - 14 Mar 16 UTC
Type:Bug
sev2-high
feature:activity
### Steps to reproduce
Owncloud 9 doesn't send notification emails
### Expected… behaviour
Cron script should periodically send notification emails
### Actual behaviour
Notification emails are not sent and error on owncloud log is printed by EmailNotification app (see below owncloud error log).
Email configuration is correct (test email from admin page is working)
Problem start after updateing to owncloud 9.0.0
### Server configuration
**Operating system**:
Ubuntu 14.04.4 LTS
**Web server:**
Apache/2.4.18
**Database:**
Mysql 5.7.11
**PHP version:**
5.6.19
**ownCloud version:** (see ownCloud admin page)
OwnCloud 9.0.0 (stable)
**Updated from an older ownCloud or fresh install:**
Update from 8.2.3
**Where did you install ownCloud from:**
https://download.owncloud.org/community/owncloud-9.0.0.zip
**Signing status (ownCloud 9.0 and above):**
```
No errors have been found.
```
**List of activated apps:**
```
Enabled:
- activity: 2.2.1
- comments: 0.2
- dav: 0.1.5
- federatedfilesharing: 0.1.0
- federation: 0.0.4
- files: 1.4.4
- files_pdfviewer: 0.8
- files_sharing: 0.9.1
- files_texteditor: 2.1
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- gallery: 14.5.0
- notifications: 0.2.3
- provisioning_api: 0.4.1
- systemtags: 0.2
- templateeditor: 0.1
- updatenotification: 0.1.0
- user_ldap: 0.8.0
Disabled:
- encryption
- external
- files_external
- files_trashbin
- files_versions
- user_external
```
**The content of config/config.php:**
```
{
"system": {
"instanceid": "512d62f7bd397",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"datadirectory": "\/var\/www\/owncloud_data",
"dbtype": "mysql",
"dbname": "owncloud",
"dbhost": "127.0.0.1",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"activity_expire_days": 7,
"config_is_read_only": false,
"installed": true,
"loglevel": 3,
"maintenance": false,
"theme": "biesse",
"log_type": "owncloud",
"logdateformat": "F d, Y H:i:s",
"logtimezone": "America\/New_York",
"log_query": false,
"log_rotate_size": 10485760,
"trashbin_retention_obligation": 2,
"trashbin_auto_expire": true,
"mail_domain": "biesseamerica.com",
"mail_smtpdebug": false,
"mail_smtpmode": "smtp",
"mail_smtphost": "biesseexcit.biesse.it",
"mail_smtpport": "25",
"mail_smtptimeout": 10,
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": true,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\APCu",
"trusted_domains": [
"owncloud.biesseamerica.com"
],
"version": "9.0.0.19",
"mail_from_address": "it",
"defaultapp": "files",
"knowledgebaseenabled": true,
"allow_user_to_change_display_name": true,
"remember_login_cookie_lifetime": 1296000,
"session_lifetime": 86400,
"appstoreenabled": true,
"appcodechecker": true,
"updatechecker": true,
"has_internet_connection": true,
"check_for_working_webdav": true,
"check_for_working_htaccess": true,
"enable_previews": true,
"preview_max_scale_factor": 10,
"enable_avatars": true,
"filesystem_check_changes": 0,
"secret": "***REMOVED SENSITIVE VALUE***",
"ldapUserCleanupInterval": 51,
"preview_libreoffice_path": "\/usr\/bin\/libreoffice",
"enabledPreviewProviders": [
"OC\\Preview\\Image",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\Illustrator",
"OC\\Preview\\Movie",
"OC\\Preview\\MSOffice2003",
"OC\\Preview\\MSOffice2007",
"OC\\Preview\\MSOfficeDoc",
"OC\\Preview\\OpenDocument",
"OC\\Preview\\PDF",
"OC\\Preview\\Photoshop",
"OC\\Preview\\Postscript",
"OC\\Preview\\StarOffice",
"OC\\Preview\\SVG",
"OC\\Preview\\TIFF"
]
}
}
```
**Are you using external storage, if yes which one:** local/smb/sftp/...
No
**Are you using encryption:** yes/no
No
**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...
LDAP
#### LDAP configuration (delete this part if not used)
```
user_ldap bgjUpdateGroupsLastRun 1386957240
user_ldap cleanUpJobOffset 1850
user_ldap enabled yes
user_ldap enforce_home_folder_naming_rule
user_ldap has_memberof_filter_support 1
user_ldap home_folder_naming_rule
user_ldap installed_version 0.8.0
user_ldap last_jpegPhoto_lookup 0
user_ldap ldap_agent_password ***REMOVED SENSITIVE VALUE***
user_ldap ldap_attributes_for_group_search
user_ldap ldap_attributes_for_user_search
user_ldap ldap_backup_host
user_ldap ldap_backup_port 389
user_ldap ldap_base OU=Biesse Global Network,DC=biesse,DC=it
user_ldap ldap_base_groups OU=Biesse Global Network,DC=biesse,DC=it
user_ldap ldap_base_users OU=Biesse Global Network,DC=biesse,DC=it
user_ldap ldap_cache_ttl 1
user_ldap ldap_configuration_active 1
user_ldap ldap_display_name cn
user_ldap ldap_dn ***REMOVED SENSITIVE VALUE***
user_ldap ldap_dynamic_group_member_url
user_ldap ldap_email_attr mail
user_ldap ldap_experienced_admin 1
user_ldap ldap_expert_username_attr sAMAccountName
user_ldap ldap_expert_uuid_group_attr
user_ldap ldap_expert_uuid_user_attr
user_ldap ldap_group_display_name samaccountname
user_ldap ldap_group_filter (&(|(objectclass=top))(|(cn=CA01 Xtech)))
user_ldap ldap_group_filter_mode 0
user_ldap ldap_group_member_assoc_attribute member
user_ldap ldap_groupfilter_groups CA01 Xtech
user_ldap ldap_groupfilter_objectclass top
user_ldap ldap_host 128.1.50.225
user_ldap ldap_login_filter (&(objectclass=user)(|(samaccountname=%uid)(|(sAMAccountName=%uid))))
user_ldap ldap_login_filter_mode 1
user_ldap ldap_loginfilter_attributes sAMAccountName
user_ldap ldap_loginfilter_email 0
user_ldap ldap_loginfilter_username 1
user_ldap ldap_nested_groups 0
user_ldap ldap_override_main_server 0
user_ldap ldap_paging_size 500
user_ldap ldap_port 389
user_ldap ldap_quota_attr
user_ldap ldap_quota_def
user_ldap ldap_tls 0
user_ldap ldap_turn_off_cert_check 1
user_ldap ldap_user_display_name_2
user_ldap ldap_user_filter_mode 1
user_ldap ldap_userfilter_groups ALL Users Logged
CA01 PC Admins
CA01 Payables List
CA01 Sales
CA01 Sales Intermac Team
CA01 Sales Team
CA01 Salessupport
CA01 Service
CA01 XSalesToronto
CA01 XTechWest
CA01 XTorontoOffice
CA01 XTorontoSales
CA01 Xtech
CA01 XtechMtl
CA01 XtechToronto
CA02...
user_ldap ldap_userfilter_objectclass user
user_ldap ldap_userlist_filter objectclass=user
user_ldap ldap_uuid_attribute objectguid
user_ldap ldap_uuid_group_attribute objectguid
user_ldap ldap_uuid_user_attribute objectguid
user_ldap types authentication
user_ldap use_memberof_to_detect_membership 1
```
#### ownCloud log (data/owncloud.log)
```
{"reqId":"PxzifieNdMNJlQutDN2w","remoteAddr":"","app":"core","message":"Error while running background job (class: OCA\\Activity\\BackgroundJob\\EmailNotification, arguments: ): {\"Exception\":\"Exception\",\"Message\":\"Session has been closed - no further changes to the session are allowed\",\"Code\":0,\"Trace\":\"
#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/session\\\/memory.php(49): OC\\\\Session\\\\Memory->validateSession()\\n
#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/security\\\/csrf\\\/tokenstorage\\\/sessionstorage.php(63): OC\\\\Session\\\\Memory->set('requesttoken', 'vgCuoX6SQzpQ8c+...')\\n
#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/security\\\/csrf\\\/csrftokenmanager.php(57): OC\\\\Security\\\\CSRF\\\\TokenStorage\\\\SessionStorage->setToken('vgCuoX6SQzpQ8c+...')\\n
#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/public\\\/util.php(496): OC\\\\Security\\\\CSRF\\\\CsrfTokenManager->getToken()\\n
#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template.php(75): OCP\\\\Util::callRegister()\\n
#5 \\\/var\\\/www\\\/owncloud\\\/apps\\\/activity\\\/lib\\\/mailqueuehandler.php(250): OC_Template->__construct('activity', 'email.notificat...', '')\\n
#6 \\\/var\\\/www\\\/owncloud\\\/apps\\\/activity\\\/lib\\\/backgroundjob\\\/emailnotification.php(134): OCA\\\\Activity\\\\MailQueueHandler->sendEmailToUser('CA01114', 'Matteo.Ciaschin...', 'en', 'America\\\/New_Yor...', 1457911801)\\n
#7 \\\/var\\\/www\\\/owncloud\\\/apps\\\/activity\\\/lib\\\/backgroundjob\\\/emailnotification.php(94): OCA\\\\Activity\\\\BackgroundJob\\\\EmailNotification->runStep(500, 1457911801)\\n
#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/backgroundjob\\\/job.php(52): OCA\\\\Activity\\\\BackgroundJob\\\\EmailNotification->run(NULL)\\n
#9 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/backgroundjob\\\/timedjob.php(53): OC\\\\BackgroundJob\\\\Job->execute(Object(OC\\\\BackgroundJob\\\\JobList), Object(OC\\\\Log))\\n
#10 \\\/var\\\/www\\\/owncloud\\\/cron.php(141): OC\\\\BackgroundJob\\\\TimedJob->execute(Object(OC\\\\BackgroundJob\\\\JobList), Object(OC\\\\Log))\\n#11 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/session\\\/memory.php\",\"Line\":105}","level":3,"time":"March 13, 2016 23:30:02"}
```
Will be fixed with oC 9.0.1: Do not register CSRF token by LukasReschke · Pull Request #486 · owncloud/activity · GitHub
AutoloadNotAllowedException when files_sharing is disabled
opened 11:26AM - 19 Mar 16 UTC
closed 02:12PM - 22 Mar 16 UTC
bug
core
**OS** CentOS 7 64 bit
**DB** mysql Ver 14.14 Distrib 5.6.29
**Webserver** ngin… x 1.6.3
**PHP** 5.6.19
**Ownloud** 9.0.0
**Plugin** Activity 2.2.1
After a Manual upgrade from OC 8.2.2 to 9.0.0 the Activity pane on all Folders no longer loads. The log error:
{"reqId":"xxx","remoteAddr":"xxx","app":"index","message":"Exception: {\"Exception\":\"OCP\\AutoloadNotAllowedException\",\"Mess age\":\"Autoload path not allowed: \\/var\\/www\\/xxx\\/cloud\\/apps\\/files_sharing\\/lib\\/activity.php\
- I have tried to disable re-enable the app
- Clear the jobs table with DELETE from oc_jobs WHERE `class` LIKE '%CommandJob%' AND `argument` LIKE 'O:33%Files_Versions%'
When I try to view the apps/activity I get the same error, and no results on the page.
Only current solution is to disable the the Activities.
--more info on request.--
Will be fixed with oC 9.0.1: Fix "AutoloadNotAllowedException" when files_sharing is disabled by nickvergessen · Pull Request #23461 · owncloud/core · GitHub
.htaccess file might get rewritten to often causing an integrity check failure
Will be fixed with oC 9.0.1: [stable9] Write .htaccess update only if not already written by LukasReschke · Pull Request #23382 · owncloud/core · GitHub
No files shown in the web interface and many JavaScript errors in the console after fresh ownCloud 9.0.0 installation
opened 02:58PM - 13 Mar 16 UTC
closed 08:44AM - 21 Mar 16 UTC
Type:Bug
3 - To Review
sev2-high
### Steps to reproduce
1. Install ownCloud from zip file
2. Run the Installation… Wizard
3. Log in
### Expected behaviour
I should be able to start using the application and upload my files and directories.
### Actual behaviour
After logging in neither skeleton files nor upload functions are shown in the web interface. I also see many JavaScript errors in the Google Chrome's JavaScript console.

### Server configuration
**Operating system**:
CentOS Linux 7.2.1511 / Linux 3.10.0-229.7.2.el7.x86_64 on x86_64
**Web server:**
Apache 2.4.6
**Database:**
MySQL 5.5.44
**PHP version:**
5.6.5 / rh-php56 2.0-6.el7.centos
**ownCloud version:** (see ownCloud admin page)
ownCloud 9.0.0 (stable)
**Updated from an older ownCloud or fresh install:**
Fresh install
**Where did you install ownCloud from:**
https://download.owncloud.org/community/owncloud-9.0.0.zip
**Signing status (ownCloud 9.0 and above):**
```
No errors have been found.
```
**List of activated apps:**
```
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder
```
**The content of config/config.php:**
```
<?php
$CONFIG = array (
'instanceid' => '<removed>',
'passwordsalt' => '<removed>',
'secret' => '<removed>',
'trusted_domains' =>
array (
0 => '<removed>',
),
'datadirectory' => '/home/test/owncloud_data',
'overwrite.cli.url' => '<removed>',
'dbtype' => 'mysql',
'version' => '9.0.0.19',
'dbname' => '<removed>',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_beta-yllapito',
'dbpassword' => '<removed>',
'logtimezone' => 'UTC',
'installed' => true,
);
```
**Are you using external storage, if yes which one:** local/smb/sftp/...
No
**Are you using encryption:** yes/no
No
**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...
No
### Client configuration
**Browser:**
Google Chrome 48.0.2564.116 m
**Operating system:**
Windows 7
### Logs
#### Web server error log
```
Empty
```
#### ownCloud log (data/owncloud.log)
```
Empty
```
#### Browser log
The javascript console log:
```
GET http://xxxx/owncloud/core/js/oc.js?v=2283f8413653a56b24f06ec30a36f55b
Uncaught ReferenceError: oc_appconfig is not defined
Uncaught TypeError: Cannot read property 'substring' of undefined
Uncaught ReferenceError: oc_isadmin is not defined
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
GET http://xxxx/owncloud/core/js/oc.js?v=2283f8413653a56b24f06ec30a36f55b&_=1457879632794 404 (Not Found)
Uncaught SyntaxError: Unexpected identifier
Uncaught TypeError: Cannot read property 'meta' of undefined
```
Will be fixed with oC 9.0.1: [stable9] Use raw PATH_INFO by LukasReschke · Pull Request #23383 · owncloud/core · GitHub
jpeg or jpg files in Themes might be broken / not working as expected
https://github.com/owncloud/core/pull/23129
“no app in context” and “not found while trying to get owner” error in logfile
Will be fixed with oC 9.0.1: https://github.com/owncloud/core/issues/23343
Changing a shared calendar’s color and name also affects all other users
Will be tackled with oC 9.1: https://github.com/owncloud/core/issues/22176
Calendar group shares are not properly migrated / Calendar shares read only
Will be fixed with oC 9.0.1: https://github.com/owncloud/core/issues/22932
Google Drive external storages broken on PHP 5.4
https://github.com/owncloud/core/issues/22960
Tasks-App is not ready for OC 9.0 yet (best is to wait a few weeks). Work in progress:
https://github.com/owncloud/tasks/pull/291
possible workaround: https://github.com/owncloud/tasks/issues/296
On some systems you might get an Error 404 when opening http://yourhost/owncloud:
https://github.com/owncloud/core/issues/22970
https://forum.owncloud.org/viewtopic.php?f=38&t=34150
Class ‘XMLReader’ not found in Reader.php
https://github.com/owncloud/core/issues/23003
→ Some distros like Gentoo are not compiling the XMLReader which is required by oC
Undefined index: newVersionString
https://github.com/owncloud/core/issues/22917
→ Will be fixed with 9.0.1
Call to undefined method OCA\user_ldap\lib\user\User::setEMailAddress()
https://github.com/owncloud/core/issues/23028
→ Will be fixed with 9.0.1: https://github.com/owncloud/core/pull/22825
Call to a member function getDateTime() on null / on a non-object in /var/www/owncloud/apps/dav/lib/caldav/caldavbackend.php on line 1298
https://github.com/owncloud/core/issues/23020
→ Will be fixed with 9.0.1: https://github.com/owncloud/core/pull/23048
Call to a member function getRequest() on null
https://github.com/owncloud/core/issues/23031
→ Will be fixed with 9.0.1: https://github.com/owncloud/core/pull/23032
→ Reason can be different like seen here: https://github.com/owncloud/core/issues/23031#issuecomment-194331081
This directory is unavailable / The folder is not available: File with id "33084" has not been found.
https://github.com/owncloud/core/pull/23039
Error 33 interacting with memcached : A BAD KEY WAS PROVIDED\/CHARACTERS OUT OF RANGE
https://github.com/owncloud/core/issues/23076
public share with allowed upload and password protection: endlees loading loop
https://github.com/owncloud/core/issues/23066
Trusted domains check might fail
https://github.com/owncloud/core/pull/23125
logtimezone in config.php might not work correctly (causing e.g. fail2ban to fail)
https://github.com/owncloud/core/issues/23134
Solved other issues
When running Apache and PHP there is currently also an issue within the .htaccess shipped by oC. Make sure that you replace:
with
in your .htaccess. Ref: https://github.com/owncloud/core/issues/21146
Encryption no longer working after update from 8.2.2 to 9.0.0
oC 9.0 needs OpenSSL 1.0.1 in its default config.
https://github.com/owncloud/core/issues/23181#issuecomment-195806012
Workaround for ancient distros: https://github.com/owncloud/core/issues/23181#issuecomment-195807192
xmlns:d: ‘DAV:’ is not a valid URI in logfiles
oC 9 needs at least libxml2 in version 2.7.0
https://github.com/owncloud/core/issues/23168