I have watched for a while the progress of Nextcloud and am quite impressed with the way it is going
So I have attempted several times in the last 4 months to migrate from ownCloud 10 to Nextcloud 12 using the migration tool.
I never went past the screen âCould not determine migration path to Nextcloudâ and have remained confused about whether migration was possible and if so how.
The migration guide at https://nextcloud.com/migration/ has shown for several months âNote that ownCloud 10.0.1 can not yet be migrated to Nextcloud 12, we are still testing this upgrade path to make sure it is 100% reliable!â
But the same guide currently shows also âownCloud 10.0.2 and 10.0.3 canât yet be upgraded to Nextcloud 12, which will be fixed with Nextcloud 12.0.1â, and since we are now at Nextcloud 12.0.4 we can assume that the page has just not been updated.
a post from Netxcloudâs jospoortvliet on 05 Dec 2017 in the thread Migration Tool for OwnCloud 10.0.2 states, talking about the migration tool, that âYou should be good now, to migrate, from ownCloud 10.0.4 and lower to Nextcloud 12.0.4.â
several persons subsequently reported that the migration tool was not working for them from various versions of ownCloud, including 10.0.1.5, 10.0.3.3 and 10.0.4.0 - always showing the same error âCould not determine migration path to Nextcloudâ.
I have not yet found any post from someone reporting that the migration tool had worked for them, and for which versions of ownCloud and Nextcloud, but of course you tend to post only when you have a problem.
Some posts have advised people for whom the migration tool had failed to instead try the manual migration process. But people seem to be reluctant to try that, probably because one can assume that the migration tool is essentially an automated script running the manual process. So if the script thinks it cannot be done, there is a fair chance that one will run in trouble when doing it manuallyâŚ
So my questions are:
Is the current migration tool indeed meant to allow migration from ownCloud 10.0.4 and earlier up to Nextcloud 12.0.4?
Has the current migration tool worked successfully for many people for the whole range of versions from ownCloud 10.0.0 to ownCloud 10.0.4, or are there specific versions (eg 10.0.1.5 or 10.0.3.3) that cause problem?
When the migration tool stops with the error âCould not determine migration path to Nextcloudâ, is there a way to try understand what goes wrong, e.g. a verbose mode to activate and/or a log to inspect?
Are there good, rational reasons to think that if the migration tool fails then the manual process will work?
@jospoortvliet@nickvergessen Can you say what is supposed to work, what has been tested and if it is not working, when are these things going to be fixed? After release of NC 13?
I am now being pressed to upgrade my ownCloud instance to 10.0.4 and as always there are good security reasons for staying up to date. However, i really want to migrate to Nextcloud. I waited for Nextcloud 12.0.4 because I was told this would provide a supported migration path from ownCloud 10.0.3. It did not (âCould not determine migration path to Nextcloudâ error). So far the Nextcloud community has not given a clear, definitive answer as to what the problem is or when it might be fixed.
Now, if I upgrade ownCloud to 10.0.4 will this make migration to Nextcloud easier or more difficult? Will the next release Nextcloud support migration from ownCloud 10.0.3 or 10.0.4, both or neither?
Please note: I have also posted my question here: ownCloud 10.0.3 to Nextcloud 12.0.4 error because itâs a related discussion and I donât know where best to post in order to get a clear answer. Sorry for the duplication.
I havenât tried anything myself. There seems to be a problem with the migration tool, if you perform a manual migration, this can work (I think someone answered in a different topic that it worked for him). It actually works like a manual upgrade:
make a full backup (all files from data, the database, config/config.php)
delete all code files (only keep data/ and config/-folder)
Fix permissions that webserver user can access files (Debian/Ubuntu: chown -R www-data:www-data /var/www/nextcloud)
Run upgrade from command line (Debian/Ubuntu: sudo -u www-data php /var/www/nextcloud/occ upgrade)
In some cases you need to turn off maintenance mode: sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off
On other systems, the webserver user is different and not www-data (you can check who is the owner of the data and config folder, this is very likely the right user).
You risk that this is not possible. Improvements in OC 10.0.4 will also be backported to NC. Perhaps you have to wait for a later release if it is not possible.
At some point probably both. The beta versions of NC 13 are already available, so it can be tested. If you can copy your setup on a local machine, you could run some tests and report potential problems to the developers. Then the chances are high that it works for you in the final product. Keep in mind that some apps might not be available at the release of NC 13 and you have to wait a bit.
Is anyone able to address the original concerns and questions for this topic?
One prime concern is the confusion created by the contradictions found in the documentation, which are still there. It is not prone to giving current and potential Nextcloud users confidence in their ability to migrate then administer Nextcloud. May push many to postpone or cancel their plans to migrate. Could lose some traction.
If someone can answer the questions, I am happy to suggest updates and additions to the documentation.
This time I successfully migrated (from ownCloud 10.0.1.5 to Nextcloud 12.0.4) using the migration tool, i.e. via https://mycloud-url/updater.
Everything seems to work fine and Nextcloud looking VERY GOOD!
Many thanks,
Antoine
PS: the documentation is still showing the same outdated info as reported in my original post:
The migration guide at https://nextcloud.com/migration/ has shown for several months âNote that ownCloud 10.0.1 can not yet be migrated to Nextcloud 12, we are still testing this upgrade path to make sure it is 100% reliable!â
But the same guide currently shows also âownCloud 10.0.2 and 10.0.3 canât yet be upgraded to Nextcloud 12, which will be fixed with Nextcloud 12.0.1â, and since we are now at Nextcloud 12.0.4 we can assume that the page has just not been updated.
What is a âPRâ and is there a page with practical info about how we
can help with the documentation. I looked around https://nextcloud.com/contribute/ but could not find pointers to such info.
So that I donât introduce erroneous info, can you confirm which
versions exactly the migration tool is supposed to work for (for the
page at /migration) and which version(s) to/from the manual migration
process is supposed to work for?
So a âprâ is a pull request. It is essentially a proposed change others can review and comment upon. Hereâs the one I created for our site: https://github.com/nextcloud/nextcloud.com/pull/728
You see my comment, a summary of the change, the exact change (âfiles changedâ) and tflidd reviewing it, OKâing it, and then I âmergeâ it with the site, so it can go live (it is, now!).
This all sounds probably quite complicated, and it IS complicated, but github makes it rather easy. If you click the link I gave:
You immediately are in editing mode for the file âmigrating_owncloud.rstâ. If you click cancel, youâre back to viewing it and then you can go back into the folder and see other files and view and edit them.
You need a github account for this to work!
Once youâre done editing, you choose on the bottom to create a pull request. You will be asked to give a title & description and perhaps ask people to review. You could mention me using @jospoortvliet so I get notified!
Some more info on what that is: https://help.github.com/articles/using-pull-requests
I or somebody else review, we approve, merge it and your change goes live. Thatâs it!
Hi, I probably made a big fault and updated my OC today from 10.0.4 to 10.0.6. There are now too many reasons to not stay with OC and switch to NC. Therefore:
1) Is the migration tool also working for migration from OC v10.0.6 to NC v12.x.x?
2) I´m also fine with the manual process (I´m used to perform updates on the CLI). Will I end in the same error using the manual way like the migration tool?
3) Or (depending on #1): when will it support this migration path?
Just tried the updater script to migrate from Owncloud 10.0.4.4 to Nextcloud 12.0.4.3
Grabbed the script via
curl https://download.nextcloud.com/server/installer/migrator/index.php /var/www/html/owncloud/updater
Initiated via the web at https://localserver/updater/index.php
After successful steps, requested it remain in maintenance mode.
As user apache, initiated command line upgrade via: ./occ upgrade
Upgrading proceeded including checking for various app upgrades. Finally gave these errors:
oauth2: Failed to enable app oauth2
workflowengine: Failed to enable app workflowengine
twofactor_backupcodes: Failed to enable app twofactor_backupcodes
The log doesnât indicate (to my eyes, anyway) why these apps werenât enabled. To proceed, should I grab an archive of NextCloud 12.0.4.3 and manually put in place these 3 apps?
Is it possible to run Nextcloud in the ââŚ/owncloudâ directory after migration?
Because a lot of clients and many many many different applications need reconfiguration (applications point to https://my.webserver.com/owncloud) and I don´t want to NEED to change all endpoints right after migration. Plan B (if folder needs to be named ânextcloudâ) would be a rewrite rule in nginx (everything requesting on âŚ/owncloud will be forwarded to âŚ/nextcloud).