Nextcloud version (eg, 20.0.5): 25.0.13.2
Operating system and version (eg, Ubuntu 20.04): Docker Image 25.0.13.2
Apache or nginx version (eg, Apache 2.4.25): Docker Image 25.0.13.2
PHP version (eg, 7.4): Docker Image 25.0.13.2
The issue you are facing:
When trying to update to 26.0.10.1 the container doesn’t start. In the log I found the message:
Can't start Nextcloud because the version of the data (25.0.13.2) is higher than the docker image version (26.0.10.1) and downgrading is not supported. Are you sure you have pulled the newest image version?
Notice the weird error message, it is telling me that 25.0.13.2 is higher than 26.0.10.1
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'instanceid' => <removed>,
'passwordsalt' => <removed>,
'secret' => <removed>,
'trusted_domains' =>
array (
0 => <removed>
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '25.0.13.2',
'overwrite.cli.url' => <removed>,
'dbname' => <removed>,
'dbhost' => <removed>,
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => <removed>,
'dbpassword' => <removed>,
'installed' => true,
'loglevel' => 2,
'maintenance' => false,
'theme' => '',
'default_phone_region' => 'DE',
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => <removed>,
'mail_domain' => <removed>,
'mail_smtphost' => <removed>,
'updater.secret' => <removed>,
);
I tried to remove the config.php file and got the message:
Can't start Nextcloud because the version of the data (0.0.0.0) is higher than the docker image version (26.0.10.1) and downgrading is not supported. Are you sure you have pulled the newest image version?
I edited config.php and set manually ‘26.0.10.1’ as version and got the message:
Can't start Nextcloud because the version of the data (26.0.10.1) is higher than the docker image version (26.0.10.1) and downgrading is not supported. Are you sure you have pulled the newest image version?
Is there any way to recover from that ?
Many thanks