Upgrade to oC 8.0.x (known issues)

OC 8.0.8 has been released. Most major bugs are fixed, there remain some restraints for Windows and Webhosting-Users. The existing bugs will be fixed in the next major releases.

Before Upgrade (from OC 7.0.x):
General reminder: Do make a backup (ownCloud Documentation Overview), don’t use the updater app, it is still not suitable for major releases: ownCloud Documentation Overview

OC 8 drops the support of PHP 5.3, make sure you have at least PHP 5.4 (for certain functions PHP 5.5 or higher is necessary: Don't flip image in PHP 5.4 by MorrisJobke · Pull Request #14138 · owncloud/core · GitHub).
Recommended modules: ownCloud Documentation Overview

Windows is not supported in OC 8.0.x and OC 8.1 won’t work on Windows platforms: Important: Windows support is/will be dropped. It’s probably the best to stay with OC 7.0.x until its end of life.

Hosted environments: There are two nasty problems with mysql which can’t be solved without access to the mysql-configuration. This is typically the case for hosted environment, be careful.

Encryption: There are some major changes to the key-storage. Previous problems with migration time have been solved (Problem with upgrading files_encryption from OC 7 => OC 8 · Issue #14012 · owncloud/core · GitHub). After the upgrade, you must migrate manually your encryption keys with:

sudo -u www-data php occ encryption:migrate-keys

(www-data is the webserver user in debian/ubuntu, apache in CentOS, …)

Apps during upgrades: ownCloud 8 was refactored and apps like contacts and calendar are now handled same as 3rd party apps. They are not part of install package anymore. By default, these apps are disabled during updates. They can be enabled in apps menu after. They will be downloaded and installed in the background. As a benefit these apps can be updated independent to the core of ownCloud.
In case, some apps weren’t properly diabled and you don’t have access to the web-interface, you can disable them manually:

sudo -u www-data php occ app:disable app_name

Or directly on the database: ownCloud Central
Disable 3rdparty apps during upgrade to avoid broken installs · Issue #14026 · owncloud/core · GitHub

Release notes: ownCloud Documentation Overview

Undo Upgrade: You did a backup, right?

Specific Problems

Empty page after upgrade: Some apps weren’t deactivated (should be done without user interaction). How to diable apps manually is described on top of the page.

App: App does not provide an info.xml file
There is a intermediate certificate missing, solution: ownCloud Central

MySQL/MariaDB: impossible to write to binary log since BINLOG_FORMAT = STATEMENT
You can either revert to OC 8.0.2, or set “binlog_format=MIXED” in your database config. It’s a relative new report, so check the issue directly on the bugtracker:

workaround:

MySQL-error on shared hosting environments:
typical message in your logfile: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
Problem: MySQL-server closes connection. If use your own server, you can fix this yourself with increased timeouts of your MySQL server. The problem has been reported by users on shared hosting environments where they can’t change the mysql-settings.
e.g. ownCloud Central
ownCloud Central
ownCloud Central
ownCloud Central
If you have a very friendly hoster they might change their MySQL settings.
Bug has been reported:
Small wait timeout of MySQL kills many file operations - General error: 2006 MySQL server has gone away · Issue #15407 · owncloud/core · GitHub
(fix scheduled for OC 9.0)

Calendar/Contacts disappeared: You can activate these app on the app-management page. It should update automatically the app when you haven’t disabled the app-store in the config/config.php. You can as well download and install these apps manually from the store.

Windows/IIS:
unlink(C:\path.…\files-trashbin.…\somefile): Permission denied at C:\path\to\owncloud\lib\private\files\storage\mappedlocal.php#270
You can solve it by disabling the File Locking App (ownCloud Central)
Permissions Denied in MappedLocal.php · Issue #14513 · owncloud/core · GitHub
(Windows support officially dropped for OC 8: ownCloud Central)

Fail2Ban: The failed login-messages have changed a little bit, you will probably have to adapt your Fail2Ban-Rules: ownCloud Central

OPCache: PHP problems with OPCache were reported: OwnCloud 7 database update causing crashes in PHP (running on Fedora 20) · Issue #9885 · owncloud/core · GitHub
Fix: add function to invalidate one opcache file, use it if possible #9885 by AdamWill · Pull Request #11056 · owncloud/core · GitHub (in OC 8.1)

Bookmark-App: Bookmarklet seems to be broken (adding tags, descriptions, length of links): https://github.com/owncloud/bookmarks/issues/127
If you download the latest release from github, it should be solved. It has not been pushed to the appstore yet.

Corrupt ZIP-file download on OS X (client): If you download a folder or several files as a ZIP archive, these archives can’t be opened with the OS X-unzipper.
Workaround: Install other unzipper (e.g. Free Unarchiver utility: Problems with Zip Files after upgrade to 7.0.0 · Issue #10001 · owncloud/core · GitHub)
Solution expected for OC 8.2 (&backport to OC 8.1): Problems with Zip Files after upgrade to 7.0.0 · Issue #10001 · owncloud/core · GitHub

Further reading:
What is new for OC 8-admins: ownCloud Documentation Overview
Release Notes: ownCloud Documentation Overview

Solved Problems (in OC 8.0.8 or higher)

Gallery-App: Gallery-App keeps loading, Logfiles: [error] [client xxx.xxx.xxx.xx] request failed: URI too long (longer than 8190).

Bug already reported:

Follow up: New version in developement, feedback and testing is asked: ownCloud Central
Gallery is no longer maintained, consider switching to Gallery+ (Tweaks for fewer preview sizes and device rotation. by setnes · Pull Request #159 · owncloud/gallery · GitHub)

MariaDB 10: There is an error reported on the upgrade of your database. You can avoid this error by omitting the migration test. You really must have a manual backup :!:

sudo -u www-data php /var/www/owncloud/occ upgrade --skip-migration-test

Fix: [Stable8] Update doctrine/dbal to 251 by VicDeo · Pull Request #14515 · owncloud/core · GitHub (will be in OC 8.0.1)

CardDAV/CalDAV/*DAV: The Sync via CardDAV/CalDAV-Links might be broken in some cases (nginx-webserver):

Solution: Username via *DAV-interface is case-sensitive (in contrast to the webinterface), e.g. User1 != user1 (ownCloud Central).
With ldap: fix: DAV authentication: use Owncloud's internal user instead of HTTP auth one by chris-se · Pull Request #14275 · owncloud/core · GitHub
(in 8.0.2)

Cron.php can create huge server load and produce enormous logfiles: OC8 cron.php creates massive Server-Load · Issue #14087 · owncloud/core · GitHub (hotfix: OC 8 RC2: Log flooded with php messages: readdir() expects parameter 1 to be resource, boolean · Issue #13953 · owncloud/core · GitHub, if this doesn’t work: ownCloud Central.
(in OC 8.0.2)

Gallery-App (2): Gallery-App keeps spinning (Switch to PhotoSwipe for the slideshow · Issue #158 · owncloud/gallery · GitHub), problem with PHP 5.4, there is a fix to make it compatible with PHP 5.4: Check if imageflip is available by MorrisJobke · Pull Request #14258 · owncloud/core · GitHub
will be fixed in OC 8.0.1

Gallery-App (3): Shared gallery-links are broken (Slideshow: should the browser back button behave the same as the X icon? [$5] · Issue #160 · owncloud/gallery · GitHub), fix is available: Fix public sharing · owncloud/gallery@b153b5b · GitHub and will be in the next OC release (OC 8.0.1)

Ubuntu 14.04 + Cache (APCU): Apache freezes after some time (2h).
The current APCu-package 4.0.2 of Ubuntu 14.04 is known to have some bugs, but you can replace it with a more recent version: Owncloud stops working · Issue #14175 · owncloud/core · GitHub
There is a fix which disables buggy APCu versions: Use APCu only if available in version 4.0.6 and higher by LukasReschke · Pull Request #14273 · owncloud/core · GitHub

Debian + SQLite: SQLSTATE[23000]: Integrity constraint violation: 19 oc_share_external.remote_id may not be NULL: Upgrade 7.4 --> 8.0: SQLSTATE[23000]: Integrity constraint violation: 19 oc_share_external.remote_id may not be NULL · Issue #13970 · owncloud/core · GitHub
Fix: https://github.com/owncloud/core/pull/14533 (will be in 8.0.1)

Encryption: The encryption keys are rewritten. This process can take some time and you risk to run into timeout if you have a lot of files. Use the upgrade command in the terminal if possible:

sudo -u www-data php /var/www/owncloud/occ upgrade

https://github.com/owncloud/core/issues/14012
Performance fix announced for OC 8.0.3.

Gallery-App, II: Spinning wheel, Error message: imagepng() expects parameter 1 to be resource, boolean given at …
Fix: https://github.com/owncloud/core/pull/14917 (will be in OC 8.0.3)

Debian (/Ubuntu) packages: Error while running update to OC 8.0.3:

Unpacking replacement owncloud-server ... dpkg: error processing /var/cache/apt/archives/owncloud-server_8.0.3-1_all.deb (--unpack): trying to overwrite '/var/www/owncloud/.htaccess', which is also in package owncloud-config-apache 8.0.2-8 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
You can force the update (apt-get -f upgrade) or change manually the dependencies (dpkg -r --force-depends “owncloud-config-apache”).
https://github.com/owncloud/core/issues/16007
(to be fixed in OC 8.0.4)

Big logfile/Virus-Warning (Virus warning for lib/private/tempmanager.php especially for all-inkl-costomers): (also see topic before) should be fixed by the mentioned hotfix. Or you can apply this: ownCloud Central, https://forum.owncloud.org/viewtopic.php?f=21&t=26396#p79370 (more details but in German), OC8 cron.php creates massive Server-Load · Issue #14087 · owncloud/core · GitHub
There is a fix (working with all-inkl.com??): https://github.com/owncloud/core/commit/45e3cbefc9e069d5c904ed8961504551a51ce735
Should be solved here: https://github.com/owncloud/core/pull/13983 (8.0.2)