Help migrating from owncloud to nextcloud

Sorry to hear you’re facing problems :slight_frown:

If you’re urgently looking for support to keep your business running, consider checking out our paid support options.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the following as you can (you can cut and paste this into your topic):


Nextcloud version (eg, 10.0.2):
Operating system and version (eg, Ubuntu 16.04):
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 5.6):
Is this the first time you’ve seen this error?:

Can you reliably replicate it? (If so, please outline steps):

The issue you are facing:

The output of your Nextcloud log in Admin > Logging:

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

The output of your Apache/nginx/system log in /var/log/____:


Remember, this information may be requested if it isn’t supplied; for fastest response please provide as much as you can :heart: Feel free to use a pastebin service, otherwise log files can be indented with 4 spaces on each line to present them in a friendlier way on the forum.

Sorry for the original empty post. This is my first use of this forum.

I am trying to migrate from owncloud to nextcloud and have set up a test system to experiment with. My environment is OpenBSD 6.1 using httpd, with php 5.6 and maria db. I have been able to install nextcloud 11.0.2 and upgrade to 11.0.3. I have also installed owncloud 9.1.4 and upgraded to 9.1.5. My production system is at 9.1.5.

I try to upgrade from owncloud 9.1.5 to nextcloud 10.0.5 using the web and I get an error saying “An error occured”. When I click to see the detailed log, I get a repeat of “an error occured” The log file does show the following error, but that is all.

{“reqId”:“McyEM+hz0iIBTTFSuPQg”,“remoteAddr”:“50.92.162.251”,“app”:“index”,“message”:“Exception: {“Exception”:“OC\\NeedsUpdateException”,“Message”:”",“Code”:0,“Trace”:"#0 \/nextcloud\/lib\/private\/legacy\/app.php(123): OC_App::loadApp(‘federation’)\n#1 \/nextcloud\/lib\/base.php(975): OC_App::loadApps(Array)\n#2 \/nextcloud\/index.php(48): OC::handleRequest()\n#3 {main}",“File”:"\/nextcloud\/lib\/private\/legacy\/app.php",“Line”:151}",“level”:3,“time”:“2017-05-26T05:48:35+00:00”,“method”:“GET”,“url”:"/index.php/core/js/oc.js?v=290b6049713cbb89c91a325039a7ee5c",“user”:"–",“version”:“9.1.5.2”}

The systems of owncloud and nextcloud that I testing with are the basic installs. No apps are enabled other than what the installations provide.

The config file is:

<?php $CONFIG = array ( 'instanceid' => 'ocovb9lmn6w4', 'passwordsalt' => 'x5ZBSsmI988mpHpX9djfc9ILA0RIZO', 'secret' => '4zkAQ3e01mGBntcn2Da1NgnNAQr3pBkAsnQrGyRQoupDqW3J', 'trusted_domains' => array ( 0 => 'xxxxxxxxxxx', ), 'datadirectory' => '/owncloud/data', 'overwrite.cli.url' => 'https://xxxxxxxx', 'dbtype' => 'mysql', 'version' => '9.1.5.2', 'dbname' => 'owncloud', 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'dbuser' => 'owndba', 'dbpassword' => 'dba-pswd', 'logtimezone' => 'UTC', 'installed' => true, 'theme' => '', 'loglevel' => 2, 'maintenance' => false, ); The httpd access log shows: xxxxxxxxxxx - - [25/May/2017:23:15:56 -0700] "GET /index.php HTTP/1.1" 200 0 xxxxxxxxxxx- - [25/May/2017:23:15:56 -0700] "GET /index.php/core/js/oc.js?v=290b6049713cbb89c91a325039a7ee5c HTTP/1.1" 503 0 There is nothing generated in the httpd error log. Can anyone provide a hint as to what to look at next?