Upgrade to OC 8.0.x (known issues)

Ask all your questions regarding OC 8.0 and 8.1 Please read the Support Forum Rules
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
tflidd
Forum Moderator
Posts: 7159
Joined: Sat Dec 07, 2013 7:27 pm
ownCloud version: 8.2.3
Webserver: Apache
Database: MySQL
OS: Linux

Upgrade to OC 8.0.x (known issues)

Postby tflidd » Tue Feb 10, 2015 12:11 pm

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 (http://doc.owncloud.org/server/8.0/admi ... ackup.html), don't use the updater app, it is still not suitable for major releases: http://doc.owncloud.org/server/8.0/admi ... pdate.html

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: https://github.com/owncloud/core/pull/14138).
Recommended modules: http://doc.owncloud.org/server/8.0/admi ... requisites

Windows is not supported in OC 8.0.x and OC 8.1 won't work on Windows platforms: viewtopic.php?f=31&t=27449. 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 (https://github.com/owncloud/core/issues/14012). After the upgrade, you must migrate manually your encryption keys with:

Code: Select all

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:

Code: Select all

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

http://doc.owncloud.org/server/8.0/admi ... mmand.html
Or directly on the database: viewtopic.php?f=17&t=7241
https://github.com/owncloud/core/issues/14026

Release notes: http://doc.owncloud.org/server/8.0/admi ... notes.html

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: viewtopic.php?f=31&t=26310&start=30#p85771

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:
https://github.com/owncloud/core/issues/16008
workaround:
https://doc.owncloud.org/server/8.0/adm ... leshooting

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. viewtopic.php?f=31&t=27701
viewtopic.php?t=26712&p=84126
viewtopic.php?f=31&t=27247&p=84480
viewtopic.php?f=21&t=26253&p=84675
If you have a very friendly hoster they might change their MySQL settings.
Bug has been reported:
https://github.com/owncloud/core/issues/15407
(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.
https://github.com/owncloud/core/issues/14033

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 (viewtopic.php?f=31&t=26421&start=10#p80666)
https://github.com/owncloud/core/issues ... t-76173623
(Windows support officially dropped for OC 8: viewtopic.php?f=31&t=27449)

Fail2Ban: The failed login-messages have changed a little bit, you will probably have to adapt your Fail2Ban-Rules: viewtopic.php?f=31&t=26336

OPCache: PHP problems with OPCache were reported: https://github.com/owncloud/core/issues/9885
Fix: https://github.com/owncloud/core/pull/11056 (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: https://github.com/owncloud/core/issues ... t-55269149)
Solution expected for OC 8.2 (&backport to OC 8.1): https://github.com/owncloud/core/issues/10001

Further reading:
What is new for OC 8-admins: http://doc.owncloud.org/server/8.0/admi ... admin.html
Release Notes: http://doc.owncloud.org/server/8.0/admi ... notes.html

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).
viewtopic.php?f=31&t=26323
Bug already reported:
https://github.com/owncloud/gallery/issues/159
Follow up: New version in developement, feedback and testing is asked: viewtopic.php?f=31&t=26379
Gallery is no longer maintained, consider switching to Gallery+ (https://github.com/owncloud/gallery/iss ... t-87690448)

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

Code: Select all

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

https://github.com/owncloud/core/issues/14003
Fix: https://github.com/owncloud/core/pull/14515 (will be in OC 8.0.1)

CardDAV/CalDAV/*DAV: The Sync via CardDAV/CalDAV-Links might be broken in some cases (nginx-webserver):
https://github.com/owncloud/core/issues/14048
https://github.com/owncloud/core/issues/14104
Solution: Username via *DAV-interface is case-sensitive (in contrast to the webinterface), e.g. User1 != user1 (viewtopic.php?f=31&t=26280).
With ldap: fix: https://github.com/owncloud/core/pull/14275
(in 8.0.2)

Cron.php can create huge server load and produce enormous logfiles: https://github.com/owncloud/core/issues/14087 (hotfix: https://github.com/owncloud/core/issues ... t-73430406, if this doesn't work: viewtopic.php?f=31&t=26310&start=10#p80272.
(in OC 8.0.2)

Gallery-App (2): Gallery-App keeps spinning (https://github.com/owncloud/gallery/issues/158), problem with PHP 5.4, there is a fix to make it compatible with PHP 5.4: https://github.com/owncloud/core/pull/14258
will be fixed in OC 8.0.1

Gallery-App (3): Shared gallery-links are broken (https://github.com/owncloud/gallery/issues/160), fix is available: https://github.com/owncloud/gallery/com ... 5b6c3bc58a 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: https://github.com/owncloud/core/issues ... t-74573088
There is a fix which disables buggy APCu versions: https://github.com/owncloud/core/pull/14273

Debian + SQLite: SQLSTATE[23000]: Integrity constraint violation: 19 oc_share_external.remote_id may not be NULL: https://github.com/owncloud/core/issues/13970
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:

Code: Select all

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:

Code: Select all

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: viewtopic.php?f=31&t=26310&start=10#p80272, viewtopic.php?f=21&t=26396#p79370 (more details but in German), https://github.com/owncloud/core/issues/14087
There is a fix (working with all-inkl.com??): https://github.com/owncloud/core/commit ... 51a51ce735
Should be solved here: https://github.com/owncloud/core/pull/13983 (8.0.2)
Last edited by tflidd on Sun Oct 18, 2015 2:47 pm, edited 39 times in total.
Reason: Put more information for OC 8.0.8 release.

ikke
Newbie
Posts: 3
Joined: Fri Jul 13, 2012 7:19 am

Re: Upgrade to OC 8 (known issues)

Postby ikke » Wed Feb 11, 2015 9:27 pm

There is also a new requirement for php modules. You need to install php5-hash, otherwise you get blank page and this in the log:

[error] 5893#0: *203755 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function RandomLib\Source\hash() in /mnt/owncloud5/owncloud/3rdparty/ircmaxell/random-lib/lib/RandomLib/Source/MicroTime.php on line 72

cvanelli
Newbie
Posts: 7
Joined: Mon Feb 02, 2015 6:09 pm
Webserver: Apache
Database: MySQL
OS: Linux

Re: Upgrade to OC 8 (known issues)

Postby cvanelli » Wed Feb 11, 2015 11:09 pm

If the repo has the correct version, is it still required to disable all 3rd party apps? This is NOT how it is presented in the admin documentation.

Thanks for this,

Chris
Environment: Linux Mint 13 Maya
Server: Apache2
Database: Mysql
Client: Web client
OC-Version: 7.0.4
PHP-Version: 5.4.37-1+deb.sury.org~precise+1 (from phpinfo.php page)

tflidd
Forum Moderator
Posts: 7159
Joined: Sat Dec 07, 2013 7:27 pm
ownCloud version: 8.2.3
Webserver: Apache
Database: MySQL
OS: Linux

Re: Upgrade to OC 8 (known issues)

Postby tflidd » Thu Feb 12, 2015 1:01 am

cvanelli wrote:If the repo has the correct version, is it still required to disable all 3rd party apps? This is NOT how it is presented in the admin documentation.

Thanks for this,

Chris

Yes, you have to disable them. The documentation is not very clear, I opened an issue on github: https://github.com/owncloud/documentation/issues/839

User avatar
interfaSys
Starter
Posts: 82
Joined: Mon Dec 03, 2012 9:53 pm
ownCloud version: 8.1.1
Webserver: Apache
Database: MySQL
PHP version: 5.5
Location: Switzerland and UK
Contact:

Re: Upgrade to OC 8 (known issues)

Postby interfaSys » Thu Feb 12, 2015 4:58 am

oC 8.0.0 currently requires PHP 5.5 until 8.0.1 comes out.
https://github.com/owncloud/core/issues/14130

This particularly affects instances which store photos and will kill apps such as the gallery app.
Cheers,

Olivier
Consultant @ interfaSys
Maintainer of Gallery+ https://apps.owncloud.com/content/show.php?content=169116

rakekniven
Inventory
Posts: 2019
Joined: Sun May 06, 2012 3:31 pm
ownCloud version: 9.0.1
Webserver: Apache
Database: MySQL
OS: Linux Hosting Package
PHP version: 5.6.x
Contact:

Re: Upgrade to OC 8 (known issues)

Postby rakekniven » Thu Feb 12, 2015 11:28 am

Nice work, guys!
Should help many users while upgrading.
Thumbs up.
ownCloud is not only about files. There is so much more. Explore the apps to extend your ownCloud.

USS Lady Anne
Beginner
Posts: 19
Joined: Fri Sep 26, 2014 5:00 pm
ownCloud version: 7.0.2
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.6.0

Re: Upgrade to OC 8 (known issues)

Postby USS Lady Anne » Fri Feb 13, 2015 3:45 am

Perhaps might be worth adding this information in? I spent half a day working this out!

tflidd
Forum Moderator
Posts: 7159
Joined: Sat Dec 07, 2013 7:27 pm
ownCloud version: 8.2.3
Webserver: Apache
Database: MySQL
OS: Linux

Re: Upgrade to OC 8 (known issues)

Postby tflidd » Fri Feb 13, 2015 9:13 am

USS Lady Anne wrote:Perhaps might be worth adding this information in? I spent half a day working this out!

Thank you for this update, I put it on the list.

ownclouder8
Beginner
Posts: 19
Joined: Fri Feb 13, 2015 11:01 pm

Re: Upgrade to OC 8 (known issues)

Postby ownclouder8 » Sun Feb 15, 2015 9:24 pm

The permissions calculations and lack of maintenance corrections errors carried over form OC7 when sharing folders to users with full or partial permissions to edit and create (and delete):

MySQL tables: oc_permissions; and, oc_share
Related in part to this: https://github.com/owncloud/core/issues/12161

But not repaired in OC 8.0.0

If there was better documentation of the database in MySQL I could manually fix this with confidence.

tflidd
Forum Moderator
Posts: 7159
Joined: Sat Dec 07, 2013 7:27 pm
ownCloud version: 8.2.3
Webserver: Apache
Database: MySQL
OS: Linux

Re: Upgrade to OC 8 (known issues)

Postby tflidd » Sun Feb 15, 2015 11:24 pm

Should be repaired in OC 8.0, is it already known to the developers that it is still not working?

edit: I can't find a way to delete read-only-shared files. I can un-do the sharing but I can't delete the files for the owner. If you can still do this, please open a new issue on github.com/owncloud/core


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Server 8.0 and 8.1”

Who is online

Users browsing this forum: No registered users and 2 guests