Upgrading from v27 to v28 stuck

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 27.1.9.1
  • Operating system and version (e.g., Ubuntu 24.04):
    • n/a
  • Web server and version (e.g, Apache 2.4.25):
    • n/a
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • n/a
  • PHP version (e.g, 8.3):
    • n/a
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • when started upgrading to new version
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • docker compose with external data mount
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

I wanted to upgrade nextcloud version from 27 to 28, Nextcloud does not start only thing in Docker logs is info about upgrading from one version to another.

WWW portal is not starting, if I downgrade back to 27.1.9, portal seems to be starting somehow but it throws that `Error: Failed opening required ‘/var/www/html/3rdparty/composer/../symfony/translation/Resources/functions.php’` all the time, so I am locked out of nextcloud in both old and new versions. Can I somehow reset it back to 27? Or how to trigger proper upgrade?

Log entries

Most recent logs from /var/www/html/data/nextcloud.log

{"reqId":"NLZRYkAzvb9yHtIAVkfE","level":3,"time":"2026-04-24T11:26:09+00:00","remoteAddr":"10.0.0.2","user":"xxx","app":"PHP","method":"PROPFIND","url":"/remote.php/webdav","message":"session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct () at /var/www/html/lib/private/Session/Internal.php#222","userAgent":"gvfs/1.54.4","version":"27.1.9.1","data":{"app":"PHP"}}
{"reqId":"Um0VbGI2pLSnBI7kZ2j7","level":3,"time":"2026-04-24T11:26:09+00:00","remoteAddr":"10.0.0.2","user":"xxx","app":"PHP","method":"PROPFIND","url":"/remote.php/webdav","message":"session_write_close(): Write failed: No space left on device (28) at /var/www/html/lib/private/Session/Internal.php#222","userAgent":"gvfs/1.54.4","version":"27.1.9.1","data":{"app":"PHP"}}
{"reqId":"Um0VbGI2pLSnBI7kZ2j7","level":3,"time":"2026-04-24T11:26:10+00:00","remoteAddr":"10.0.0.2","user":"xxx","app":"PHP","method":"PROPFIND","url":"/remote.php/webdav","message":"session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct () at /var/www/html/lib/private/Session/Internal.php#222","userAgent":"gvfs/1.54.4","version":"27.1.9.1","data":{"app":"PHP"}}
{"reqId":"aweSGEkOLunbAVRvAk3w","level":0,"time":"2026-04-26T22:32:34+00:00","remoteAddr":"","user":"--","app":"serverDI","method":"","url":"--","message":"The requested alias \"SystemConfig\" is deprecated. Please request \"OC\\SystemConfig\" directly. This alias will be removed in a future Nextcloud version.","userAgent":"--","version":"27.1.9.1","data":{"app":"serverDI"}}

Docker container logs

The only docker logs I get are those:

nextcloud_nextcloud.1.6yuun2dfe1zs@node    | Initializing nextcloud 28.0.14.1 ...
nextcloud_nextcloud.1.6yuun2dfe1zs@node    | Upgrading nextcloud from 27.1.9.1 ...

Configuration

Nextcloud

The output of occ config:list systeminside docker container :

I have no name!@904a2b428dcb:/var/www/html$ php occ config:list system

Warning: require(/var/www/html/3rdparty/composer/../symfony/translation/Resources/functions.php): Failed to open stream: No such file or directory in /var/www/html/3rdparty/composer/autoload_real.php on line 46
An unhandled exception has been thrown:
Error: Failed opening required '/var/www/html/3rdparty/composer/../symfony/translation/Resources/functions.php' (include_path='/var/www/html/3rdparty/pear/archive_tar:/var/www/html/3rdparty/pear/console_getopt:/var/www/html/3rdparty/pear/pear-core-minimal/src:/var/www/html/3rdparty/pear/pear_exception:/var/www/html/apps:/var/www/html/custom_apps') in /var/www/html/3rdparty/composer/autoload_real.php:46
Stack trace:
#0 /var/www/html/3rdparty/composer/autoload_real.php(50): {closure}('a1105708a18b769...', '/var/www/html/3...')
#1 /var/www/html/3rdparty/autoload.php(25): ComposerAutoloaderInit2f23f73bc0cc116b4b1eee1521aa8652::getLoader()
#2 /var/www/html/lib/base.php(622): require_once('/var/www/html/3...')
#3 /var/www/html/lib/base.php(1196): OC::init()
#4 /var/www/html/console.php(48): require_once('/var/www/html/l...')
#5 /var/www/html/occ(11): require_once('/var/www/html/c...')
#6 {main}I have no name!@904a2b428dcb:/var/www/html$