-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Upgrade from 24.0.3 to 24.0.4 failed #33520
Comments
Same here: Environment: Lateron log reports:
Tried to disable several apps that complained. |
Trying to run "occ maintenance:repair" results in:
Next step (tested on a system where update to 24.0.4 worked) should be:
Maybe this helps to narrow things down? |
Commented few lines in ./lib/private/Repair/ClearFrontendCaches.php and reran "occ maintenance:repair" (this time without errors) and nextcloud is up and running again:
But maybe this has other consequences... |
Having the same issue. My setup is pretty much the same as @alfwro13, but I use Apache. I got a similar exception when I tried to update the apps via |
Same issue, unfortunately the web-based updater gives 0 information except "an error has ocurred" and the logs were empty.. How did this get through testing if already so many are having issues? |
I ran into the same Issue. Found the following in the log, which sounds related. It Complains that
|
After further research I could pin the error to Then Looking into the repository there is already an Issue: |
Definitely not a long term solution but I can confirm that it did work for me. Will be reinstalling everything from scratch asap, these internal server errors I was getting before the update do not bode well. |
I had a similar problem from upgrading the docker image from
I didn't have to edit any files. Now my install is back online. |
Bug description
root# sudo -u u1005 php8.0 /installation/path/occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Updating database schema
Updated database
An unhandled exception has been thrown:
TypeError: OC\EventDispatcher\ServiceEventListener::__invoke(): Argument #1 ($event) must be of type OCP\EventDispatcher\Event, OC\EventDispatcher\GenericEventWrapper given, called in /installation/path/3rdparty/symfony/event-dispatcher/EventDispatcher.php on line 264 and defined in /installation/path/lib/private/EventDispatcher/ServiceEventListener.php:65
Stack trace:
#0 /installation/path/3rdparty/symfony/event-dispatcher/EventDispatcher.php(264): OC\EventDispatcher\ServiceEventListener->__invoke()
#1 /installation/path/3rdparty/symfony/event-dispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()
#2 /installation/path/3rdparty/symfony/event-dispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
#3 /installation/path/lib/private/EventDispatcher/SymfonyAdapter.php(122): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
#4 /installation/path/lib/private/Files/Node/Node.php(118): OC\EventDispatcher\SymfonyAdapter->dispatch()
#5 /installation/path/lib/private/Files/Node/File.php(133): OC\Files\Node\Node->sendHooks()
#6 /installation/path/lib/private/Files/SimpleFS/SimpleFile.php(149): OC\Files\Node\File->delete()
#7 /installation/path/lib/private/Template/SCSSCacher.php(386): OC\Files\SimpleFS\SimpleFile->delete()
#8 /installation/path/lib/private/Repair/ClearFrontendCaches.php(62): OC\Template\SCSSCacher->resetCache()
#9 /installation/path/lib/private/Repair.php(124): OC\Repair\ClearFrontendCaches->run()
#10 /installation/path/lib/private/Updater.php(293): OC\Repair->run()
#11 /installation/path/lib/private/Updater.php(133): OC\Updater->doUpgrade()
#12 /installation/path/core/Command/Upgrade.php(235): OC\Updater->upgrade()
#13 /installation/path/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Upgrade->execute()
#14 /installation/path/3rdparty/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run()
#15 /installation/path/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
#16 /installation/path/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#17 /installation/path/lib/private/Console/Application.php(211): Symfony\Component\Console\Application->run()
#18 /installation/path/console.php(100): OC\Console\Application->run()
#19 /installation/path/occ(11): require_once('/home/clients_s...')
Steps to reproduce
1.root# sudo -u u1005 php8.0 /installation/path/occ upgrade
2.
3.
Expected behavior
should upgrade to 24.0.4 version
Installation method
Manual installation
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.0
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 22.2.3 to 22.2.4)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: