Nextcloud version (eg, 29.0.5): 29.0.7.1
Operating system and version (eg, Ubuntu 24.04): docker
Apache or nginx version (eg, Apache 2.4.25): nginx
PHP version (eg, 8.3): from docker container
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N):
Steps to replicate it:
- Upgrade was successfull but i am stuck in maintenance mode
- Upgrade of app stuck
Output of occ upgrade:
docker exec -u www-data nextcloud /var/www/html/occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Turned on maintenance mode
I waited for over 30 minutes but nothing further happens
Output of occ app update:
docker exec -u www-data nextcloud /var/www/html/occ app:update oauth2
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
oauth2 is up-to-date or no updates could be found
Output of maintenence disable:
docker exec -u www-data nextcloud /var/www/html/occ maintenance:mode --off
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Maintenance mode disabled
Output of maintenance repair:
docker exec -u www-data nextcloud /var/www/html/occ maintenance:repair
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
- Repair MySQL collation
- Not a mysql database -> nothing to do
- Clean tags and favorites
- 0 tags of deleted users have been removed.
- 0 tags for delete files have been removed.
- 0 tag entries for deleted tags have been removed.
- 0 tags with no entries have been removed.
- Repair invalid shares
- Move .step file of updater to backup location
- Add move avatar background job
- Repair step already executed
- Add preview cleanup background jobs
- Migrate oauth2_clients table to nextcloud schema
Stuck at this for 30+ minutes
The output of your Nextcloud log in Admin > Logging:
Docker container logs just show web access entries
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,
),
'instanceid' => '[redacted]',
'passwordsalt' => '[redacted]',
'secret' => '[redacted]',
'trusted_domains' =>
array (
0 => '[redacted]'
),
'trusted_proxies' =>
array (
0 => '[redacted]'
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'pgsql',
'version' => '29.0.6.1',
'overwrite.cli.url' => '[redacted]',
'overwritehost' => '[redacted]',
'dbname' => 'nextcloud',
'dbhost' => 'postgresql',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => '[redacted]',
'installed' => true,
'mail_from_address' => 'nextcloud',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => '[redacted]',
'mail_smtpsecure' => 'ssl',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtphost' => '[redacted]',
'mail_smtpport' => '465',
'mail_smtpname' => '[redacted]',
'mail_smtppassword' => '[redacted]',
'loglevel' => 0,
'log_type' => 'file',
'logfile' => 'syslog',
'maintenance' => true,
'overwriteprotocol' => 'https',
'mail_smtpauth' => 1,
'check_data_directory_permissions' => false,
'app_install_overwrite' =>
array (
0 => 'keeporsweep',
1 => 'apporder',
2 => 'news',
3 => 'files_markdown',
),
'theme' => '',
'default_phone_region' => 'DE',
'preview_max_x' => '512',
'preview_max_y' => '512',
'jpeg_quality' =>
array (
'occ' =>
array (
'config:app:set' =>
array (
'preview' =>
array (
'jpeg_quality' => '60',
),
),
),
),
);