Nextcloud:stable docker image is stuck at 27.1.3

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): 27.1.3
Operating system and version (eg, Ubuntu 20.04): Debian 12.2
Apache or nginx version (eg, Apache 2.4.25): N/A
PHP version (eg, 7.4): N/A

The issue you are facing:
The nextcloud:stable image is on version 27.1.3, but 27.1.4 is available on the Stable channel.

uname -a

Linux nextcloud 6.1.0-13-arm64 #1 SMP Debian 6.1.55-1 (2023-09-29) aarch64 GNU/Linux

docker pull nextcloud:stable

stable: Pulling from library/nextcloud
Digest: sha256:fde632cdd2d57c0ec7cea82a58884ed04d54d25a75efd364a0bfeac1c7c24a3a
Status: Image is up to date for nextcloud:stable
docker.io/library/nextcloud:stable

docker images:

REPOSITORY       TAG                 IMAGE ID       CREATED       SIZE
nextcloud        stable              2f83f59fc406   10 days ago   1.2GB

docker run nextcloud:stable cat /usr/src/nextcloud/version.php

<?php 
$OC_Version = array(27,1,3,2);
$OC_VersionString = '27.1.3';
$OC_Edition = '';
$OC_Channel = 'stable';
$OC_VersionCanBeUpgradedFrom = array (
  'nextcloud' => 
  array (
    '26.0' => true,
    '27.0' => true,
    '27.1' => true,
  ),
  'owncloud' => 
  array (
    '10.13' => true,
  ),
);
$OC_Build = '2023-10-26T17:25:16+00:00 565dc36226d08d071c30d8ad4fd54126dfa4be79';
$vendor = 'nextcloud'

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

Steps to replicate it:

  1. docker pull nextcloud:stable

The output of your Nextcloud log in Admin > Logging:

Nothing related to nextcloud version/upgrade

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

<?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,
    ),
  ),
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'redis',
    'password' => redacted
    'port' => 6379,
  ),
  'overwriteprotocol' => 'https',
  'trusted_proxies' => 
  array (
    0 => '10.0.0.0/8',
  ),
  'mail_smtpmode' => 'smtp',
  'mail_smtphost' => redacted
  'mail_smtpport' => '465',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauth' => true,
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpname' =>redacted
  'mail_from_address' => redacted
  'mail_domain' => redacted
  'mail_smtppassword' => redacted
  'passwordsalt' => redacted
  'secret' =>redacted
  'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => redacted
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '27.1.3.2',
  'overwrite.cli.url' => 'https://localhost',
  'dbname' => redacted
  'dbhost' => redacted
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => redacted
  'dbpassword' => redacted
  'installed' => true,
  'instanceid' => redacted
  'default_phone_region' => redacted
  'default_locale' => redacted
  'twofactor_enforced' => 'true',
  'twofactor_enforced_groups' => 
  array (
  ),
  'twofactor_enforced_excluded_groups' => 
  array (
  ),
  'loglevel' => 2,
  'maintenance' => false,
);

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

Nothing related to nextcloud version/upgrade

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.

Nothing related to nextcloud version/upgrade

This recent thread might have some clues:

:stable is just a tag used in Docker same as :latest. It doesn’t point to a specific version and doesn’t (automatically) match Nextclouds “stable” channel. I would recommend you a use dedicated version tag in your installation for same reason as you should never ever use :latest https://vsupalov.com/docker-latest-tag/

Thanks for the context wwe, and switching to the 27.1.4 tag has provided the fix.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.