Nextcloud version : 27.1.2
Operating system and version (eg, Ubuntu 20.04): Debian GNU/Linux 11 (bullseye)
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.56
PHP version (eg, 7.4): 8.1
The issue you are facing:
I was updating from 27.1.1 to 27.1.2 and got stuck in a loop. I was using the web interface and things seemed to progress smoothly and the update seemed to be completing but then when it refreshed and should have come out of upgrade/maintenance mode it then presented the update screen saying " Nextcloud will be updated to version 27.1.2" and offered a “START UPDATE” button again. It will repeat this forever. I have tried performing the update from the command line with no success.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Attempt an upgrade
Here is what I get when I check status via occ :
sudo -u www-data php occ status
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.
installed: true
version: 27.1.2.1
versionstring: 27.1.2
edition:
maintenance: false
needsDbUpgrade: true
productname: Nextcloud
extendedSupport: false
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => '',
1 => '',
2 => '',
3 => '',
),
'datadirectory' => '/ncdata',
'dbtype' => 'mysql',
'version' => '27.1.2.1',
'overwrite.cli.url' => '',
'dbname' => '',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '',
'dbpassword' => '',
'installed' => true,
'htaccess.RewriteBase' => '/',
'default_phone_region' => 'US',
'filelocking.enabled' => true,
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => '0',
),
'maintenance' => false,
'app.mail.verify-tls-peer' => false,
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'mail_domain' => '.com',
'mail_from_address' => '',
'mail_smtpauthtype' => 'LOGIN',
'theme' => '',
'allow_local_remote_servers' => true,
'loglevel' => 1,
'app_install_overwrite' =>
array (
0 => 'wopi',
),
'mail_smtpport' => '1025',
'memories.exiftool' => '/var/www/html/nextcloud/apps/memories/exiftool-bin/exiftool-amd64-glibc',
'memories.vod.path' => '/var/www/html/nextcloud/apps/memories/exiftool-bin/go-vod-amd64',
'memories.vod.ffmpeg' => '/usr/bin/ffmpeg',
'memories.vod.ffprobe' => '/usr/bin/ffprobe',
'updater.secret' => '',
);