Support intro
Our Amateur Radio club is using Owncloud and I would like to migrate to Nextcloud. Unfortunately it appears that by keeping Owncloud up to date, and not pulling the upgrade trigger soon enough, we’re at a point where there is no simple upgrade path.
We have a pretty large installation: 103 users, 9 groups, 1.6GB of data.
Is there any hope here of accomplishing an upgrade with out a lot of difficulty?
Owncloud version: 10.3.2
Nextcloud version (eg, 12.0.2): 12.0.13 or 13.0.12
Operating system and version (eg, Ubuntu 17.04): Debian 9.11
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.25
PHP version (eg, 7.1): 7.0.33
The issue you are facing:
Upgrading from Owncloud 10.3.2 to Nextcloud 12.0.13 or 13.0.12 fails with
“Exception: Updates between multiple major versions and downgrades are unsupported. Update failed”
Is this the first time you’ve seen this error? (Y/N):
N
Steps to replicate it:
- Unpack nextcloud to /var/www/nextcloud and fix perms / ownership
- Put owncloud installation in maintenance mode
- Backup DB and files
- Copy config.php from /var/www/owncloud to /var/www/nextcloud
- Run “sudo -u www-data php occ upgrade” in /var/www/nextcloud
- Fail
The output of your Nextcloud log in Admin > Logging:
NA
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'updatechecker' => false,
'instanceid' => ' ... ',
'passwordsalt' => ' ... ',
'secret' => ' ... ',
'trusted_domains' =>
array (
0 => 'cloud.our.domain',
),
'datadirectory' => '/srv/www/ownclouddata',
'overwrite.cli.url' => 'http://cloud.our.domain',
'dbtype' => 'mysql',
'version' => '10.3.2.2',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => ' ... ',
'dbpassword' => ' ... ',
'logtimezone' => 'CDT',
'installed' => true,
'loglevel' => 2,
'theme' => '',
'mail_from_address' => 'webmaster',
'mail_smtpmode' => 'smtp',
'mail_domain' => 'our.domain',
'mail_smtphost' => 'localhost',
'mail_smtpport' => '25',
'memcache.local' => '\\OC\\Memcache\\APCu',
'maintenance' => true,
);
The output of your Apache/nginx/system log in /var/log/____
:
NA