i tried the upgrade from ubuntu packages of OC 9.06 to NC 10.0.1. it seems iāve lost all contacts an calendars. during the upgrade i encountered this error:
Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occurred while executing 'PRAGMA journal_mode = WAL':
SQLSTATE[HY000]: General error: 10 disk I/O error
Update failed
according to this this thread i re-ran the upgrade procedure until it finished ā that is three times. i was given a different error during the second run:
workflowengine: An exception occurred while executing 'CREATE TABLE "oc_flow_checks" ("id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "class" VARCHAR(256) NOT NULL, "operator" VARCHAR(16) NOT NULL, "value" CLOB DEFAULT NULL, "hash" VARCHAR(32) NOT NULL)':
SQLSTATE[HY000]: General error: 1 table "oc_flow_checks" already exists
now, all i can see in the web frontend is ā{{ dt | datepickerFilter:ā¦ā for calendars and ā{{ctrl.t.addContact}}ā for contacts.
i can replicate the issue by repeating the migration process with the data from my backup. although i didnāt get any error messages the second time, the result is still messed up calendars and contacts.
[update]: i went all the way back to a backup of OC 8.1. upgrading to OC 8.2 went fine, but neither upgrading to OC 9.0 nor NC 9.0 would work. they both keep contacts intact (at least) but remove all calendar events. any ideas how to resolve this are most welcome.
should i open a new thread for the issue? am i the only one running into this?
after trying some of the tips given, and wasnāt able to get around Error 500 I gave up two hours later. Any idea on some new, working scheme to migrate from one to the other? Iām at owncloud 9.0.6.5 at the moment.
Yesterday I did the migration from OC 9.1.2.5 to NC 11. All seems to be working well. I donāt have any extra pluggins though, so that might help a bit.
I can confirm, the migration from owncloud 9.1.2 to nextcloud 11.0 was a cinch. I copied the Installation files (zip) to my webspace and copied the old ādataā folder and config.php into the new installation folder. Followed by occ command (sudo -u www-data php /var/www/html/YOURFOLDER/occ upgrade).
Take a look at: Nextcloud manual upgrade
!!! DonĀ“t forget to backup before migrating !!!
Yet another successful migration from ownCloud 9.1.3 to Nextcloud 11.0.0 (on Debian 8.0/Nginx).
I only have 4 third-party apps: calendar, contacts, mail, tasks.
If your data is in a different directory, backup the data as well: sudo rsync -Chav /path/to/owncloud/data/ ~/owncloud_final_backup/data > ~/owncloud_final_backup/rsync_data.log
Since everything is almost still functional for ownCloud (except the DB that has been updated), I decided to create a new Nginx server config to test if everything was going right with Nextcloud. Youāll have to find that yourself depending on if your on nginx or apache.
Hereās what I did:
Copy the owncloud config file to a new nextcloud file
Change the nextcloud server config (new server ābeta.yourcloud.comā, verify paths ,etc.)
I see multiple OC 9.1.x to NC 11.x success stories in this thread
@jospoortvliet What is the āofficialā state on how to migrate from OC 9.1.3.? Should I migrate
directly to NC 11.0.1
first to NC 10.0.2 and then to NC 11.0.1
?
Seemingly āsuccessfulā might not be the right wayā¦ right? In example, NC10 does some DB optimisation on upgrade from OC/NC9. NC11 asserts that there has been NC10 before and does not do that, that is - skipping NC 10.x could mean skipping some under the hood stuff that is not visible now, but might bite in the future.
See https://nextcloud.com/migrate for some info on what goes to what. If it doesnāt cover your question please let me know! I will then update the website so I answer it for everybody
Although my migration went very well, I must admit there is one thing weird when going into my cloud through the web interface: Iāve got hundreds of connections which makes it take almost 10 entire seconds before I can eventually see something displayed on the web page.
In the screenshot, Iāve used the network debugger in Firefox and as you can see in the top right corner, I have a total of 261 connections when I load the default index page (I donāt have a lot of items at the root: 5 folders and 1 file). Iāve got around 200 connections before I can see something and then the rest is once the āframeworkā is displayed: