ownCloud 9.0.x (known issues, faq and upgrade problems)

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

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:

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:

Known Issues with PHP 7

PHP 7.0.6+ needs ownCloud 9.0.2+

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:

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

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

Fixed in oC 9.0.3

“Your data directory and your files are probably accessible from the Internet” since oC 9.0.3

Fixed in oC 9.0.4 and 9.1.0

User admin page fails to load properly after upgrade to oc 9.0.2

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!!)

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:

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

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

Fixed with oC 9.0.2

ownCloud might not work with PHP 7.0.6

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

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

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

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