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

Ask all your questions regarding OC 8.2 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/
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

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

Postby RealRancor » Sat Oct 31, 2015 11:12 am

Blogpost about upgrading: https://owncloud.org/blog/upgrading-to- ... erver-8-2/

General changes in this release: https://doc.owncloud.org/server/8.2/adm ... notes.html

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

Please read those links carefully!!!

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/8.2/adm ... -procedure

Updates between multiple major versions and downgrades are unsupported.

Please see: viewtopic.php?f=17&t=32087

Known Bugs

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

Massive increase in MySQL-load: https://github.com/owncloud/core/issues/24651
fix will be included in 8.2.6: https://github.com/owncloud/core/pull/24841

Files locked: "server replied: Locked" or "Exception: <filename> is locked"
-> Was fixed with 8.2.2
-> If this still happens with existing files a manual cleanup of the locking table is needed
--> See https://github.com/owncloud/core/issues/21360 for more details

Known Issues with PHP 7

You need at least oC 8.2.3 for full PHP 7 compatibility. With PHP 7.0.6 there is small issue that will be fixed in OC 8.2.4:
until this new release, you can apply this patch manually: https://github.com/owncloud/core/pull/24344

When running Apache and PHP there is currently also an issue within the .htaccess shipped by oC. Make sure that you replace:

<IfModule mod_php5.c>


<IfModule mod_php7.c>

in your .htaccess. Ref: https://github.com/owncloud/core/issues/21146

Fixed Bugs

Shared folder (by link) doesn't display all files
-> Was partly fixed in 8.2.1 but happens again for two reasons:
--> PDF Viewer App might cause this
---> Report: https://github.com/owncloud/core/issues/21373
--> Internet Explorer (IE) still doesn't show all files
--->Report: https://github.com/owncloud/core/issues/21203
-> Fix for both issues is included in 8.2.3: https://github.com/owncloud/files_pdfviewer/pull/92

E-Mail notifications not sent out
-> Might be caused by a deleted background job.
--> A possible workaround was posted here: https://github.com/owncloud/core/issues ... -166311215
--> The issue is also fixed with oC 8.2.3 and the update should re-add the background job automatically.

Updater is failing with "Unable to move /var/www/owncloud/_oc-upgrade/ to /var/www/owncloud/resources
Workaround: https://github.com/owncloud/updater/pull/192/files
-> Was fixed with oC 8.2.2. If you have a oC version prior to 8.2.2 you need to manually apply the fix of the workaround above.

Unable to generate a URL for the named route "xyz" as such route does not exist.
Report: https://github.com/owncloud/core/issues/19145
Workaround: https://github.com/owncloud/core/pull/20788
-> Was fixed with oC 8.2.2 / 8.1.5

Cannot share at all when share with link is disabled globally
Report: https://github.com/owncloud/core/issues/20642
Workaround: Enable "Share by link" or apply https://github.com/owncloud/core/pull/21012 manually
-> Was fixed with oC 8.2.2

overwritewebroot config setting is broken which is needed for SSL-Proxies
-> Was fixed with oC 8.2.1

Base table or view not found: 1146 Table 'owncloud.file_locks' doesn't exist'
Workaround: https://github.com/owncloud/core/issues ... -151804321
-> Was fixed with oC 8.2.1

Public / anonymous uploads via shared link stopped to work
-> Was fixed with oC 8.2.1

Shared folder (by link) doesn't display all files
-> Was fixed with oC 8.2.1
Workaround: https://github.com/owncloud/core/commit ... e5ac919ed0

Performance issues since 8.2.0
-> Was fixed with 8.2.1
-> Current Workaround: Use redis for transactional file locking (See documentation)

Google drive mounted folder expires after some days
-> Was fixed with 8.2.1

There are various incompatibilities with PHP7 known. Especially the shipped SabreDAV library 2.x in oC 8.2 is not compatible with PHP7. More resources:

https://github.com/owncloud/core/issues/21461 -> WebDAV issue
https://github.com/owncloud/core/issues/21309 -> Calendar/Contacts issue
https://github.com/owncloud/core/issues/21095 -> APCu issue (stripped page)

Until oC 9.0.0 or 8.2.3 is released which ships PHP7 compatible versions of SabreDAV it is recommended to stay at PHP 5.x.
Last edited by RealRancor on Fri Jan 22, 2016 2:45 pm, edited 15 times in total.

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.2.x (known issues and faq)

Postby tflidd » Sat Nov 21, 2015 1:17 am

Please only post known issues here (must be confirmed on github).

DO NOT post your individual problem during the update/upgrade process. Open a separate topic for that.

Posts: 15
Joined: Tue Feb 23, 2016 12:09 pm
ownCloud version: 8.1.5
Webserver: Apache
Database: MySQL
OS: Linux

Re: ownCloud 8.2.x (known issues, faq and upgrade problems)

Postby marsden_pete » Tue Feb 23, 2016 1:54 pm

When upgrading to 8.2.2 you may get the error

Here is your backup: /var/derwentcloud/data/updater_backup/
Update failed.Unable to move /var/www/html/_oc-upgrade/ to /var/www/html/resources

This is a known issue

viewtopic.php?f=36&t=31252 under “Fixed Bugs”
This is a user guide of how I resolved the issue; I am very new to Linux and OwnCloud so hopefully these steps will help people. I used SecureCRT to communicate with the server. All commands are in bold. Please take a backup of the server before running these steps.

I first had to locate the core.php file as mentioned in the bug fix.
https://github.com/owncloud/updater/pul ... diff=split

To do this I ran from the root directory
find –name “core.php”

from this I could see the file was located in

Run the following commands
cd /var/www/html/apps/updater/lib/location/ - (change to the folder where core.php is located)
ls –l (list permissions on files)
sudo chmod 777 /var/www/html/apps/updater/lib/location/core.php - (changed the permissions to rwxrwxrwx)
nano core.php - (opens a text editor to edit the file)

change the line
$list = $fullList[‘8.1];
$list = $fullList[‘8.2];
Overwrite the file and exit – I went back in to just double check the file had saved.

sudo chmod 644 /var/www/html/apps/updater/lib/location/core.php -(change the file permissions back to the previous permissions)

Run the upgrade from the OwnCloud Admin page.

Good Luck and i hope this helps and saves people a couple of hours

  • Similar Topics
    Last post

Return to “ownCloud Server 8.2”

Who is online

Users browsing this forum: No registered users and 1 guest