Blogpost about upgrading: https://owncloud.org/blog/time-to-upgra ... cloud-9-0/
General changes in this release: https://doc.owncloud.org/server/9.0/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!!!
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/adm ... mmand.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:
http://morrisjobke.de/2016/03/07/ownClo ... -analysis/
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/adm ... y-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:
https://github.com/owncloud/core/pull/23250
https://github.com/owncloud/core/pull/23270
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/adm ... -procedure
Updates between multiple major versions and downgrades are unsupported.
Please see: viewtopic.php?f=17&t=32087
Known Issues with PHP 7
PHP 7.0.6+ needs ownCloud 9.0.2+
https://github.com/owncloud/core/pull/24343
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:
https://github.com/owncloud/updater/issues/360
Please do a manual update to 9.0.3 for now:
https://doc.owncloud.org/server/9.0/adm ... grade.html
Known Bugs
A list of bugs to fix or features to include for 9.0.4 is available here: https://github.com/owncloud/core/milestones/9.0.4
Unable to share any file when logged with a LDAP user
https://github.com/owncloud/core/issues/23816
Fix planned for oC 9.0.4
"Your data directory and your files are probably accessible from the Internet" since oC 9.0.3
https://github.com/owncloud/core/pull/25331
Fix planned for oC 9.0.4 and 9.1.0
Fixed Bugs
User admin page fails to load properly after upgrade to oc 9.0.2
https://github.com/owncloud/core/issues/24734
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!!)
https://github.com/owncloud/core/issues/24653
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:
https://github.com/owncloud/core/issues/22747
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
https://github.com/owncloud/core/issues/23513
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
https://github.com/owncloud/core/issues/23581
Fixed with oC 9.0.2
ownCloud might not work with PHP 7.0.6
https://github.com/owncloud/core/pull/24326
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
https://github.com/owncloud/core/issues/23205
Will be fixed with oC 9.0.1: https://github.com/owncloud/activity/pull/486
AutoloadNotAllowedException when files_sharing is disabled
https://github.com/owncloud/activity/issues/491
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
https://github.com/owncloud/core/issues/23199
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
https://github.com/owncloud/core/pull/23129
"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
https://github.com/owncloud/core/issues/22960
Tasks-App is not ready for OC 9.0 yet (best is to wait a few weeks). Work in progress:
https://github.com/owncloud/tasks/pull/291
possible workaround: https://github.com/owncloud/tasks/issues/296
On some systems you might get an Error 404 when opening http://yourhost/owncloud:
https://github.com/owncloud/core/issues/22970
viewtopic.php?f=38&t=34150
Class 'XMLReader' not found in Reader.php
https://github.com/owncloud/core/issues/23003
-> Some distros like Gentoo are not compiling the XMLReader which is required by oC
Undefined index: newVersionString
https://github.com/owncloud/core/issues/22917
-> Will be fixed with 9.0.1
Call to undefined method OCA\user_ldap\lib\user\User::setEMailAddress()
https://github.com/owncloud/core/issues/23028
-> 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
https://github.com/owncloud/core/issues/23020
-> Will be fixed with 9.0.1: https://github.com/owncloud/core/pull/23048
Call to a member function getRequest() on null
https://github.com/owncloud/core/issues/23031
-> 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 ... -194331081
This directory is unavailable / The folder is not available: File with id \"33084\" has not been found.
https://github.com/owncloud/core/pull/23039
Error 33 interacting with memcached : A BAD KEY WAS PROVIDED\\\/CHARACTERS OUT OF RANGE
https://github.com/owncloud/core/issues/23076
public share with allowed upload and password protection: endlees loading loop
https://github.com/owncloud/core/issues/23066
Trusted domains check might fail
https://github.com/owncloud/core/pull/23125
logtimezone in config.php might not work correctly (causing e.g. fail2ban to fail)
https://github.com/owncloud/core/issues/23134
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:
<IfModule mod_php5.c>
with
<IfModule mod_php7.c>
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.
https://github.com/owncloud/core/issues ... -195806012
Workaround for ancient distros: https://github.com/owncloud/core/issues ... -195807192
xmlns:d: 'DAV:' is not a valid URI in logfiles
oC 9 needs at least libxml2 in version 2.7.0
https://github.com/owncloud/core/issues/23168
The nginx config might need a rework before it is compatible with oC9: https://github.com/owncloud/documentation/issues/2014
ownCloud 9.0.x (known issues, faq and upgrade problems)
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/
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/
-
RealRancor
- 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 9.0.x (known issues, faq and upgrade problems)
Last edited by tflidd on Fri Mar 11, 2016 10:43 am, edited 5 times in total.
*gone*
-
jospoortvliet
- Starter
- Posts: 64
- Joined: Fri Apr 11, 2014 2:20 pm
- ownCloud version: 6.0.2
- Webserver: Apache
- Database: MySQL
- OS: Linux
- PHP version: 5.5
Re: ownCloud 9.0.x (known issues, faq and upgrade problems)
PHP7 on openSUSE
A few people (but not all) have bumped into issues with PHP 7 on openSUSE 13.2 after upgrading, perhaps hold off a bit on your update until these are resolved. There's a temporary fix here.
Debian
It seems upgrading on Debian can get you in trouble: due to a interaction between packaging and core, a rewrite rule breaks the ownCloud installation. As a workaround one can add RewriteBase /owncloud after RewriteEngine on in .htaccess or disable mod_rewrite like this: and Find more info here.
External storage performance
If you have a performance issue and external storage, check this out. You can read info in this blog on how to apply patches.
A few people (but not all) have bumped into issues with PHP 7 on openSUSE 13.2 after upgrading, perhaps hold off a bit on your update until these are resolved. There's a temporary fix here.
Debian
It seems upgrading on Debian can get you in trouble: due to a interaction between packaging and core, a rewrite rule breaks the ownCloud installation. As a workaround one can add RewriteBase /owncloud after RewriteEngine on in .htaccess or disable mod_rewrite like this:
Code: Select all
a2dismod rewriteCode: Select all
/etc/init.d/apache2 restartExternal storage performance
If you have a performance issue and external storage, check this out. You can read info in this blog on how to apply patches.
-
eldrich
- Newbie
- Posts: 4
- Joined: Sun Mar 13, 2016 1:54 pm
- ownCloud version: 9.0.0
- Webserver: Apache
- Database: MySQL
- OS: Linux
- PHP version: 5.4
Update fails because SQL table already exists
The main reason I am posting this is in case someone else has this problem and wants to see a possible solution.
Steps to reproduce
1. sudo -u apache ./occ upgrade
Expected behaviour
Upgrade should complete
Actual behaviour
Upgrade fails with mysql (mariadb) error:
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'oc_notifications' already exists
Server configuration
Operating system: Centos 7.2
Web server: Apache 2.4
Database: Mariadb 5.5.44
PHP version: 5.4
ownCloud version (see ownCloud admin page): 8.2.2.2 ->> 9.0
Updated from an older ownCloud or fresh install: Updated, originally was an 8.0 sqlite system but updated to mariadb and owncloud 8.2
Essentially running the occ upgrade fails because the oc_notifications table already exists,
Simple solution is to use mysql command to drop that table (verified it was empty first)
%> mysql -u XXX -p
mysql> use owncloud;
mysql> drop table oc_notifications;
mysql> quit;
then rerun the ./occ upgrade and it completes.
I wonder if the failure is because the DB was originally an sqlite one that was upgraded to MySQL?
Steps to reproduce
1. sudo -u apache ./occ upgrade
Expected behaviour
Upgrade should complete
Actual behaviour
Upgrade fails with mysql (mariadb) error:
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'oc_notifications' already exists
Server configuration
Operating system: Centos 7.2
Web server: Apache 2.4
Database: Mariadb 5.5.44
PHP version: 5.4
ownCloud version (see ownCloud admin page): 8.2.2.2 ->> 9.0
Updated from an older ownCloud or fresh install: Updated, originally was an 8.0 sqlite system but updated to mariadb and owncloud 8.2
Essentially running the occ upgrade fails because the oc_notifications table already exists,
Simple solution is to use mysql command to drop that table (verified it was empty first)
%> mysql -u XXX -p
mysql> use owncloud;
mysql> drop table oc_notifications;
mysql> quit;
then rerun the ./occ upgrade and it completes.
I wonder if the failure is because the DB was originally an sqlite one that was upgraded to MySQL?
Last edited by eldrich on Mon Mar 14, 2016 11:09 am, edited 2 times in total.
- 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: ownCloud 9.0.x (known issues, faq and upgrade problems)
In Gallery, users cannot download shared albums shared via link. Will be in 9.0.1 https://github.com/owncloud/gallery/issues/554
Cheers,
Olivier
Consultant @ interfaSys
Maintainer of Gallery+ https://apps.owncloud.com/content/show.php?content=169116
Olivier
Consultant @ interfaSys
Maintainer of Gallery+ https://apps.owncloud.com/content/show.php?content=169116
-
mmaciel
- Newbie
- Posts: 2
- Joined: Sat Jul 09, 2016 6:14 pm
- ownCloud version: 9.0.2
- Webserver: Apache
- Database: MySQL
- OS: Linux
- PHP version: 5.4
Re: ownCloud 9.0.x (known issues, faq and upgrade problems)
Hi all,
I faced some trouble to access my owncloud page after upgrading from 9.02 to 9.03. Let me share my case and how I solved it. This might help our community.
In short, I was unable to access my owncloud page from browsers after the upgrade. A 404 (not found) or 403 (file permissions denied for /owncloud or /app/file directories) error. I changed a line in .htaccess file to solve it.
Details to reproduce the error:
After upgrading from yum, I restarded my server. At this point I was able to access owncloud page, but it was set on maintenance mode. I went back to terminal and went on with the upgrade:
I also changed file permissions as defined in the Admin document.
After these, I was unable to access my owncloud page and got a 404 error.
On Apache log, I had the following error:
To solve this,
I changed the .htaccess file as follows:
From:
To:
Restarted httpd and that's it.
Cheers
I faced some trouble to access my owncloud page after upgrading from 9.02 to 9.03. Let me share my case and how I solved it. This might help our community.
In short, I was unable to access my owncloud page from browsers after the upgrade. A 404 (not found) or 403 (file permissions denied for /owncloud or /app/file directories) error. I changed a line in .htaccess file to solve it.
Details to reproduce the error:
After upgrading from yum, I restarded my server. At this point I was able to access owncloud page, but it was set on maintenance mode. I went back to terminal and went on with the upgrade:
Code: Select all
sudo -u apache php /var/www/html/owncloud/occ maintenance:mode --off
sudo -u apache php /var/www/html/owncloud/occ upgrade
systemctl restart httpdI also changed file permissions as defined in the Admin document.
After these, I was unable to access my owncloud page and got a 404 error.
On Apache log, I had the following error:
Code: Select all
[Sat Jul 09 12:27:58.390298 2016] [autoindex:error] [pid 1500] [client 192.168.0.100:53938] AH01276: Cannot serve directory /var/www/html/owncloud/: No matching DirectoryIndex (none) found, and server-generated directory index forbidden by Options directiveTo solve this,
I changed the .htaccess file as follows:
Code: Select all
vi +96 /var/www/html/owncloud/.htaccessFrom:
Code: Select all
RewriteBase /To:
Code: Select all
RewriteBase /owncloudRestarted httpd and that's it.
Cheers
Last edited by mmaciel on Sat Jul 09, 2016 6:57 pm, edited 1 time in total.
-
RealRancor
- 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
Re: ownCloud 9.0.x (known issues, faq and upgrade problems)
Hi,
thanks for sharing. If your RewriteBase is wrong then make sure that you have configured this options correctly in your config.php:
htaccess.RewriteBase
overwrite.cli.url
Ref: https://github.com/owncloud/documentation/issues/2431
thanks for sharing. If your RewriteBase is wrong then make sure that you have configured this options correctly in your config.php:
htaccess.RewriteBase
overwrite.cli.url
Ref: https://github.com/owncloud/documentation/issues/2431
*gone*
-
mmaciel
- Newbie
- Posts: 2
- Joined: Sat Jul 09, 2016 6:14 pm
- ownCloud version: 9.0.2
- Webserver: Apache
- Database: MySQL
- OS: Linux
- PHP version: 5.4
Re: ownCloud 9.0.x (known issues, faq and upgrade problems)
Thanks for commenting. Reading your link helped clearing my mind.
Well, I'd read this page on your link before and also had changed config.php file as described. But these haven't fixed anything. Only when I changed the .htaccess file my problems went away.
Just to give a bit more information, I installed ownCloud with its default settings meaning I access my ownCloud page with "/owncloud" at the end of my domain name. I think it would be nice to have "/owncloud" configured in .htaccess and config.php files. This would reflect a default installation.
This occ maintenance:update:htaccess command will be very welcome. It's a great idea.
Thanks
Well, I'd read this page on your link before and also had changed config.php file as described. But these haven't fixed anything. Only when I changed the .htaccess file my problems went away.
Just to give a bit more information, I installed ownCloud with its default settings meaning I access my ownCloud page with "/owncloud" at the end of my domain name. I think it would be nice to have "/owncloud" configured in .htaccess and config.php files. This would reflect a default installation.
This occ maintenance:update:htaccess command will be very welcome. It's a great idea.
Thanks
-
- Similar Topics
- Replies
- Views
- Last post
-
-
ownCloud 8.2.x (known issues, faq and upgrade problems)
by RealRancor » Sat Oct 31, 2015 11:12 am » in ownCloud Server 8.2 - 2
- 14537
-
by marsden_pete
View the latest post
Tue Feb 23, 2016 1:54 pm
-
-
-
Upgrade 7-> 8 Database issues
by plutocrat » Tue Sep 29, 2015 7:16 am » in ownCloud Server 8.0 and 8.1 - 3
- 837
-
by plutocrat
View the latest post
Fri Oct 23, 2015 6:14 am
-
-
- 1
- 762
-
by RealRancor
View the latest post
Mon May 02, 2016 11:25 pm
-
- 3
- 1332
-
by RealRancor
View the latest post
Thu Mar 10, 2016 11:34 am
-
- 4
- 233
-
by RealRancor
View the latest post
Fri Jan 29, 2016 7:23 pm
Return to “ownCloud Server 9.0”
Who is online
Users browsing this forum: No registered users and 1 guest