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

9.0.x
help

#1

Blogpost about upgrading: https://owncloud.org/blog/time-to-upgrade-to-owncloud-9-0/

General changes in this release: https://doc.owncloud.org/server/9.0/admin_manual/release_notes.html

Another blogpost how to do a correct upgrade: http://blog.jospoortvliet.com/2016/01/how-to-upgrade-owncloud-dont-skip.html

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 https://doc.owncloud.org/server/9.0/admin_manual/configuration_server/occ_command.html 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
https://github.com/owncloud/calendar#supported-browsers

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:

https://doc.owncloud.org/server/9.0/admin_manual/issues/code_signing.html#fixing-invalid-code-integrity-messages

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:
https://doc.owncloud.org/server/9.0/admin_manual/installation/nginx_owncloud_9x.html?highlight=nginx

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:

https://doc.owncloud.org/server/9.0/admin_manual/maintenance/upgrade.html#manual-upgrade-procedure

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: https://bugs.php.net/bug.php?id=71466

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:

https://doc.owncloud.org/server/9.0/admin_manual/maintenance/manual_upgrade.html

Known Bugs

A list of bugs to fix or features to include for 9.0.5 is available here: https://github.com/owncloud/core/milestones/9.0.5

Doubled folders when receiving shares through two groups


oC 9.0.5 will have the fix: https://github.com/owncloud/core/pull/25113 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: https://github.com/owncloud/core/pull/25105

expected filesize 4734206 got 0 (Don't mix this with expected filesize 4734206 got 458752!!)


Will be fixed with oC 9.0.3: https://github.com/owncloud/core/pull/24691

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: https://github.com/owncloud/core/pull/24956

"Sharing backend for file not found" during update
Bugreport: https://github.com/owncloud/core/issues/23497
Will be fixed with oC 9.0.3: https://github.com/owncloud/core/pull/25187

Updating to 9.0.1 via the updater app is triggering the integrity check warning
Bugreport: https://github.com/owncloud/core/issues/23857
Caused by this bug in updater: https://github.com/owncloud/updater/issues/316
Fixed with oC 9.0.2: https://github.com/owncloud/core/pull/24134

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: https://github.com/owncloud/core/issues/24276
Fixed with oC 9.0.2: https://github.com/owncloud/core/pull/24277

Undefined index: extension at /var/www/owncloud/lib/private/installer.php#272
Bugreport: https://github.com/owncloud/core/issues/24228
Fixed with oC 9.0.2: https://github.com/owncloud/core/pull/24282

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: https://github.com/owncloud/core/issues/24255
Fixed with oC 9.0.2: https://github.com/owncloud/core/pull/24256

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: https://github.com/owncloud/activity/pull/486

AutoloadNotAllowedException when files_sharing is disabled


Will be fixed with oC 9.0.1: https://github.com/owncloud/core/pull/23461

.htaccess file might get rewritten to often causing an integrity check failure
Will be fixed with oC 9.0.1: https://github.com/owncloud/core/pull/23382

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: https://github.com/owncloud/core/pull/23383

jpeg or jpg files in Themes might be broken / not working as expected

"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

Tasks-App is not ready for OC 9.0 yet (best is to wait a few weeks). Work in progress:


possible workaround: https://github.com/owncloud/tasks/issues/296

On some systems you might get an Error 404 when opening http://yourhost/owncloud:


https://forum.owncloud.org/viewtopic.php?f=38&t=34150

Class 'XMLReader' not found in Reader.php


-> Some distros like Gentoo are not compiling the XMLReader which is required by oC

Undefined index: newVersionString


-> Will be fixed with 9.0.1

Call to undefined method OCA\user_ldap\lib\user\User::setEMailAddress()


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


-> Will be fixed with 9.0.1: https://github.com/owncloud/core/pull/23048

Call to a member function getRequest() on null


-> 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.

Error 33 interacting with memcached : A BAD KEY WAS PROVIDED\\/CHARACTERS OUT OF RANGE

public share with allowed upload and password protection: endlees loading loop

Trusted domains check might fail

logtimezone in config.php might not work correctly (causing e.g. fail2ban to fail)

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.


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


#2

#3

#4

#5

#6