Update hangs while creating a backup

When starting the update, the item creating backup hangs for a very long time as shown in the picture,

On FTP, a folder contains a folder which in turn contains an update folder again and so on without end until I go back to the page in the browser…

“/home/user/public_html/cloud/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401/updater/updater-xxXxxXXXxxXx/backups/nextcloud-27.1.0.7-1706212401”

where xxXxxXXXxxXx some kind a lettres and numbers

I think I was clear in my explanation?

Thank you to your answers
S

You’re saying that repeating string is a single file path?

What’s the underlying filesystem?

/home/user/public_html/cloud/

What is your configured datadirectory in your config.php relative to this path?

The Updater itself logs to a file called updater.log in your data directory. That may also be helpful to review.

And check free disk space.

Yes

Sorry, don’t understand the question… I use ubuntu server, with nextcloud in sub-directory. Data is on another mounted disk datadirectory = /mnt/disk/data_cloud. All works fine exept the update…
I don’t find updater.log file in my data directory :anguished:

The problem is still relevant, can anyone give an answer please ?

With php updater/updater.phar you can disable backup.

sudo -u www-data php /path/to/nextcloud/updater/updater.phar --no-backup

I would like to be able to deactivate the backup in config.php for updater.phar and Web-Updater. Backups should be made beforehand anyway. But Christmas is coming soon. You can make a wish or create/like an issue.

I use ubuntu server, with nextcloud in sub-directory. Data is on another mounted disk datadirectory = /mnt/disk/data_cloud. All works fine exept the update…
I don’t find updater.log file in my data directory

The output you provided suggests that either your datadirectory is actually /home/user/public_html/cloud or that you are using the updatedirectory parameter. I guess another possibility might be something involving symbolic links. Can you provide the output of ls -l /home/user/public_html/cloud as well as occ config:list system?

As for updater.log, if you’re using the updatedirectory value, the log will be there instead.

Yes, that could be the case. The backup probably contains files that are not backed up. This includes previous backups and also user data. The backup should be about 600 MB or 700 MB in size for a normal Nextcloud. Additional space for more apps.

The update was interrupted. Here is the log:
2024-04-25T15:09:14+0200 qXZuUDFYvA [info] request to updater
2024-04-25T15:09:14+0200 qXZuUDFYvA [info] currentStep()
2024-04-25T15:09:14+0200 qXZuUDFYvA [info] show HTML page
2024-04-25T15:09:14+0200 qXZuUDFYvA [info] current version: 28.0.4 build time: 2024-03-28T07:58:18+00:00 6403fd1828760bff630ca26203f8cbe9addd3e1d
2024-04-25T15:09:14+0200 qXZuUDFYvA [info] getUpdateServerResponse()
2024-04-25T15:09:14+0200 qXZuUDFYvA [info] updaterServer: https://updates.nextcloud.com/updater_server/
2024-04-25T15:09:14+0200 qXZuUDFYvA [info] releaseChannel: stable
2024-04-25T15:09:14+0200 qXZuUDFYvA [info] internal version: 28.0.4.1
2024-04-25T15:09:14+0200 qXZuUDFYvA [info] updateURL: https://updates.nextcloud.com/updater_server/?version=28x0x4x1xxxstablexx2024-03-28T07%3A58%3A18%2B00%3A00+6403fd1828760bff630ca26203f8cbe9addd3e1dx8x3x6
2024-04-25T15:09:14+0200 qXZuUDFYvA [info] getUpdateServerResponse response: Array
(
[version] => 28.0.5.1
[versionstring] => Nextcloud 28.0.5
[url] => https://download.nextcloud.com/server/releases/nextcloud-28.0.5.zip
[web] => How to upgrade — Nextcloud latest Administration Manual latest documentation
[changes] => https://updates.nextcloud.com/changelog_server/?version=28.0.5
[autoupdater] => 1
[eol] => 0
[signature] => VjsEJXdfI+ELdcE0gR38zgw3+XSOpc4w7OFzg0bDHC3UWOyyXEKRs3DiaPk/262Q
B10V4b+GJ4WC4P6/LpAzHcEpJ4KX1J2MWE0eq3Pr22SayUH09XcYhXSapvgmc0Om
3wY5p8NRr9cNwi0Uslw/OhCovFTtj2I0xEgC6aHi6I+p8Z3V67LvkFE3YZP9nEpH
5hag3acwdQgbwVrMImz3pUEFKS0fsYSq3AkaPK3URHlZLaLsS6fo2ntWVVbrEjFQ
tPHQD87NDyadODwLr3guqLTgpm79quGcowGHO7qadL3Z44uB3xaW4w+iAg9VzQJ1
jwPKhVqxSKaSozkwU85D7A==
)

2024-04-25T15:09:14+0200 qXZuUDFYvA [info] checkForUpdate() Array
(
[version] => 28.0.5.1
[versionstring] => Nextcloud 28.0.5
[url] => https://download.nextcloud.com/server/releases/nextcloud-28.0.5.zip
[web] => How to upgrade — Nextcloud latest Administration Manual latest documentation
[changes] => https://updates.nextcloud.com/changelog_server/?version=28.0.5
[autoupdater] => 1
[eol] => 0
[signature] => VjsEJXdfI+ELdcE0gR38zgw3+XSOpc4w7OFzg0bDHC3UWOyyXEKRs3DiaPk/262Q
B10V4b+GJ4WC4P6/LpAzHcEpJ4KX1J2MWE0eq3Pr22SayUH09XcYhXSapvgmc0Om
3wY5p8NRr9cNwi0Uslw/OhCovFTtj2I0xEgC6aHi6I+p8Z3V67LvkFE3YZP9nEpH
5hag3acwdQgbwVrMImz3pUEFKS0fsYSq3AkaPK3URHlZLaLsS6fo2ntWVVbrEjFQ
tPHQD87NDyadODwLr3guqLTgpm79quGcowGHO7qadL3Z44uB3xaW4w+iAg9VzQJ1
jwPKhVqxSKaSozkwU85D7A==
)

2024-04-25T15:09:14+0200 qXZuUDFYvA [info] getChangelogURL()
2024-04-25T15:09:14+0200 qXZuUDFYvA [info] end of checkForUpdate() Update to Nextcloud 28.0.5 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-28.0.5.zip
Open changelog :arrow_upper_right:
2024-04-25T15:09:18+0200 Vd4F60jLMP [info] request to updater
2024-04-25T15:09:18+0200 Vd4F60jLMP [info] currentStep()
2024-04-25T15:09:18+0200 Vd4F60jLMP [info] POST request for step “1”
2024-04-25T15:09:18+0200 Vd4F60jLMP [info] startStep(“1”)
2024-04-25T15:09:18+0200 Vd4F60jLMP [info] checkForExpectedFilesAndFolders()
2024-04-25T15:09:18+0200 Vd4F60jLMP [info] end of checkForExpectedFilesAndFolders()
2024-04-25T15:09:18+0200 Vd4F60jLMP [info] endStep(“1”)
2024-04-25T15:09:18+0200 fgCqDpkgP6 [info] request to updater
2024-04-25T15:09:18+0200 fgCqDpkgP6 [info] currentStep()
2024-04-25T15:09:18+0200 fgCqDpkgP6 [info] Step 1 is in state “end”.
2024-04-25T15:09:18+0200 fgCqDpkgP6 [info] POST request for step “2”
2024-04-25T15:09:19+0200 fgCqDpkgP6 [info] startStep(“2”)
2024-04-25T15:09:19+0200 fgCqDpkgP6 [info] checkWritePermissions()
2024-04-25T15:09:19+0200 fgCqDpkgP6 [info] end of checkWritePermissions()
2024-04-25T15:09:19+0200 fgCqDpkgP6 [info] endStep(“2”)
2024-04-25T15:09:19+0200 OD2d6SB91M [info] request to updater
2024-04-25T15:09:19+0200 OD2d6SB91M [info] currentStep()
2024-04-25T15:09:19+0200 OD2d6SB91M [info] Step 2 is in state “end”.
2024-04-25T15:09:19+0200 OD2d6SB91M [info] POST request for step “3”
2024-04-25T15:09:19+0200 OD2d6SB91M [info] startStep(“3”)
2024-04-25T15:09:19+0200 OD2d6SB91M [info] createBackup()
2024-04-25T15:09:19+0200 OD2d6SB91M [info] backup folder location: /home/user/public_html/cloud/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/
2024-04-25T15:13:57+0200 AZgB26Vo9v [info] request to updater
2024-04-25T15:13:57+0200 AZgB26Vo9v [info] currentStep()
2024-04-25T15:13:57+0200 AZgB26Vo9v [info] Step 3 is in state “start”.
2024-04-25T15:14:27+0200 ry0j1PA67h [info] request to updater
2024-04-25T15:14:27+0200 ry0j1PA67h [info] currentStep()
2024-04-25T15:14:27+0200 ry0j1PA67h [info] show HTML page
2024-04-25T15:14:27+0200 ry0j1PA67h [info] current version: 28.0.4 build time: 2024-03-28T07:58:18+00:00 6403fd1828760bff630ca26203f8cbe9addd3e1d
2024-04-25T15:14:27+0200 ry0j1PA67h [info] getUpdateServerResponse()
2024-04-25T15:14:27+0200 ry0j1PA67h [info] updaterServer: https://updates.nextcloud.com/updater_server/
2024-04-25T15:14:27+0200 ry0j1PA67h [info] releaseChannel: stable
2024-04-25T15:14:27+0200 ry0j1PA67h [info] internal version: 28.0.4.1
2024-04-25T15:14:27+0200 ry0j1PA67h [info] updateURL: https://updates.nextcloud.com/updater_server/?version=28x0x4x1xxxstablexx2024-03-28T07%3A58%3A18%2B00%3A00+6403fd1828760bff630ca26203f8cbe9addd3e1dx8x3x6
2024-04-25T15:14:27+0200 ry0j1PA67h [info] getUpdateServerResponse response: Array
(
[version] => 28.0.5.1
[versionstring] => Nextcloud 28.0.5
[url] => https://download.nextcloud.com/server/releases/nextcloud-28.0.5.zip
[web] => How to upgrade — Nextcloud latest Administration Manual latest documentation
[changes] => https://updates.nextcloud.com/changelog_server/?version=28.0.5
[autoupdater] => 1
[eol] => 0
[signature] => VjsEJXdfI+ELdcE0gR38zgw3+XSOpc4w7OFzg0bDHC3UWOyyXEKRs3DiaPk/262Q
B10V4b+GJ4WC4P6/LpAzHcEpJ4KX1J2MWE0eq3Pr22SayUH09XcYhXSapvgmc0Om
3wY5p8NRr9cNwi0Uslw/OhCovFTtj2I0xEgC6aHi6I+p8Z3V67LvkFE3YZP9nEpH
5hag3acwdQgbwVrMImz3pUEFKS0fsYSq3AkaPK3URHlZLaLsS6fo2ntWVVbrEjFQ
tPHQD87NDyadODwLr3guqLTgpm79quGcowGHO7qadL3Z44uB3xaW4w+iAg9VzQJ1
jwPKhVqxSKaSozkwU85D7A==
)

2024-04-25T15:14:27+0200 ry0j1PA67h [info] checkForUpdate() Array
(
[version] => 28.0.5.1
[versionstring] => Nextcloud 28.0.5
[url] => https://download.nextcloud.com/server/releases/nextcloud-28.0.5.zip
[web] => https://docs.nextcloud.com/server/28/admin_manual/maintenance/upgrade.html
[changes] => https://updates.nextcloud.com/changelog_server/?version=28.0.5
[autoupdater] => 1
[eol] => 0
[signature] => VjsEJXdfI+ELdcE0gR38zgw3+XSOpc4w7OFzg0bDHC3UWOyyXEKRs3DiaPk/262Q
B10V4b+GJ4WC4P6/LpAzHcEpJ4KX1J2MWE0eq3Pr22SayUH09XcYhXSapvgmc0Om
3wY5p8NRr9cNwi0Uslw/OhCovFTtj2I0xEgC6aHi6I+p8Z3V67LvkFE3YZP9nEpH
5hag3acwdQgbwVrMImz3pUEFKS0fsYSq3AkaPK3URHlZLaLsS6fo2ntWVVbrEjFQ
tPHQD87NDyadODwLr3guqLTgpm79quGcowGHO7qadL3Z44uB3xaW4w+iAg9VzQJ1
jwPKhVqxSKaSozkwU85D7A==
)

2024-04-25T15:14:27+0200 ry0j1PA67h [info] getChangelogURL()
2024-04-25T15:14:27+0200 ry0j1PA67h [info] end of checkForUpdate() Update to Nextcloud 28.0.5 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-28.0.5.zip
Open changelog :arrow_upper_right:
2024-04-25T15:33:52+0200 OD2d6SB91M [error] POST request failed with other exception
2024-04-25T15:33:52+0200 OD2d6SB91M [error] Exception: Exception
Message: Could not copy “/home/user/public_html/cloud/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/3rdparty/aws/aws-sdk-php/src/Route53RecoveryControlConfig/Exception/Route53RecoveryControlConfigException.php” to “/home/user/public_html/cloud/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/3rdparty/aws/aws-sdk-php/src/Route53RecoveryControlConfig/Exception/Route53RecoveryControlConfigException.php”. Destination /home/user/public_html/cloud/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/3rdparty/aws/aws-sdk-php/src/Route53RecoveryControlConfig/Exception/Route53RecoveryControlConfigException.php is not writable
Code:0
Trace:
#0 /home/user/public_html/cloud/updater/index.php(1342): Updater->createBackup()
#1 {main}
File:/home/user/public_html/cloud/updater/index.php
Line:494

2024-04-25T15:33:52+0200 OD2d6SB91M [info] rollbackChanges(“3”)
2024-04-25T15:33:52+0200 OD2d6SB91M [info] end of rollbackChanges()

Now I’ve been waiting for three hours for all the update subfolders to be removed from the server.

What is the file ? Why is it not writable ??

That file isn’t the problem per se. Look at the source path. It suggests an infinite loop somewhere.

I asked a couple other questions that may help sort it what is going on. Can you answer those?

The main time I’ve seen something similar is when someone overwrite the default updater backup directory and pointed it at their installation folder…

OD2d6SB91M [info] backup folder location: /home/user/public_html/cloud/updater/updater-ocuj9qbmr54e/backups/nextcloud-28.0.4.1-1714050559/

I’ve reinstalled nextcloud since I wrote the first post, so the data folder is now the default, but the problem is still the same.

so, ls -l:

drwxr-xr-x 44 user user 4096 12 avril 12:05 3rdparty
drwxr-xr-x 51 user user 4096 24 avril 18:56 apps
-rw-r–r-- 1 user user 23796 28 mars 07:54 AUTHORS
-rw-r–r-- 1 user user 1906 28 mars 07:54 composer.json
-rw-r–r-- 1 user user 3140 28 mars 07:54 composer.lock
drwxr-xr-x 2 user user 4096 15 avril 12:47 config
-rw-r–r-- 1 user user 4124 28 mars 07:54 console.php
-rw-r–r-- 1 user user 34520 28 mars 07:54 COPYING
drwxr-xr-x 24 user user 4096 12 avril 12:05 core
-rw-r–r-- 1 user user 6317 28 mars 07:54 cron.php
drwxrwx— 5 user user 4096 25 avril 15:30 data
drwxr-xr-x 2 user user 20480 12 avril 12:05 dist
-rw-r–r-- 1 user user 156 28 mars 07:54 index.html
-rw-r–r-- 1 user user 4403 28 mars 07:54 index.php
drwxr-xr-x 6 user user 4096 12 avril 12:05 lib
-rw-r–r-- 1 user user 283 28 mars 07:54 occ
drwxr-xr-x 2 user user 4096 12 avril 12:05 ocs
drwxr-xr-x 2 user user 4096 12 avril 12:05 ocs-provider
-rw-r–r-- 1 user user 7073 28 mars 07:54 package.json
-rw-r–r-- 1 user user 1048494 28 mars 07:54 package-lock.json
-rw-r–r-- 1 user user 3187 28 mars 07:54 public.php
-rw-r–r-- 1 user user 5597 28 mars 07:54 remote.php
drwxr-xr-x 4 user user 4096 12 avril 12:05 resources
-rw-r–r-- 1 user user 26 28 mars 07:54 robots.txt
-rw-r–r-- 1 user user 2452 28 mars 07:54 status.php
drwxr-xr-x 3 user user 4096 12 avril 12:05 themes
drwxr-xr-x 3 user user 4096 25 avril 15:09 updater
-rw-r–r-- 1 user user 403 28 mars 07:58 version.php

and config:list:

{
“system”: {
“instanceid”: “REMOVED SENSITIVE VALUE”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
REMOVED SENSITIVE VALUE
],
“datadirectory”: “REMOVED SENSITIVE VALUE”,
“dbtype”: “mysql”,
“version”: “28.0.4.1”,
“overwrite.cli.url”: “https://REMOVED SENSITIVE VALUE/cloud”,
“dbname”: “REMOVED SENSITIVE VALUE”,
“dbhost”: “REMOVED SENSITIVE VALUE”,
“dbport”: “”,
“dbtableprefix”: “oc_”,
“mysql.utf8mb4”: true,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“installed”: true,
“log_type”: “file”,
“log_type_audit”: “file”,
“logfile”: “/home/user/public_html/cloud/data/REMOVED SENSITIVE VALUE/files/nextcloud.log”,
“logfile_audit”: “/home/user/public_html/cloud/data/REMOVED SENSITIVE VALUE/files/nextcloud_audit.log”,
“logfilemode”: 416,
“loglevel”: 2,
“log_rotate_size”: 104857600,
“profiler”: false,
“logtimezone”: “Europe/Paris”,
“maintenance_window_start”: 1,
“default_phone_region”: “FR”,
“trashbin_retention_obligation”: “auto”,
“mail_smtpmode”: “sendmail”,
“mail_smtpsecure”: “ssl”,
“mail_sendmailmode”: “smtp”,
“mail_from_address”: “REMOVED SENSITIVE VALUE”,
“mail_domain”: “REMOVED SENSITIVE VALUE”,
“mail_smtphost”: “REMOVED SENSITIVE VALUE”,
“mail_smtpport”: “465”,
“mail_smtpauth”: 1,
“mail_smtpname”: “REMOVED SENSITIVE VALUE”,
“mail_smtppassword”: “REMOVED SENSITIVE VALUE”,
“maintenance”: false,
“updatechecker”: true,
“updater.server.url”: “https://updates.nextcloud.com/updater_server/”,
“updater.release.channel”: “stable”,
“updatedirectory”: “/home/user/public_html/cloud/updater”,
“memcache.local”: “\OC\Memcache\APCu”,
“memcache.locking”: “\OC\Memcache\APCu”,
“memcached_servers”: [
[
“127.0.0.1”,
“192.168.1.28”,
REMOVED SENSITIVE VALUE
]
],
“cache_path”: “/home/user/cloud_cache”,
“tempdirectory”: “/home/user/cloud_tmp”,
“check_for_working_wellknown_setup”: true,
“check_for_working_htaccess”: true,
“check_data_directory_permissions”: true,
“config_is_read_only”: true,
“updater.secret”: “REMOVED SENSITIVE VALUE
},
“apps”: {
“activity”: {
“enabled”: “yes”,
“installed_version”: “2.20.0”,
“types”: “filesystem”
},
“admin_audit”: {
“enabled”: “yes”,
“installed_version”: “1.18.0”,
“types”: “logging”
},
“backgroundjob”: {
“lastjob”: “10201”
},
“circles”: {
“enabled”: “yes”,
“installed_version”: “28.0.0”,
“loopback_tmp_path”: “/cloud”,
“loopback_tmp_scheme”: “https”,
“maintenance_run”: “0”,
“maintenance_update”: “{"3":1714072202,"2":1714071902,"1":1714072202}”,
“migration_22”: “1”,
“migration_run”: “0”,
“types”: “filesystem,dav”
},
“cloud_federation_api”: {
“enabled”: “yes”,
“installed_version”: “1.11.0”,
“types”: “filesystem”
},
“comments”: {
“enabled”: “yes”,
“installed_version”: “1.18.0”,
“types”: “logging”
},
“contactsinteraction”: {
“enabled”: “yes”,
“installed_version”: “1.9.0”,
“types”: “dav”
},
“core”: {
“backgroundjobs_mode”: “cron”,
“files_metadata”: “{"photos-original_date_time":{"value":null,"type":"int","indexed":true,"editPermission":0},"photos-size":{"value":null,"type":"array","indexed":false,"editPermission":0},"photos-exif":{"value":null,"type":"array","indexed":false,"editPermission":0},"photos-ifd0":{"value":null,"type":"array","indexed":false,"editPermission":0},"photos-gps":{"value":null,"type":"array","indexed":false,"editPermission":0},"photos-place":{"value":null,"type":"string","indexed":true,"editPermission":0},"files-live-photo":{"value":null,"type":"string","indexed":false,"editPermission":0}}”,
“files_metadata_installed”: “1”,
“installedat”: “1712916419.977”,
“lastcron”: “1714072202”,
“lastupdateResult”: “{"version":"28.0.5.1","versionstring":"Nextcloud 28.0.5","url":"https:\/\/download.nextcloud.com\/server\/releases\/nextcloud-28.0.5.zip","web":"https:\/\/docs.nextcloud.com\/server\/28\/admin_manual\/maintenance\/upgrade.html","changes":"https:\/\/updates.nextcloud.com\/changelog_server\/?version=28.0.5","autoupdater":"1","eol":"0"}”,
“lastupdatedat”: “1714050407”,
“moveavatarsdone”: “yes”,
“oc.integritycheck.checker”: “”,
“previewsCleanedUp”: “1”,
“public_files”: “files_sharing/public.php”,
“public_webdav”: “dav/appinfo/v1/publicwebdav.php”,
“shareapi_enable_link_password_by_default”: “yes”,
“updater.secret.created”: “1714050554”,
“vendor”: “nextcloud”
},
“dashboard”: {
“enabled”: “yes”,
“installed_version”: “7.8.0”,
“types”: “”
},
“dav”: {
“buildCalendarReminderIndex”: “yes”,
“buildCalendarSearchIndex”: “yes”,
“enabled”: “yes”,
“installed_version”: “1.29.1”,
“regeneratedBirthdayCalendarsForYearFix”: “yes”,
“types”: “filesystem”
},
“federatedfilesharing”: {
“enabled”: “yes”,
“installed_version”: “1.18.0”,
“types”: “”
},
“federation”: {
“enabled”: “yes”,
“installed_version”: “1.18.0”,
“types”: “authentication”
},
“files”: {
“enabled”: “yes”,
“installed_version”: “2.0.0”,
“types”: “filesystem”
},
“files_pdfviewer”: {
“enabled”: “yes”,
“installed_version”: “2.9.0”,
“types”: “”
},
“files_reminders”: {
“enabled”: “yes”,
“installed_version”: “1.1.0”,
“types”: “dav”
},
“files_sharing”: {
“enabled”: “yes”,
“installed_version”: “1.20.0”,
“types”: “filesystem”
},
“files_trashbin”: {
“enabled”: “yes”,
“installed_version”: “1.18.0”,
“types”: “filesystem,dav”
},
“files_versions”: {
“enabled”: “yes”,
“installed_version”: “1.21.0”,
“types”: “filesystem,dav”
},
“firstrunwizard”: {
“enabled”: “no”,
“installed_version”: “2.17.0”,
“types”: “logging”
},
“logreader”: {
“enabled”: “yes”,
“installed_version”: “2.13.0”,
“types”: “logging”
},
“lookup_server_connector”: {
“enabled”: “yes”,
“installed_version”: “1.16.0”,
“types”: “authentication”
},
“nextcloud_announcements”: {
“enabled”: “yes”,
“installed_version”: “1.17.0”,
“pub_date”: “Thu, 24 Oct 2019 00:00:00 +0200”,
“types”: “logging”
},
“notes”: {
“enabled”: “yes”,
“installed_version”: “4.10.0”,
“types”: “”
},
“notifications”: {
“enabled”: “yes”,
“installed_version”: “2.16.0”,
“types”: “logging”
},
“oauth2”: {
“enabled”: “yes”,
“installed_version”: “1.16.3”,
“types”: “authentication”
},
“password_policy”: {
“enabled”: “yes”,
“installed_version”: “1.18.0”,
“types”: “authentication”
},
“photos”: {
“enabled”: “yes”,
“installed_version”: “2.4.0”,
“lastPlaceMappedUser”: “aleksei”,
“lastPlaceMappingDone”: “true”,
“types”: “dav,authentication”
},
“privacy”: {
“enabled”: “yes”,
“installed_version”: “1.12.0”,
“types”: “”
},
“provisioning_api”: {
“enabled”: “yes”,
“installed_version”: “1.18.0”,
“types”: “prevent_group_restriction”
},
“recommendations”: {
“enabled”: “yes”,
“installed_version”: “2.0.0”,
“types”: “”
},
“related_resources”: {
“enabled”: “yes”,
“installed_version”: “1.3.0”,
“types”: “”
},
“serverinfo”: {
“cached_count_filecache”: “16869”,
“cached_count_storages”: “4”,
“enabled”: “yes”,
“installed_version”: “1.18.0”,
“types”: “”
},
“settings”: {
“enabled”: “yes”,
“installed_version”: “1.10.1”,
“types”: “”
},
“sharebymail”: {
“enabled”: “yes”,
“installed_version”: “1.18.0”,
“types”: “filesystem”
},
“support”: {
“SwitchUpdaterServerHasRun”: “yes”,
“enabled”: “yes”,
“installed_version”: “1.11.1”,
“types”: “session”
},
“survey_client”: {
“apps”: “yes”,
“database”: “yes”,
“enabled”: “yes”,
“encryption”: “yes”,
“files_sharing”: “yes”,
“installed_version”: “1.16.0”,
“php”: “yes”,
“server”: “yes”,
“stats”: “yes”,
“types”: “”
},
“systemtags”: {
“enabled”: “yes”,
“installed_version”: “1.18.0”,
“types”: “logging”
},
“text”: {
“enabled”: “yes”,
“installed_version”: “3.9.1”,
“types”: “dav”
},
“theming”: {
“backgroundMime”: “image/png”,
“cachebuster”: “13”,
“color”: “#b6469d”,
“enabled”: “yes”,
“faviconMime”: “image/jpeg”,
“installed_version”: “2.3.0”,
“logoMime”: “image/png”,
“logoheaderMime”: “image/png”,
“name”: “”,
“slogan”: “REMOVED SENSITIVE VALUE”,
“types”: “logging”,
“url”: “REMOVED SENSITIVE VALUE
},
“twofactor_backupcodes”: {
“enabled”: “yes”,
“installed_version”: “1.17.0”,
“types”: “”
},
“updatenotification”: {
“core”: “28.0.5.1”,
“enabled”: “yes”,
“installed_version”: “1.18.0”,
“types”: “”,
“update_check_errors”: “0”
},
“user_status”: {
“enabled”: “yes”,
“installed_version”: “1.8.1”,
“types”: “”
},
“viewer”: {
“enabled”: “yes”,
“installed_version”: “2.2.0”,
“types”: “”
},
“weather_status”: {
“enabled”: “yes”,
“installed_version”: “1.8.0”,
“types”: “”
},
“workflowengine”: {
“enabled”: “yes”,
“installed_version”: “2.10.0”,
“types”: “filesystem”
}
}
}

Thank you

You set the updatedirectory and you pointed it at your installation directory. This is the cause of your problems.

There’s a note that says don’t do this in the docs: Configuration Parameters — Nextcloud latest Administration Manual latest documentation

:slight_smile:

1 Like

:joy: :joy: :joy:
:crazy_face: :crazy_face: :crazy_face:
:clap: :+1: :wave:

1 Like

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