Nextcloud version (eg, 20.0.5): 21.0.3.1
Operating system and version (eg, Ubuntu 20.04): Official Docker image
Apache or nginx version (eg, Apache 2.4.25): nginx/1.14.2
PHP version (eg, 7.4): PHP 7.3.31-1
The issue you are facing:
Tried to upgrade to 23.0.0 by stopping and recreating the container, pulled the latest image and I’m not now stuck at the upgrade page. The page lists several applications which would be deactivated.
There are two issues:
- If I launch the upgrade (from the GUI), I get an error message “Exception: Updates between multiple major versions and downgrades are unsupported.”, which I understand. How can I then upgrade to v22.x.X first? I’ve found the
22.2.3
image on Docker Hub: could this be as simple as forcing this image in recreating the container? - There still isn’t any Cancel button, despite numerous requests from users, so I just can’t cancel upgrade and stick to the current version.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- In Portainer, select the nextcloud_app_1 container.
- Stop the container
- Recreate the container, and pull the latest image
The output of your Nextcloud log in Admin > Logging:
Cannot connect...
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
::::::::::::::
config/config.php
::::::::::::::
<?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' => 'oc7ahdu6c6ph',
'passwordsalt' => 'salt',
'secret' => 'secret',
'trusted_domains' =>
array (
0 => '192.168.1.19',
1 => 'nc.mydomain.com',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '21.0.3.1',
'overwrite.cli.url' => 'http://192.168.1.19:8080',
'overwriteprotocol' => 'https',
'dbname' => 'nextcloud',
'dbhost' => 'db',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'ndbuser',
'dbpassword' => 'dbpassword',
'installed' => true,
'default_phone_region' => 'fr_FR',
'mail_from_address' => 'ncadmin',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'mydomain.com',
'mail_smtphost' => 'host',
'mail_smtpport' => '465',
'mail_smtpauth' => 1,
'mail_smtpname' => 'ncadmin@mydomain.com',
'mail_smtppassword' => 'smtppassword',
'mail_smtpsecure' => 'ssl',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'updater.secret' => 'secret',
);
The output of your Apache/nginx/system log in /var/log/____
:
Error log is empty
Thanks in advance for any help!