Nextcloud version (eg, 20.0.5): 29.0.0
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04.4
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.52
PHP version (eg, 7.4): php 8.2.19
The issue you are facing:
Nextcloud is showing an update to 29.0.1 as available, yet the web isntaller hangs at step 3 (creating backup). I can re-trigger it deleting the .step file but get the same results. If I then try to do the upgrade via occ, an update is shown when I check, but it says no update available when I go to run it.
root@sr66-nxt-01:/var/www/nextcloud/data# sudo -u www-data php /var/www/nextcloud/occ update:check
Nextcloud 29.0.1 is available. Get more information on how to update at https://docs.nextcloud.com/server/29/admin_manual/maintenance/upgrade.html.
1 update available
root@sr66-nxt-01:/var/www/nextcloud/data# sudo -u www-data php /var/www/nextcloud/occ upgrade
Nextcloud is already latest version
This seems to matter as I am having trouble installing an app, I go to install the “3D Model Viewer” app and after spinning for a while, it comes back to “Download and enable”. There is nothing in the logs about this, which is strange?
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Attempt web upgrade, observe failure.
- Delete .step file
- Check for updates with
sudo -u www-data php /var/www/nextcloud/occ update:check - Attempt to install updates via
sudo -u www-data php /var/www/nextcloud/occ upgrade
The output of your Nextcloud log in Admin > Logging:
Just this over and over since upgrade to 29

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '-----------------',
'passwordsalt' => '--------------',
'secret' => '---------------------',
'trusted_domains' =>
array (
0 => 'subdomain.domain.com',
1 => 'domain.com',
2 => 'nextcloud.domain.com',
3 => 'sr66-nxt-01.subdomain.domain.com',
),
'trusted_proxies' =>
array (
0 => '10.2.2.212',
),
'datadirectory' => '/var/www/nextcloud/data',
'dbtype' => 'mysql',
'defaultapp' => 'files',
'version' => '29.0.0.19',
'overwritehost' => 'nextcloud.domain.com',
'overwriteprotocol' => 'https',
'overwritewebroot' => '/',
'overwrite.cli.url' => 'https://nextcloud.domain.com',
'htaccess.RewriteBase' => '/',
'dbname' => 'nextcloud',
'dbhost' => 'sr66-sql-02.subdomain.domain.com:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'usr_nextcloud',
'dbpassword' => '---------------',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'maintenance' => false,
'theme' => '',
'localstorage.umask' => 2,
'log_type' => 'file',
'logfile' => '/var/log/nextcloud/nextcloud.log',
'loglevel' => 2,
'mail_from_address' => 'nextcloud',
'mail_smtpmode' => 'sendmail',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'sr66-nxt-01.subdomain.domain.com',
'mail_smtphost' => 'localhost',
'mail_smtpport' => '25',
'default_phone_region' => 'US',
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'app_install_overwrite' =>
array (
0 => 'files_3d',
1 => 'files_texteditor',
2 => 'printer',
3 => 'epubreader',
4 => 'richdocumentscode',
5 => 'breezedark',
6 => 'apporder',
7 => 'ldap_write_support',
),
'trashbin_retention_obligation' => 'auto,15',
'allow_local_remote_servers' => true,
'mail_smtpsecure' => 'ssl',
'filelocking.enabled' => 'true',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/run/redis/redis-server.sock',
'port' => 0,
'dbindex' => 0,
'password' => '',
'timeout' => 1.5,
),
'enforce_theme' => '',
'updater.release.channel' => 'stable',
'maintenance_window_start' => 9,
);
The output of your Apache/nginx/system log in /var/log/____:
cat /var/log/apache2/error.nextcloud.log
[Fri May 24 09:53:16.510832 2024] [proxy_fcgi:error] [pid 3416:tid 139891019073088] (70007)The timeout specified has expired: [client 10.2.2.212:46446] AH01075: Error dispatching request to : (polling)
[Fri May 24 09:58:10.867508 2024] [access_compat:error] [pid 3417:tid 139891069396544] [client 10.2.2.212:43532] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Fri May 24 09:58:13.001357 2024] [access_compat:error] [pid 3416:tid 139890993894976] [client 10.2.2.212:60172] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Fri May 24 09:59:02.243021 2024] [proxy_fcgi:error] [pid 3416:tid 139890910033472] (70007)The timeout specified has expired: [client 10.2.2.212:55732] AH01075: Error dispatching request to : (polling)
[Fri May 24 10:02:52.613462 2024] [proxy_fcgi:error] [pid 14819:tid 139890910033472] (70007)The timeout specified has expired: [client 10.2.2.212:41450] AH01075: Error dispatching request to : (polling)
[Fri May 24 11:06:38.958763 2024] [proxy_fcgi:error] [pid 14819:tid 139891413333568] (70007)The timeout specified has expired: [client 10.2.2.212:45920] AH01075: Error dispatching request to : (polling)
