Nextcloud version (eg, 20.0.5): 24.0.7
Operating system and version (eg, Ubuntu 20.04): Debian 11.0.5
Apache or nginx version (eg, Apache 2.4.25): 2.4.54-1
PHP version (eg, 7.4): 7.4.33--1
The issue you are facing:
Setting show that a new version ist available (24.0.8). Starting upgrade nearly puts me immediately to the main page. Review show it is still at 24.0.7.
Output of cmdline upgrade process:
www-data@nextcloud:~/html$ php /var/www/html/updater/updater.phar
Nextcloud Updater - version: v24.0.0beta3-1-g67bf13b dirty
Current version is 24.0.7.
Update to Nextcloud 24.0.8 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-24.0.8.zip
Open changelog ↗
Steps that will be executed:
[✔] Check for expected files
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✔] Extracting
[✔] Enable maintenance mode
[✔] Replace entry points
[✔] Delete old files
[✔] Move new files in place
[✔] Done
Continue update? [y/N] y
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[✔] Check for expected files
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✔] Extracting
[✔] Enable maintenance mode
[✔] Replace entry points
[✔] Delete old files
[✔] Move new files in place
[✔] Done
Update of code successful.
Should the "occ upgrade" command be executed? [Y/n] y
Nextcloud is already latest version
Keep maintenance mode active? [y/N]
Maintenance mode already disabled
Maintenance mode is disabled
A check reveals “not upgraded”:
www-data@nextcloud:~/html$ php occ status
- installed: true
- version: 24.0.7.1
- versionstring: 24.0.7
- edition:
- maintenance: false
- needsDbUpgrade: false
- productname: Nextcloud
- extendedSupport: false
The steps above (check, download, verify, …) does not require any time. The download seems not being really executed.
Is there a way to force the upgrade ?
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- No idea how to replicate this situation
The output of your Nextcloud log in Admin > Logging:
Warnung no app in context Host 192.168.178.16 was not connected to because it violates local access rules
2022-11-30T11:46:05+0100
Warnung no app in context Host 192.168.178.16 was not connected to because it violates local access rules
2022-11-30T11:45:59+0100
Warnung no app in context Host 192.168.178.16 was not connected to because it violates local access rules
2022-11-29T20:33:55+0100
This host-IP above is the nextcloud instance itself.
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'redacted',
'passwordsalt' => 'redacted',
'secret' => 'redacted',
'trusted_domains' =>
array (
0 => '192.168.178.*',
),
'datadirectory' => '/nextcloud',
'dbtype' => 'mysql',
'version' => '24.0.7.1',
'overwrite.cli.url' => 'https://192.168.178.16',
'dbname' => 'redacted',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'redacted',
'dbpassword' => 'redacted',
'installed' => true,
'default_phone_region' => 'DE',
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'nextcloud-wh',
'mail_domain' => 'redacted',
'mail_smtpauth' => 1,
'mail_smtpauthtype' => 'PLAIN',
'mail_smtphost' => 'redacted',
'mail_smtpport' => '25',
'mail_smtpname' => 'redacted',
'mail_smtppassword' => 'redacted',
'memcache.local' => '\\OC\\Memcache\\APCu',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'updater.secret' => 'redacted',
);
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
[Mon Dec 12 11:26:31.189066 2022] [ssl:warn] [pid 208] AH01909: nextcloud.fritz.box:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 12 11:26:31.229230 2022] [ssl:warn] [pid 227] AH01909: nextcloud.fritz.box:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 12 11:26:31.233693 2022] [mpm_prefork:notice] [pid 227] AH00163: Apache/2.4.53 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Mon Dec 12 11:26:31.233738 2022] [core:notice] [pid 227] AH00094: Command line: '/usr/sbin/apache2'
[Mon Dec 12 11:30:45.852465 2022] [mpm_prefork:notice] [pid 227] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Dec 12 11:30:45.906200 2022] [ssl:warn] [pid 26557] AH01909: nextcloud.fritz.box:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 12 11:30:45.938671 2022] [ssl:warn] [pid 26558] AH01909: nextcloud.fritz.box:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 12 11:30:45.942159 2022] [mpm_prefork:notice] [pid 26558] AH00163: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Mon Dec 12 11:30:45.942210 2022] [core:notice] [pid 26558] AH00094: Command line: '/usr/sbin/apache2'