Not being offered NC 26 stable after updating php from 7.3 to 7.4 and then 8.1, plus Nextcloud from 22 to 25 in Turnkey Linux. Ran out of space during update

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 25.0.11
Operating system and version (eg, Ubuntu 20.04): Turnkey Linux, updated to Debian 12
Apache or nginx version (eg, Apache 2.4.25): 2.4.57
PHP version (eg, 7.4): 8.1.23

The issue you are facing: Nor being offered NC 26 after failed install due to disc full

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. No update button

The output of your Nextcloud log in Admin > Logging:

Error	webdav	InvalidArgumentException: X-OC-MTime header must be a valid positive integer	
2023-09-18T00:36:23+0300

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'passwordsalt' => 'REMOVED',
  'secret' => 'REMOVED>
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => 'NextCloud.local',
    2 => '172.17.5.42',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '25.0.11.1',
  'overwrite.cli.url' => 'http://localhost',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
'dbpassword' => 'REMOVED',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
  'filelocking.enabled' => true,
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'instanceid' => 'oclmjuobcz7e',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'admin',
  'mail_domain' => 'REMOVED',
  'mail_smtphost' => 'REMOVED',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'REMOVED',
  'mail_smtppassword' => 'REMOVED',
  'mail_smtpport' => '465',
  'updater.secret' => 'REMOVED>
  'updater.release.channel' => 'stable',
);

The output of your Apache/nginx/system log in /var/log/____:

[Mon Sep 18 14:32:17.735406 2023] [mpm_prefork:notice] [pid 960] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Sep 18 14:32:17.905728 2023] [ssl:warn] [pid 1464] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Mon Sep 18 14:32:17.907226 2023] [ssl:warn] [pid 1464] AH01909: localhost:12322:0 server certificate does NOT include an ID which matches the server name
[Mon Sep 18 14:32:17.971023 2023] [ssl:warn] [pid 1465] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Mon Sep 18 14:32:17.972422 2023] [ssl:warn] [pid 1465] AH01909: localhost:12322:0 server certificate does NOT include an ID which matches the server name
[Mon Sep 18 14:32:17.982784 2023] [mpm_prefork:notice] [pid 1465] AH00163: Apache/2.4.57 (Debian) OpenSSL/3.0.9 configured -- resuming normal operations


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.

didn't find any errors there

So, I got a message on my phone saying server no longer supported so started to look into updating.

  • Problem was that I had PHP7.3 so couldn’t update to NC 23.
  • Updated PHP to 7.4 and installed NC23.
  • Then updated PHP to 8.1 and updated from NC23 to NC24 to NC25. Can’t remember what I updated when but got to the place that I now have NC25.
  • I was offered NC26 via the Admin - Overview. Hit upgrade and it started. It hang at the four extra files that I had to delete, the composer and package files. I got the updater to continue but it then hang at extracting files.
  • I had run out of space on my turnkey-root partition. The NC25 didn’t start anymore, gave a internal server error. I added space and resized the partition. NC25 started normally again. But now I no longer have the Update button available. If I switch to beta I’m offered NC26 RC1, but if I switch back to stable I again get “latest version” info

25.0.11 and 26.0.6 got retracted temporarily, see: