Hi!
I’ve encountered an error while migrate nextcloud 23 to 24.
Here is my configuration:
Nextcloud versions : `23 to 24`
Operating system and version : `Debian Bullseye`
Apache: `2.4.56`
PHP version : `8.0`
When I run occ upgrade
command, I’ve this error message:
Setting log level to debug
Updating database schema
Updated database
UnexpectedValueException: The files of the app “files” were not correctly replaced before running the update
Update failed
Here are nextcloud’s logs:>
{“reqId”:“UOyCdt0EsLYoJUUuCZ7y”,“level”:3,“time”:“2023-07-22T11:20:54+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“no app in context”,“method”:“”,“ur
l”:“–”,“message”:“The files of the app "files" were not correctly replaced before running the update”,“userAgent”:“–”,“version”:“23.0.12.2”,“e
xception”:{“Exception”:“UnexpectedValueException”,“Message”:“The files of the app "files" were not correctly replaced before running the update”
,“Code”:0,“Trace”:[{“file”:“/home/lchevalier/nuage/sources/nextcloud-24.0.12/lib/private/Updater.php”,“line”:264,“function”:“checkAppsRequirements
“,“class”:“OC\Updater”,“type”:”->”},{“file”:“/home/lchevalier/nuage/sources/nextcloud-24.0.12/lib/private/Updater.php”,“line”:133,“function”:“doU
pgrade”,“class”:“OC\Updater”,“type”:“->”},{“file”:“/home/lchevalier/nuage/sources/nextcloud-24.0.12/core/Command/Upgrade.php”,“line”:235,“functio
n”:“upgrade”,“class”:“OC\Updater”,“type”:“->”},{“file”:“/home/lchevalier/nuage/sources/nextcloud-24.0.12/3rdparty/symfony/console/Command/Command
.php”,“line”:255,“function”:“execute”,“class”:“OC\Core\Command\Upgrade”,“type”:“->”},{“file”:“/home/lchevalier/nuage/sources/nextcloud-24.0.12/
3rdparty/symfony/console/Application.php”,“line”:1009,“function”:“run”,“class”:“Symfony\Component\Console\Command\Command”,“type”:“->”},{“file
“:”/home/lchevalier/nuage/sources/nextcloud-24.0.12/3rdparty/symfony/console/Application.php”,“line”:273,“function”:“doRunCommand”,“class”:“Symfon
y\Component\Console\Application”,“type”:“->”},{“file”:“/home/lchevalier/nuage/sources/nextcloud-24.0.12/3rdparty/symfony/console/Application.ph
p”,“line”:149,“function”:“doRun”,“class”:“Symfony\Component\Console\Application”,“type”:“->”},{“file”:“/home/lchevalier/nuage/sources/nextcloud
-24.0.12/lib/private/Console/Application.php”,“line”:211,“function”:“run”,“class”:“Symfony\Component\Console\Application”,“type”:“->”},{“file”:
“/home/lchevalier/nuage/sources/nextcloud-24.0.12/console.php”,“line”:100,“function”:“run”,“class”:“OC\Console\Application”,“type”:“->”}],“File”
:“/home/lchevalier/nuage/sources/nextcloud-24.0.12/lib/private/Updater.php”,“Line”:384,“message”:“The files of the app "files" were not correctl
y replaced before running the update”,“exception”:{},“CustomMessage”:“The files of the app "files" were not correctly replaced before running th
e update”}}
{“reqId”:“UOyCdt0EsLYoJUUuCZ7y”,“level”:3,“time”:“2023-07-22T11:20:54+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“updater”,“method”:“”,“url”:“–”,“m
essage”:“\OC\Updater::failure: UnexpectedValueException: The files of the app "files" were not correctly replaced before running the update”,"
userAgent":“–”,“version”:“23.0.12.2”,“data”:{“app”:“updater”}}
{“reqId”:“UOyCdt0EsLYoJUUuCZ7y”,“level”:3,“time”:“2023-07-22T11:20:54+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“updater”,“method”:“”,“url”:“–”,“m
essage”:“\OC\Updater::updateEnd: Update failed”,“userAgent”:“–”,“version”:“23.0.12.2”,“data”:{“app”:“updater”}}
{“reqId”:“UOyCdt0EsLYoJUUuCZ7y”,“level”:1,“time”:“2023-07-22T11:20:54+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“updater”,“method”:“”,“url”:“–”,“m
essage”:“\OC\Updater::maintenanceActive: Maintenance mode is kept active”,“userAgent”:“–”,“version”:“23.0.12.2”,“data”:{“app”:“updater”}}
{“reqId”:“UOyCdt0EsLYoJUUuCZ7y”,“level”:1,“time”:“2023-07-22T11:20:54+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“updater”,“method”:“”,“url”:“–”,“m
essage”:“\OC\Updater::resetLogLevel: Reset log level to Warning(2)”,“userAgent”:“–”,“version”:“23.0.12.2”,“data”:{“app”:“updater”}}
Can someone give me some tricks to issue this error?
Thanks.