Unable to find new updates past 21.0.9 in docker-run NextCloud

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:


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


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): replace me
Operating system and version (eg, Ubuntu 20.04): replace me
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): replace me

The issue you are facing: When running updater.phar, the update utility only finds the currently installed version as being available. Stuck on 21.0.9

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

Steps to replicate it:

  1. # docker exec -it nextcloud updater.phar

The output of your Nextcloud log in Admin > Logging:

Unavailable due to PHP versioning issue

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

$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => 'xxxxxxxxxxxxxxxxxx',
  'passwordsalt' => 'xxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxx',
  'secret' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
  'trusted_domains' => 
  array (
    0 => 'xxx.xxx.xxx.xxx:444',
    1 => 'xxxx.xxxxxxxx.com',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => 'https://xxxx.xxxxxxx.com',
  'overwritehost' => 'xxx.xxxxxx.com',
  'overwriteprotocol' => 'https',
  'dbname' => 'nextcloud',
  'dbhost' => 'xx.xxx.xxx.xxx:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'xxxxxxxxx',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'mail',
  'mail_domain' => 'xxxxxxxxx.com',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp.xxxxxx.com',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'mail@xxxxxxxx',
  'mail_smtppassword' => 'xxxxxxxxxx',
  'mail_smtpsecure' => 'ssl',
  'maintenance' => true,

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


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.

Not found

Hi. I’ve got the same issue and I finded a solution. Follow those steps :

Rollback to older nextcloud version. For me this one made it available again :

When all is updated and nextcloud is running again open a new CLI prompt and type this :

docker exec -it nextcloud updater.phar

at the end make sure to leave the maitenance mode

After that nextcloud should be available again
Hope it helped!

hello @Wes_Crockett @MDLuffy welcome to the forum :handshake:

please follow the right procedure to upgrade Nextcloud docker:

don’t forget to upgrade one major version at time.

@MDLuffy please don’t mix linuxserver variant with “official” docker containers. linuxserver is doing heavy customizing of their images to fit their ecosystem and for this reason procedures applying there don’t fit for common Nextcloud images.