Cannot Update Nextcloud

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

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:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • replace me
  • Operating system and version (e.g., Ubuntu 24.04):
    • replace me
  • Web server and version (e.g, Apache 2.4.25):
    • replace me
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • replace me
  • Is this the first time you’ve seen this error? (Yes / No):
    • replace me
  • When did this problem seem to first start?
    • replace me
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • replace me
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • replace me

Summary of the issue you are facing:

I cannot update my nextcloud which runs with Cpanel. I get a internal 500 error

Steps to replicate it (hint: details matter!):

  1. Go into administration area

  2. Below Update Click Updater

  3. Internal 500 Error Shows

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

ODebug
dav
The requested alias "OCP\AppFramework\IAppContainer" is deprecated. Please request "Psr\Container\ContainerInterface" directly. This alias will be removed in a future Nextcloud version.

Dec 24, 2025, 8:51:30 PM

Debug
dav
The requested alias "OCP\AppFramework\IAppContainer" is deprecated. Please request "Psr\Container\ContainerInterface" directly. This alias will be removed in a future Nextcloud version.

Dec 24, 2025, 8:51:30 PM

Debug
serverDI
The requested alias "OCP\IServerContainer" is deprecated. Please request "Psr\Container\ContainerInterface" directly. This alias will be removed in a future Nextcloud version.

Dec 24, 2025, 8:51:30 PM

Fatal
no app in context
UnexpectedValueException
The Nextcloud configuration (config/config.php) does not contain the key "user_ispconfig_api" which should contain the configuration for this Backend App.

Dec 24, 2025, 8:51:30 PM

Debug
serverDI
The requested alias "OCP\IServerContainer" is deprecated. Please request "Psr\Container\ContainerInterface" directly. This alias will be removed in a future Nextcloud version.

Dec 24, 2025, 8:51:30 PM

Debug
serverDI
The requested alias "OCP\IServerContainer" is deprecated. Please request "Psr\Container\ContainerInterface" directly. This alias will be removed in a future Nextcloud version.

Dec 24, 2025, 8:51:30 PM

Debug
serverDI
The requested alias "OCP\IServerContainer" is deprecated. Please request "Psr\Container\ContainerInterface" directly. This alias will be removed in a future Nextcloud version.

Dec 24, 2025, 8:51:30 PM

Debug
federatedfilesharing
The requested alias "OCP\AppFramework\IAppContainer" is deprecated. Please request "Psr\Container\ContainerInterface" directly. This alias will be removed in a future Nextcloud version.

Dec 24, 2025, 8:51:30 PM

Debug
dav
The requested alias "OCP\AppFramework\IAppContainer" is deprecated. Please request "Psr\Container\ContainerInterface" directly. This alias will be removed in a future Nextcloud version.

Dec 24, 2025, 8:51:30 PM

Debug
dav
The requested alias "OCP\AppFramework\IAppContainer" is deprecated. Please request "Psr\Container\ContainerInterface" directly. This alias will be removed in a future Nextcloud version.

Dec 24, 2025, 8:51:30 PM

Debug
serverDI
The requested alias "OCP\IServerContainer" is deprecated. Please request "Psr\Container\ContainerInterface" directly. This alias will be removed in a future Nextcloud version.

Dec 24, 2025, 8:51:30 PM

Fatal
no app in context
UnexpectedValueException
The Nextcloud configuration (config/config.php) does not contain the key "user_ispconfig_api" which should contain the configuration for this Backend App.

Dec 24, 2025, 8:51:30 PM

Debug
serverDI
The requested alias "OCP\IServerContainer" is deprecated. Please request "Psr\Container\ContainerInterface" directly. This alias will be removed in a future Nextcloud version.

Dec 24, 2025, 8:51:30 PM

Debug
serverDI
The requested alias "OCP\IServerContainer" is deprecated. Please request "Psr\Container\ContainerInterface" directly. This alias will be removed in a future Nextcloud version.

Dec 24, 2025, 8:51:30 PM

Debug
serverDI
The requested alias "OCP\IServerContainer" is deprecated. Please request "Psr\Container\ContainerInterface" directly. This alias will be removed in a future Nextcloud version.

Dec 24, 2025, 8:51:29 PM

Debug
dav
The requested alias "OCP\AppFramework\IAppContainer" is deprecated. Please request "Psr\Container\ContainerInterface" directly. This alias will be removed in a future Nextcloud version.

Dec 24, 2025, 8:51:20 PM

Debug
dav
The requested alias "OCP\AppFramework\IAppContainer" is deprecated. Please request "Psr\Container\ContainerInterface" directly. This alias will be removed in a future Nextcloud version.

Dec 24, 2025, 8:51:20 PM

Debug
serverDI
The requested alias "OCP\IServerContainer" is deprecated. Please request "Psr\Container\ContainerInterface" directly. This alias will be removed in a future Nextcloud version.

Dec 24, 2025, 8:51:2

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

Opera

Web server / Reverse Proxy

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

NA

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'ocarecmhiij0',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' => 
  array (
    0 => '',
  ),
  'datadirectory' => '',
  'dbtype' => 'mysql',
  'version' => '32.0.1.2',
  'overwrite.cli.url' => '',
  'dbname' => '',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => '',
  'dbpassword' => '',
  'default_phone_region' => '392',
  'installed' => true,
  'mysql.utf8mb4' => true,
  'mail_from_address' => 'noreply',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => '',
  'mail_smtphost' => 'jppro2.fcomet.com',
  'mail_smtpport' => '465',
  'mail_smtpauth' => true,
  'mail_smtpname' => 'support@',
  'mail_smtppassword' => '',
  'app_install_overwrite' => 
  array (
    0 => 'vibeetoee',
    1 => 'breezedark',
    2 => 'login_notes',
    3 => 'checksum_api',
  ),
  'updater.secret' => '',
  'enforce_theme' => '',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 0,
  'maintenance_window_start' => 1,
  'mail_smtpsecure' => 'ssl',
  'updater.release.channel' => 'stable',
);

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

What about this backend app? Something you installed?
Updates worked before? Did you use this app before?

Possible to run the upgrade via terminal/command line?

No all I remember is that within the datadirectory i deleted a file called laststep or something so I havent been able to recover it

In the data folder, do you find an updater.log?

2025-12-21T11:04:46+0900 Fe9UE5Pog8 [info] getChangelogURL()
2025-12-21T11:04:46+0900 Fe9UE5Pog8 [info] end of checkForUpdate() Update to Nextcloud 32.0.3 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-32.0.3.zip</code><br /><a class="external_link" href="https://nextcloud.com/changelog/#32-0-3" target="_blank" rel="noreferrer noopener">Open changelog ↗</a>
2025-12-21T11:04:47+0900 HRmE60kdL7 [info] request to updater
2025-12-21T11:04:47+0900 HRmE60kdL7 [info] currentStep()
2025-12-21T11:04:47+0900 HRmE60kdL7 [info] POST request for step "1"
2025-12-21T11:04:47+0900 HRmE60kdL7 [info] startStep("1")
2025-12-21T11:04:47+0900 HRmE60kdL7 [info] checkForExpectedFilesAndFolders()
2025-12-21T11:04:47+0900 HRmE60kdL7 [info] end of checkForExpectedFilesAndFolders()
2025-12-21T11:04:47+0900 HRmE60kdL7 [info] endStep("1")
2025-12-21T11:04:48+0900 VB9axyypSF [info] request to updater
2025-12-21T11:04:48+0900 VB9axyypSF [info] currentStep()
2025-12-21T11:04:48+0900 VB9axyypSF [info] Step 1 is in state "end".
2025-12-21T11:04:48+0900 VB9axyypSF [info] POST request for step "2"
2025-12-21T11:04:48+0900 VB9axyypSF [info] startStep("2")
2025-12-21T11:04:48+0900 VB9axyypSF [info] checkWritePermissions()
2025-12-21T11:04:48+0900 VB9axyypSF [info] end of checkWritePermissions()
2025-12-21T11:04:48+0900 VB9axyypSF [info] endStep("2")
2025-12-21T11:04:48+0900 PE60iG2Xqh [info] request to updater
2025-12-21T11:04:48+0900 PE60iG2Xqh [info] currentStep()
2025-12-21T11:04:48+0900 PE60iG2Xqh [info] Step 2 is in state "end".
2025-12-21T11:04:48+0900 PE60iG2Xqh [info] POST request for step "3"
2025-12-21T11:04:48+0900 PE60iG2Xqh [info] startStep("3")
2025-12-21T11:04:48+0900 PE60iG2Xqh [info] createBackup()
2025-12-21T11:04:48+0900 PE60iG2Xqh [info] backup folder location: /home/updater-ocarecmhiij0/backups/nextcloud-32.0.1.2-1766282688/
2025-12-21T11:05:28+0900 y8nMB6GQCD [info] request to updater
2025-12-21T11:05:28+0900 y8nMB6GQCD [info] currentStep()
2025-12-21T11:05:28+0900 y8nMB6GQCD [info] Step 3 is in state "start".
2025-12-21T11:05:36+0900 NAKQxVlKmc [info] request to updater
2025-12-21T11:05:36+0900 NAKQxVlKmc [info] currentStep()
2025-12-21T11:05:36+0900 NAKQxVlKmc [info] Step 3 is in state "start".
2025-12-21T11:05:40+0900 4XAUPtYB0V [info] request to updater
2025-12-21T11:05:40+0900 4XAUPtYB0V [info] currentStep()
2025-12-21T11:05:40+0900 4XAUPtYB0V [info] Step 3 is in state "start".
2025-12-21T11:05:41+0900 Yh7MhZxErt [info] request to updater
2025-12-21T11:05:41+0900 Yh7MhZxErt [info] currentStep()
2025-12-21T11:05:41+0900 Yh7MhZxErt [info] Step 3 is in state "start".
2025-12-21T11:05:44+0900 wn04TTtnbX [info] request to updater
2025-12-21T11:05:44+0900 wn04TTtnbX [info] currentStep()
2025-12-21T11:05:44+0900 wn04TTtnbX [info] Step 3 is in state "start".
2025-12-21T11:06:02+0900 2AQGp3wuQn [info] request to updater
2025-12-21T11:06:02+0900 2AQGp3wuQn [info] currentStep()
2025-12-21T11:06:02+0900 2AQGp3wuQn [info] Step 3 is in state "start".
2025-12-21T11:06:04+0900 xhL3B2D5cd [info] request to updater
2025-12-21T11:06:04+0900 xhL3B2D5cd [info] currentStep()
2025-12-21T11:06:04+0900 xhL3B2D5cd [info] Step 3 is in state "start".
2025-12-21T11:06:19+0900 NsXlOZDY6A [info] request to updater
2025-12-21T11:06:19+0900 NsXlOZDY6A [info] currentStep()
2025-12-21T11:06:19+0900 NsXlOZDY6A [info] Step 3 is in state "start".
2025-12-21T11:06:26+0900 ysePKRq49z [info] request to updater
2025-12-21T11:06:26+0900 ysePKRq49z [info] currentStep()
2025-12-21T11:06:26+0900 ysePKRq49z [info] Step 3 is in state "start".
2025-12-21T11:06:27+0900 awj7FVD7o7 [info] request to updater
2025-12-21T11:06:27+0900 awj7FVD7o7 [info] currentStep()
2025-12-21T11:06:27+0900 awj7FVD7o7 [info] Step 3 is in state "start".
2025-12-21T11:07:25+0900 MzfecIEGom [info] request to updater
2025-12-21T11:07:25+0900 MzfecIEGom [info] currentStep()
2025-12-21T11:07:25+0900 MzfecIEGom [info] Step 4 is in state "start".
2025-12-21T11:07:43+0900 iuAFR61AqW [info] request to updater
2025-12-21T11:07:43+0900 iuAFR61AqW [info] currentStep()
2025-12-21T11:07:43+0900 iuAFR61AqW [info] Step 10 is in state "start".
2025-12-21T11:07:44+0900 MzY1IFH8ce [info] request to updater
2025-12-21T11:07:44+0900 MzY1IFH8ce [info] currentStep()
2025-12-21T11:07:44+0900 MzY1IFH8ce [info] Step 10 is in state "start".
2025-12-21T11:07:52+0900 3Gjq8ZYIMT [info] request to updater
2025-12-21T11:07:52+0900 3Gjq8ZYIMT [info] currentStep()
2025-12-21T11:08:00+0900 B6BIwPyipL [info] request to updater
2025-12-21T11:08:00+0900 B6BIwPyipL [info] currentStep()
2025-12-21T11:08:03+0900 fMrnu4uB0N [info] request to updater
2025-12-21T11:08:03+0900 fMrnu4uB0N [info] currentStep()
2025-12-21T11:08:18+0900 jR9oUEAeyW [info] request to updater
2025-12-21T11:08:18+0900 jR9oUEAeyW [info] currentStep()
2025-12-21T11:09:15+0900 yfCsvUjUlZ [info] request to updater
2025-12-21T11:09:15+0900 yfCsvUjUlZ [info] currentStep()
2025-12-21T11:09:57+0900 5suXyjFOoc [info] request to updater
2025-12-21T11:09:57+0900 5suXyjFOoc [info] currentStep()
2025-12-21T11:14:23+0900 9btXUVo0JX [info] request to updater
2025-12-21T11:14:23+0900 9btXUVo0JX [info] currentStep()
2025-12-21T11:14:26+0900 9WYG1BM5pt [info] request to updater
2025-12-21T11:14:26+0900 9WYG1BM5pt [info] currentStep()
2025-12-21T11:14:29+0900 zHwxyWnKmi [info] request to updater
2025-12-21T11:14:29+0900 zHwxyWnKmi [info] currentStep()
2025-12-21T11:15:56+0900 UVB3YCqRkJ [info] request to updater
2025-12-21T11:15:56+0900 UVB3YCqRkJ [info] currentStep()
2025-12-21T11:17:21+0900 qPVnwFQfTj [info] request to updater
2025-12-21T11:17:21+0900 qPVnwFQfTj [info] currentStep()
2025-12-21T11:17:33+0900 2Ztc6OXBR6 [info] request to updater
2025-12-21T11:17:33+0900 2Ztc6OXBR6 [info] currentStep()
2025-12-21T11:25:40+0900 hGlkE6I4RB [info] request to updater
2025-12-21T11:25:40+0900 hGlkE6I4RB [info] currentStep()
2025-12-21T11:25:48+0900 GsB0XNo0OX [info] request to updater
2025-12-21T11:25:48+0900 GsB0XNo0OX [info] currentStep()
2025-12-21T11:27:08+0900 o4ztXsIsYV [info] request to updater
2025-12-21T11:27:08+0900 o4ztXsIsYV [info] currentStep()
2025-12-21T11:30:53+0900 rsc50vjiWa [info] request to updater
2025-12-21T11:30:53+0900 rsc50vjiWa [info] currentStep()
2025-12-21T11:30:56+0900 2j7gDa5p4h [info] request to updater
2025-12-21T11:30:56+0900 2j7gDa5p4h [info] currentStep()
2025-12-21T11:30:59+0900 FlQ1aazqNT [info] request to updater
2025-12-21T11:30:59+0900 FlQ1aazqNT [info] currentStep()
2025-12-21T11:31:00+0900 4fMjrucwmq [info] request to updater
2025-12-21T11:31:00+0900 4fMjrucwmq [info] currentStep()
2025-12-21T11:31:01+0900 fo2EtXYiIT [info] request to updater
2025-12-21T11:31:01+0900 fo2EtXYiIT [info] currentStep()
2025-12-21T11:31:02+0900 jxLYS3StyE [info] request to updater
2025-12-21T11:31:02+0900 jxLYS3StyE [info] currentStep()
2025-12-21T11:31:04+0900 y7pftIHpuc [info] request to updater
2025-12-21T11:31:04+0900 y7pftIHpuc [info] currentStep()
2025-12-21T11:31:58+0900 G1y57BpsW7 [info] request to updater
2025-12-21T11:31:58+0900 G1y57BpsW7 [info] currentStep()
2025-12-21T11:32:00+0900 mmQWOBcua0 [info] request to updater
2025-12-21T11:32:00+0900 mmQWOBcua0 [info] currentStep()
2025-12-21T11:32:01+0900 dOnR9SWBhV [info] request to updater
2025-12-21T11:32:01+0900 dOnR9SWBhV [info] currentStep()
2025-12-21T11:32:01+0900 LBPRkVN9eT [info] request to updater
2025-12-21T11:32:01+0900 LBPRkVN9eT [info] currentStep()
2025-12-21T11:32:03+0900 iZkOHllVU7 [info] request to updater
2025-12-21T11:32:03+0900 iZkOHllVU7 [info] currentStep()
2025-12-21T11:42:19+0900 FNyIJUthS4 [info] request to updater
2025-12-21T11:42:19+0900 FNyIJUthS4 [info] currentStep()
2025-12-21T11:50:07+0900 1BOB4X5dDn [info] request to updater
2025-12-21T11:50:07+0900 1BOB4X5dDn [info] currentStep()
2025-12-21T11:52:48+0900 YoBA28VToB [info] request to updater
2025-12-21T11:52:48+0900 YoBA28VToB [info] currentStep()
2025-12-22T07:16:08+0900 9JGFHc9BvY [info] request to updater
2025-12-22T07:16:08+0900 9JGFHc9BvY [info] currentStep()
2025-12-22T07:17:56+0900 DnjjNQEdbl [info] request to updater
2025-12-22T07:17:56+0900 DnjjNQEdbl [info] currentStep()
2025-12-22T07:17:59+0900 MvNmtn60KZ [info] request to updater
2025-12-22T07:17:59+0900 MvNmtn60KZ [info] currentStep()
2025-12-22T07:19:42+0900 jHh68eOyZN [info] request to updater
2025-12-22T07:19:42+0900 jHh68eOyZN [info] currentStep()
2025-12-24T18:44:47+0900 iJ7z4u0Fop [info] request to updater
2025-12-24T18:44:47+0900 iJ7z4u0Fop [info] currentStep()

Ok, I see nothing that corresponds to your error 500. The webserver access or error log might reveal the reason for the error 500. Just seeing the updater log, the backup process takes a long time (over 30 minutes), so it might run into a timeout.
If you run the update through a terminal, the terminal php-process is usually not limited in time. On top of that, you can run the update process without doing the backup which saves a lot of time:
sudo -u www-data php /path/to/nextcloud/updater/updater.phar --no-backup

With cpanel, you have probably a specific php user that is not www-data. If you have terminal access, just check the permissions of your nextcloud folder (or the nextcloud datadirectory):

ls -lisa /path/to/nextcloud

and this user is most likely the one running the php process.

If you don’t have a terminal access, I don’t know if there is an easy way to skip the backup step without modifying the code manually.

Camt use such a command when Im using cpanel

However, if you have command line access to your shared hosting space, it is likely that you can execute PHP scripts from the command line somehow. In that case, you probably don’t need to use sudo -u <username>, and the command might look something like this:

/path/to/php /path/to/nextcloud/updater/updater.phar --no-backup.

To find out the exact command, check the documentation of your hosting provider or ask their support team.