Blogpost about upgrading: https://owncloud.org/blog/upgrading-to-owncloud-server-8-2/
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!!!
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: ownCloud Central
Known Bugs
A list of bugs to fix or features to include for 8.2.6 is available here: Issues · owncloud/core · GitHub
Massive increase in MySQL-load: Massive increase in MySQL load after upg from 8.2.3 to 8.2.5 · Issue #24651 · owncloud/core · GitHub
fix will be included in 8.2.6: [8.2] cache isLocal for shared storage by icewind1991 · Pull Request #24841 · owncloud/core · GitHub
Files locked: “server replied: Locked” or “Exception: 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 File that were locked cannot still be synced with 8.2.2 · Issue #21360 · owncloud/core · GitHub 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: [Stable 8.2] Make ownCloud work again in php 7.0.6 by rullzer · Pull Request #24344 · owncloud/core · GitHub
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: Mod_php7.c reference missing in .htaccess · Issue #21146 · owncloud/core · GitHub
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: Shared folders don't show all files in a directory when pdfviewer 0.7 is active · Issue #21373 · owncloud/core · GitHub
→ Internet Explorer (IE) still doesn’t show all files
—>Report: Shared folder doesn't display all files · Issue #21203 · owncloud/core · GitHub
→ Fix for both issues is included in 8.2.3: Backport of #91 - Fix regression introduced by 72069f4 by Henni · Pull Request #92 · owncloud/files_pdfviewer · GitHub
Fixes pagination in IE by MorrisJobke · Pull Request #22548 · owncloud/core · GitHub
E-Mail notifications not sent out
→ Might be caused by a deleted background job.
→ A possible workaround was posted here: No email notification · Issue #20962 · owncloud/core · GitHub
→ 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/8.2.1.4/core/resources to /var/www/owncloud/resources
Workaround: [Stable8.2] Use 8.2 by VicDeo · Pull Request #192 · owncloud/updater · GitHub
→ 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: Upgrade to 8.1.3 fails with URL route error · Issue #19145 · owncloud/core · GitHub
Workaround: Dont die when we're missing a route by icewind1991 · Pull Request #20788 · owncloud/core · GitHub
→ Was fixed with oC 8.2.2 / 8.1.5
Cannot share at all when share with link is disabled globally
Report: Cannot share at all when share with link is disabled globally · Issue #20642 · owncloud/core · GitHub
Workaround: Enable “Share by link” or apply [stable8.2] Fix duplicate bogus share field when link sharing is not allowed by PVince81 · Pull Request #21012 · owncloud/core · GitHub manually
→ Was fixed with oC 8.2.2
overwritewebroot config setting is broken which is needed for SSL-Proxies
opened 03:48PM - 20 Oct 15 UTC
closed 06:44PM - 21 Oct 15 UTC
Type:Bug
Hello,
"overwritewebroot" configuration has no effect in 8.2.0.12
The problem … seems to be here : https://github.com/owncloud/core/blob/master/lib/base.php#L136
Thanks !
→ Was fixed with oC 8.2.1
Base table or view not found: 1146 Table ‘owncloud.file_locks’ doesn’t exist’
Workaround: Upgrade 8.1->8.2 fails with: Table 'owncloud.oc_file_locks' doesn't exist · Issue #20111 · owncloud/core · GitHub
→ Was fixed with oC 8.2.1
Public / anonymous uploads via shared link stopped to work
opened 08:47AM - 21 Oct 15 UTC
closed 08:41AM - 22 Oct 15 UTC
Type:Bug
3 - To Review
feature:sharing
regression
sev1-critical
### Steps to reproduce
1. share a folder by link with upload permission
2. try t… o upload a file to this link share
### Expected behaviour
file should be uploaded
### Actual behaviour
file isn't uploaded
JS Error: TypeError: OCA.Files.App is undefined - file-upload.js:185:7
### Server configuration
Fresh VM Image: http://download.owncloud.org/community/production/vm/xUbuntu_14.04-owncloud-8.2.0-2.1-201510201921.vmx.zip
→ Was fixed with oC 8.2.1
Shared folder (by link) doesn’t display all files
opened 09:52AM - 20 Oct 15 UTC
closed 03:50PM - 20 Oct 15 UTC
Type:Bug
app:files
feature:sharing
regression
Tested with v8.2.0 (git tag)
1. create a folder
2. upload 30 files (need to be m… ore than 20 in my case)
3. share folder as link
4. open the link
Expected behavior:
file list should show all 30 files
Actual behavior:
file list shows only the first 20 files
cc @PVince81
→ Was fixed with oC 8.2.1
Workaround: fix pagination on public file list · owncloud/core@480a005 · GitHub
Performance issues since 8.2.0
opened 10:16AM - 20 Oct 15 UTC
closed 09:27AM - 04 Nov 15 UTC
Type:Bug
performance
regression
feature:locking
This makes some stuff _really_ cumbersome to use, just a decent example:


Profile is at https://blackfire.io/profiles/f1d6349f-4ab3-4190-beab-ccbd59527844/graph
Ref https://github.com/owncloud/core/issues/10077#issuecomment-149499679
→ Was fixed with 8.2.1
→ Current Workaround: Use redis for transactional file locking (See documentation)
Google drive mounted folder expires after some days
opened 07:27AM - 21 Apr 15 UTC
closed 12:04PM - 09 Nov 15 UTC
Type:Bug
3 - To Review
app:files_external
discussion
### Steps to reproduce
1. Mount a google drive folder using a google account and… giving access to it on google console.
2. While working correctly, upload some files.
3. Wait a few days.
4. Try to access again the google drive folder.
### Expected behaviour
You can still access your google drive folder.
### Actual behaviour
An unknown error happens, and in admin page the connection to google drive is marked red as disconnected.
### Server configuration
**Operating system**:
Ubuntu 14.04 LTS
**Web server:**
Apache
**Database:**
MySQL
**PHP version:**
5.5.9
**ownCloud version:** (see ownCloud admin page)
{"installed":true,"maintenance":false,"version":"8.0.3.0","versionstring":"8.0.3 RC1","edition":"Enterprise"}
**Updated from an older ownCloud or fresh install:**
Fresh
**List of activated apps:**
Default in enterprise version plus:
External Storage.
**The content of config/config.php:**
```
```
**Are you using external storage, if yes which one:** local/smb/sftp/...
Yes, google drive.
**Are you using encryption:**
No.
**Logs**
```
Fatal remote The OAuth 2.0 access token has expired, and a refresh token is not available. Refresh tokens are not returned for responses that were auto-approved. 2015-04-21T07:03:13+00:00
Fatal files_external Exception: {"Message":"The OAuth 2.0 access token has expired, and a refresh token is not available. Refresh tokens are not returned for responses that were auto-approved.","Code":0,"Trace":"#0 \/opt\/owncloud\/apps\/files_external\/3rdparty\/google-api-php-client\/src\/Google\/Service\/Resource.php(176): Google_Auth_OAuth2->sign(Object(Google_Http_Request))\n#1 \/opt\/owncloud\/apps\/files_external\/3rdparty\/google-api-php-client\/src\/Google\/Service\/Drive.php(1283): Google_Service_Resource->call('get', Array, 'Google_Service_...')\n#2 \/opt\/owncloud\/apps\/files_external\/lib\/google.php(510): Google_Service_Drive_About_Resource->get()\n#3 \/opt\/owncloud\/apps\/files_external\/lib\/google.php(547): OC\\Files\\Storage\\Google->free_space('')\n#4 \/opt\/owncloud\/apps\/files_external\/lib\/config.php(457): OC\\Files\\Storage\\Google->test(false)\n#5 \/opt\/owncloud\/apps\/files_external\/lib\/config.php(392): OC_Mount_Config::getBackendStatus('\\OC\\Files\\Stora...', Array, false)\n#6 \/opt\/owncloud\/apps\/files_external\/settings.php(47): OC_Mount_Config::getSystemMountPoints()\n#7 \/opt\/owncloud\/lib\/private\/app.php(720): include('\/opt\/owncloud\/a...')\n#8 \/opt\/owncloud\/settings\/admin.php(93): OC_App::getForms('admin')\n#9 \/opt\/owncloud\/lib\/private\/route\/route.php(135) : runtime-created function(1): require_once('\/opt\/owncloud\/s...')\n#10 [internal function]: __lambda_func(Array)\n#11 \/opt\/owncloud\/lib\/private\/route\/router.php(250): call_user_func('?lambda_78', Array)\n#12 \/opt\/owncloud\/lib\/base.php(782): OC\\Route\\Router->match('\/settings\/admin')\n#13 \/opt\/owncloud\/index.php(36): OC::handleRequest()\n#14 {main}","File":"\/opt\/owncloud\/apps\/files_external\/3rdparty\/google-api-php-client\/src\/Google\/Auth\/OAuth2.php","Line":240} 2015-04-21T07:03:10+00:00
Fatal files Exception: {"Message":"The OAuth 2.0 access token has expired, and a refresh token is not available. Refresh tokens are not returned for responses that were auto-approved.","Code":0,"Trace":"#0 \/opt\/owncloud\/apps\/files_external\/3rdparty\/google-api-php-client\/src\/Google\/Service\/Resource.php(176): Google_Auth_OAuth2->sign(Object(Google_Http_Request))\n#1 \/opt\/owncloud\/apps\/files_external\/3rdparty\/google-api-php-client\/src\/Google\/Service\/Drive.php(1729): Google_Service_Resource->call('get', Array, 'Google_Service_...')\n#2 \/opt\/owncloud\/apps\/files_external\/lib\/google.php(86): Google_Service_Drive_Files_Resource->get('root')\n#3 \/opt\/owncloud\/apps\/files_external\/lib\/google.php(560): OC\\Files\\Storage\\Google->getDriveFile('')\n#4 \/opt\/owncloud\/lib\/private\/files\/storage\/wrapper\/wrapper.php(357): OC\\Files\\Storage\\Google->hasUpdated('', 1429172050)\n#5 \/opt\/owncloud\/lib\/private\/files\/cache\/watcher.php(67): OC\\Files\\Storage\\Wrapper\\Wrapper->hasUpdated('', 1429172050)\n#6 \/opt\/owncloud\/lib\/private\/files\/view.php(978): OC\\Files\\Cache\\Watcher->checkUpdate('', Array)\n#7 \/opt\/owncloud\/lib\/private\/files\/filesystem.php(793): OC\\Files\\View->getFileInfo('\/GoogleDrive', true)\n#8 \/opt\/owncloud\/apps\/files\/ajax\/list.php(12): OC\\Files\\Filesystem::getFileInfo('\/GoogleDrive')\n#9 \/opt\/owncloud\/lib\/private\/route\/route.php(135) : runtime-created function(1): require_once('\/opt\/owncloud\/a...')\n#10 [internal function]: __lambda_func(Array)\n#11 \/opt\/owncloud\/lib\/private\/route\/router.php(250): call_user_func('?lambda_213', Array)\n#12 \/opt\/owncloud\/lib\/base.php(782): OC\\Route\\Router->match('\/apps\/files\/aja...')\n#13 \/opt\/owncloud\/index.php(36): OC::handleRequest()\n#14 {main}","File":"\/opt\/owncloud\/apps\/files_external\/3rdparty\/google-api-php-client\/src\/Google\/Auth\/OAuth2.php","Line":240}
```
### Client configuration
**browser**
Chrome 41
→ 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:
[php7] Sabre\DAV\Exception\NotAuthenticated: HTTP/1.1 401 No basic authentication headers were found · Issue #21461 · owncloud/core · GitHub → WebDAV issue
Caldav is not compatible with PHP7 · Issue #21309 · owncloud/core · GitHub → Calendar/Contacts issue
APCu 5.1.2 & PHP7: \OC\Memcache\APCu not usable · Issue #21095 · owncloud/core · GitHub → APCu issue (stripped page)
Weird: ownCloud 8.2.2 with PHP 7.0.1 unstable / unusable - read on · Issue #21352 · owncloud/core · GitHub
Accessing CardDAV causes segmentation fault with PHP 7 · Issue #21476 · owncloud/core · GitHub
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.