⚠️ This issue respects the following points: ⚠️
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
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
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"blacklisted_files": [
".htaccess",
"Thumbs.db",
"thumbs.db"
],
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"log_rotate_size": 104857600,
"loglevel": 0,
"trusted_domains": [
"REMOVED",
"REMOVED",
"REMOVED"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "24.0.3.2",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"forcessl": true,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"theme": "",
"maintenance": true,
"defaultapp": "files",
"appcodechecker": true,
"secret": "***REMOVED SENSITIVE VALUE***",
"xframe_restriction": false,
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"custom_csp_policy": "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:; media-src *",
"forceSSLforSubdomains": true,
"filelocking.enabled": "true",
"appstore.experimental.enabled": true,
"enable_previews": true,
"enabledPreviewProviders": [
"OC\\Preview\\PNG",
"OC\\Preview\\JPEG",
"OC\\Preview\\GIF",
"OC\\Preview\\BMP",
"OC\\Preview\\XBitmap",
"OC\\Preview\\Movie",
"OC\\Preview\\PDF",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown"
],
"trashbin_retention_obligation": "auto",
"0": 30,
"asset-pipeline.enabled": false,
"versions_retention_obligation": "auto, 120",
"updater.release.channel": "stable",
"auth.bruteforce.protection.enabled": true,
"appstoreenabled": true,
"overwrite.cli.url": "https:\/\/oc.awroblew.biz",
"mysql.utf8mb4": true,
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.local": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"activity_expire_days": 90,
"twofactor_enforced": "false",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [],
"app_install_overwrite": [
"calendar",
"apporder",
"mail",
"dashboardcharts",
"ocsms"
],
"mail_sendmailmode": "smtp",
"mail_smtpsecure": "ssl",
"default_phone_region": "GB",
"updater.secret": "***REMOVED SENSITIVE VALUE***"
}
}
List of activated Apps
Enabled:
- activity: 2.16.0
- admin_audit: 1.14.0
- apporder: 0.15.0
- calendar: 3.4.2
- circles: 24.0.1
- cloud_federation_api: 1.7.0
- contacts: 4.2.0
- contactsinteraction: 1.5.0
- cookbook: 0.9.13
- dav: 1.22.0
- federatedfilesharing: 1.14.0
- files: 1.19.0
- files_downloadactivity: 1.13.0
- files_external: 1.16.1
- files_markdown: 2.3.6
- files_pdfviewer: 2.5.0
- files_rightclick: 1.3.0
- files_sharing: 1.16.2
- files_trashbin: 1.14.0
- files_versions: 1.17.0
- files_videoplayer: 1.13.0
- groupfolders: 12.0.1
- logreader: 2.9.0
- lookup_server_connector: 1.12.0
- maps: 0.2.0
- mediadc: 0.1.9
- news: 18.1.0
- notes: 4.4.0
- notifications: 2.12.0
- oauth2: 1.12.0
- password_policy: 1.14.0
- photos: 1.6.0
- privacy: 1.8.0
- provisioning_api: 1.14.0
- qownnotesapi: 22.5.0
- recognize: 2.2.0
- serverinfo: 1.14.0
- settings: 1.6.0
- sharebymail: 1.14.0
- systemtags: 1.14.0
- tasks: 0.14.4
- text: 3.5.1
- theming: 1.15.0
- twofactor_backupcodes: 1.13.0
- twofactor_totp: 6.4.0
- updatenotification: 1.14.0
- video_converter: 1.0.5
- viewer: 1.8.0
- workflowengine: 2.6.0
Disabled:
- accessibility: 1.0.1
- analytics: 4.3.1
- bruteforcesettings: 2.4.0
- checksum: 1.1.4
- comments: 1.2.0
- dashboard: 7.2.0
- encryption
- event_update_notification: 1.5.0
- federation: 1.0.1
- firstrunwizard: 1.1
- gpxedit: 0.0.14
- gpxpod: 4.3.0
- impersonate: 1.11.0
- mail: 1.13.8
- nextcloud_announcements: 1.1
- ocsms: 2.2.0
- ransomware_protection: 1.13.0
- recommendations: 1.0.0
- support: 1.0.0
- survey_client: 0.1.5
- user_ldap
- user_status: 1.1.1
- weather_status: 1.2.0
- workflow_media_converter: 1.4.0
Nextcloud Signing status
unable to do that as my NC is in maintenance mode
Nextcloud Logs
No response
Additional info
No response
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