Backup failure during migration

Any idea why my migration fails with this message? No, I’m not out of disk space.

  • Initializing

Current version is 10.8.0.
Migration to Nextcloud 12.0.12 available.
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-12.0.12.zip
Retry update

  • Check for expected files

  • Check for write permissions

  • Enable maintenance mode

  • Create backup

Could not copy “/var/www/owncloud/lib/private/legacy/Outil.php” to “/var/www/owncloud/data/updater-ocdyk8ts08at/backups/nextcloud-10.8.0.4/lib/private/legacy/Outil.php”

There is a file called updater.log, which contains this, if it helps:

2022-01-23T09:40:46-0500 MUywT3a1Kp [error] Exception: Exception

Message: Could not copy “/var/www/owncloud/lib/private/legacy/Outil.php” to “/var/www/owncloud/data/updater-ocdyk8ts08at/backups/nextcloud-10.8.0.4/lib/private/legacy/Outil.php”

Code:0

Trace:

#0 /var/www/owncloud/updater/index.php(1210): Updater->createBackup()

#1 {main}

File:/var/www/owncloud/updater/index.php

Line:465

2022-01-23T09:40:46-0500 MUywT3a1Kp [info] rollbackChanges(“4”)

2022-01-23T09:40:46-0500 MUywT3a1Kp [info] unlink .step

2022-01-23T09:40:46-0500 MUywT3a1Kp [info] end of rollbackChanges()