-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration from Owncloud 10.0.9 on Ubuntu 18.04.01 LTS fails #11596
Comments
Could you open the '10.0.9.5' => true, Then the migration should start. |
Fix is in #11601 |
@MorrisJobke fix of version.php worked for starting the upgrade. But now I ran into PHP error:
Another point: direct upgrade possibility with PHP 7.2 (without the requirement to temporary install PHP 5.6) would be great! |
Ah - so you are on PHP 5.6 and Upgrade directly to 14? This is not possible. You need to upgrade to 12 first and then to the newer versions. Unfortunately we will not bring PHP 7.2 support for Nextcloud 12. |
Ideally, I could upgrade directly from ownCloud 10.0.9 to nextcloud 14 using php 7.2
Von: Morris Jobke
Gesendet: Donnerstag, 4. Oktober 2018 07:48
An: nextcloud/server
Cc: JochenHWezel; Author
Betreff: Re: [nextcloud/server] Migration from Owncloud 10.0.9 on Ubuntu18.04.01 LTS fails (#11596)
Ah - so you are on PHP 5.6 and Upgrade directly to 14? This is not possible. You need to upgrade to 12 first and then to the newer versions.
Unfortunately we will not bring PHP 7.2 support for Nextcloud 12.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Not possible right now. And also not planned AFAIK. |
@MorrisJobke Have you got a hint for solving this error (as stated above)? |
This is because of running PHP 7.0+ code (looks like Nextcloud 14) on PHP 5.6, which is not supported. So you have an ownCloud 10.0.9 running on PHP 7.2 right? I guess we are missing this as a migration path. We only support the upgrade from PHP 5.6-7.1 to Nextcloud. |
@JochenHWezel I just thought a bit more about this and this is the way you need to go
This then should work. cc @tflidd @rakekniven as a hint for questions like this in the forums. |
Migration from Owncloud 10.0.10 to NextCloud v12 with Ubuntu 18.04ToDosI finally was able to do the migration successful from 10.0.10 to Nextcloud v12 using these commands/points
Results
I think this is okay so far, because you'll continue with update to v13. Update from Nextcloud v12 to Nextcloud v13
Update from Nextcloud v13 to Nextcloud v14
Now you can login again with your brand new Nextcloud v14 and with all your previous users and data :-) Final notes
|
Executed steps with success:
wget https://download.nextcloud.com/server/installer/migrator/index.php
...
https://owncloud.myserver.com/owncloud/updater/index.php
Web-Update part completed, maintenance mode kept active, next step is to run occ upgrade
occ upgrade fails with
I used php5.6 since ubuntu 18.04 doesn't contain php5 any more and nextcloud v12 doesn't support php7.2 which is installed at ubuntu 18.04
This is how I installed php5.6:
Expected behaviour
Actual behaviour
Server configuration
Operating system:
ubuntu 18.04 LTS
Web server:
current apache
Database:
mysql
PHP version:
ubuntu LTS default: php7
manually installed php5.6
Nextcloud version: (see Nextcloud admin page)
12.0.10
Updated from an older Nextcloud/ownCloud or fresh install:
owncloud 10.0.9
The text was updated successfully, but these errors were encountered: