Faced with weird problem during upgrade/migration from Owncloud installation to Nextcloud. All done according admin manual, but after > sudo -s www-data php ./occ updgrade
got stuck:
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Set log level to debug
Checking whether the database schema can be updated (this can take a long time depending on the database size)
Checked database schema update
Checking updates of apps
Checking whether the database schema for <activity> can be updated (this can take a long time depending on the database size)
Checking whether the database schema for <files_sharing> can be updated (this can take a long time depending on the database size)
Checking whether the database schema for <files_trashbin> can be updated (this can take a long time depending on the database size)
Checking whether the database schema for <user_ldap> can be updated (this can take a long time depending on the database size)
Checked database schema update for apps
Updating database schema
Updated database
Disabled 3rd-party app: calendar
Disabled 3rd-party app: contacts
Disabled 3rd-party app: files_videoviewer
Updating <files_pdfviewer> ...
Updated <files_pdfviewer> to 0.8.1
Updating <files_texteditor> ...
Updated <files_texteditor> to 2.1
Updating <gallery> ...
Updated <gallery> to 14.5.0
Updating <user_ldap> ...
Updated <user_ldap> to 0.8.0
Updating <files> ...
Updated <files> to 1.4.4
Updating <activity> ...
Updated <activity> to 2.2.1
Updating <files_sharing> ...
Updated <files_sharing> to 0.9.1
Updating <files_trashbin> ...
Updated <files_trashbin> to 0.8.0
Updating <files_versions> ...
Updated <files_versions> to 1.2.0
Updating <provisioning_api> ...
Updated <provisioning_api> to 0.4.1
Update 3rd-party app: calendar
Update 3rd-party app: contacts
this is what in data/owncloud.log
{"reqId":"Iv2KTKXlMkUG1m8Q9JO4","remoteAddr":"","app":"core","message":"starting upgrade from 8.2.10.2 to 9.0.56.2","level":0,"time":"2017-02-16T13:17:48+03:00","method":"--","url":"--","user":"--","version":"8.2.10.2"}
{"reqId":"Iv2KTKXlMkUG1m8Q9JO4","remoteAddr":"","app":"core","message":"No update found at the Nextcloud appstore for app 166054","level":0,"time":"2017-02-16T13:18:19+03:00","method":"--","url":"--","user":"--","version":"8.2.10.2"}
{"reqId":"Iv2KTKXlMkUG1m8Q9JO4","remoteAddr":"","app":"user_ldap","message":"getUsers: Options: search limit 500 offset 0 Filter: (&(&(objectCategory=person)(mail=*)(objectClass=user))(displayname=*)(displayname=*))","level":0,"time":"2017-02-16T13:18:20+03:00","method":"--","url":"--","user":"--","version":"8.2.10.2"}
Since my installation is on VMware VM I took snaphot before whole process and so I can do any of steps anytime, And I have already tried many times but always get the same result, even tried to run occ upgrade for 12 hours - no luck - process never ends succeessful, it simply NEVER ends…
System/Soft versions:
OS: Debian Jessie 8
PHP 5.6
Apache 2.2
MariaDB 10.0.29