Hi
I just wanted to update the app in my nextcloud 20 as it was suggested in the app-management. Well, it did not work. Nextcloud was sent in maintenance mode.
Disabling maintenance mode and redo the update in GUI returned:
## Aktualisierung auf 20.0.4
Es ist ein Fehler aufgetreten.
Detaillierte Protokollmeldungen
Update vorbereiten
Log-Level auf “debug” gesetzt
Reparaturschritt: Repair MySQL collation
Reparaturinformation: All tables already have the correct collation -> nothing to do
Reparaturschritt: Repair SQLite autoincrement
Reparaturschritt: Copy data from accounts table when migrating from ownCloud
Reparaturschritt: Drop account terms table when migrating from ownCloud
Das Datenbankschema wird aktualisiert -->Translation: Databasescheme updating
Datenbank aktualisiert --> Translation: Database updated
Es ist ein Fehler aufgetreten. --> Translation: Error occured
[Bitte die Seite neu laden.] --> Translation: Please reload site
–> sending site in maintenance mode again.
CLI upgrade returns following:
An unhandled exception has been thrown:
ParseError: syntax error, unexpected 'ConfigurationService' (T_STRING), expecting function
(T_FUNCTION) or const (T_CONST) in /config/www/nextcloud/apps/passwords/lib/Migration/DatabaseObjectRepair.php:39
Stack trace:
#0 /config/www/nextcloud/lib/composer/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/config/www/nex...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('OCA\\Passwords\\M...')
#2 [internal function]: spl_autoload_call('OCA\\Passwords\\M...')
#3 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(107): ReflectionClass->__construct('OCA\\Passwords\\M...')
#4 /config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(126): OC\AppFramework\Utility\SimpleContainer->resolve('OCA\\Passwords\\M...')
#5 /config/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(455): OC\AppFramework\Utility\SimpleContainer->query('OCA\\Passwords\\M...')
#6 /config/www/nextcloud/lib/private/ServerContainer.php(140): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('OCA\\Passwords\\M...')
#7 /config/www/nextcloud/lib/private/Repair.php(124): OC\ServerContainer->query('OCA\\Passwords\\M...')
#8 /config/www/nextcloud/lib/private/legacy/OC_App.php(1035): OC\Repair->addStep('OCA\\Passwords\\M...')
#9 /config/www/nextcloud/lib/private/legacy/OC_App.php(979): OC_App::executeRepairSteps('passwords', Array)
#10 /config/www/nextcloud/lib/private/Updater.php(379): OC_App::updateApp('passwords')
#11 /config/www/nextcloud/lib/private/Updater.php(258): OC\Updater->doAppUpgrade()
#12 /config/www/nextcloud/lib/private/Updater.php(130): OC\Updater->doUpgrade('20.0.4.0', '20.0.4.0')
#13 /config/www/nextcloud/core/Command/Upgrade.php(255): OC\Updater->upgrade()
#14 /config/www/nextcloud/apps/mail/vendor/symfony/console/Command/Command.php(258): OC\Core\Command\Upgrade->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /config/www/nextcloud/apps/mail/vendor/symfony/console/Application.php(920): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /config/www/nextcloud/apps/mail/vendor/symfony/console/Application.php(266): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Upgrade), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /config/www/nextcloud/apps/mail/vendor/symfony/console/Application.php(142): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /config/www/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /config/www/nextcloud/console.php(100): OC\Console\Application->run()
#20 /config/www/nextcloud/occ(11): require_once('/config/www/nex...')
I can get everything out of my backups. But I rather not do that unless I have to. Anyone has an idea?
Thank you!