Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 20.0.5): 24.0.2
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04 lxc container on proxmox
Apache or nginx version (eg, Apache 2.4.25): nginx/1.23.1
PHP version (eg, 7.4): PHP 8.1.8
The issue you are facing:
root@nextcloud:~# 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
Disabled incompatible app: files_trackdownloads
Disabled incompatible app: imageconverter
Disabled incompatible app: ocdownloader
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 /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php on line 264 and defined in /var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php:65
Stack trace:
#0 /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php(264): OC\EventDispatcher\ServiceEventListener->__invoke()
#1 /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()
#2 /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
#3 /var/www/nextcloud/lib/private/EventDispatcher/SymfonyAdapter.php(122): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
#4 /var/www/nextcloud/lib/private/Files/Node/Node.php(118): OC\EventDispatcher\SymfonyAdapter->dispatch()
#5 /var/www/nextcloud/lib/private/Files/Node/File.php(133): OC\Files\Node\Node->sendHooks()
#6 /var/www/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php(149): OC\Files\Node\File->delete()
#7 /var/www/nextcloud/lib/private/Template/SCSSCacher.php(386): OC\Files\SimpleFS\SimpleFile->delete()
#8 /var/www/nextcloud/lib/private/Repair/ClearFrontendCaches.php(62): OC\Template\SCSSCacher->resetCache()
#9 /var/www/nextcloud/lib/private/Repair.php(124): OC\Repair\ClearFrontendCaches->run()
#10 /var/www/nextcloud/lib/private/Updater.php(293): OC\Repair->run()
#11 /var/www/nextcloud/lib/private/Updater.php(133): OC\Updater->doUpgrade()
#12 /var/www/nextcloud/core/Command/Upgrade.php(235): OC\Updater->upgrade()
#13 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Upgrade->execute()
#14 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run()
#15 /var/www/nextcloud/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
#16 /var/www/nextcloud/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#17 /var/www/nextcloud/lib/private/Console/Application.php(211): Symfony\Component\Console\Application->run()
#18 /var/www/nextcloud/console.php(100): OC\Console\Application->run()
#19 /var/www/nextcloud/occ(11): require_once('...')
#20 {main}
Is this the first time you’ve seen this error? (Y):
Steps to replicate it:
- Use web updater to initiate update
- Forget about that and click the button to continue the update the next day
- Get an error in the browser updater
- Get this error on the command line
The output of your Nextcloud log in Admin > Logging:
Please advise on how to get this in maintenance mode.
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => '000000000000000000',
'secret' => '0000000000000',
'trusted_domains' =>
array (
0 => '10.10.10.253',
1 => '000000000.dedyn.io',
2 => '0000000000.dedyn.io',
),
'datadirectory' => '/var/www/nextcloud/data',
'dbtype' => 'mysql',
'version' => '24.0.2.1',
'overwrite.cli.url' => 'https://000000000.dedyn.io',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => '00000000',
'installed' => true,
'instanceid' => '000000000',
'activity_expire_days' => 14,
'auth.bruteforce.protection.enabled' => true,
'blacklisted_files' =>
array (
0 => '.htaccess',
1 => 'Thumbs.db',
2 => 'thumbs.db',
3 => '.DS_Store',
),
'cron_log' => true,
'enable_previews' => true,
'preview_Movie_path' => '/usr/bin/ffmpeg',
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\PNG',
1 => 'OC\\Preview\\JPEG',
2 => 'OC\\Preview\\GIF',
3 => 'OC\\Preview\\BMP',
4 => 'OC\\Preview\\XBitmap',
5 => 'OC\\Preview\\Movie',
6 => 'OC\\Preview\\PDF',
7 => 'OC\\Preview\\MP3',
8 => 'OC\\Preview\\TXT',
9 => 'OC\\Preview\\MarkDown',
10 => 'OC\\Preview\\HEIC',
11 => 'OC\\Preview\\OpenDocument',
12 => 'OC\\Preview\\MSOffice2003',
13 => 'OC\\Preview\\MSOfficeDoc',
14 => 'OC\\Preview\\Image',
15 => 'OC\\Preview\\SVG',
16 => 'OC\\Preview\\Movie',
17 => 'OC\\Preview\\MP4',
18 => 'OC\\Preview\\AVI',
19 => 'OV\\Preview\\MKV',
20 => 'OC\\Preview\\TIFF',
21 => 'OC\\Preview\\FONT',
),
'filesystem_check_changes' => 0,
'filelocking.enabled' => 'true',
'htaccess.RewriteBase' => '/',
'integrity.check.disabled' => false,
'knowledgebaseenabled' => true,
'logfile' => '/var/log/nextcloud/nextcloud.log',
'loglevel' => 0,
'logtimezone' => 'Europe/Amsterdam',
'log_rotate_size' => '104857600',
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'overwriteprotocol' => 'https',
'preview_max_x' => 4096,
'preview_max_y' => 3072,
'preview_max_scale_factor' => 10,
'profile.enabled' => false,
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.5,
'dbindex' => 1,
),
'quota_include_external_storage' => false,
'share_folder' => '/Shares',
'skeletondirectory' => '',
'trashbin_retention_obligation' => 'auto',
'theme' => '',
'maintenance' => true,
'updater.release.channel' => 'stable',
'trusted_proxies' =>
array (
0 => '127.0.0.1',
1 => '::1',
),
'versions_retention_obligation' => 'auto, 365',
'simpleSignUpLink.shown' => false,
'app_install_overwrite' =>
array (
0 => 'apporder',
1 => 'files_trackdownloads',
2 => 'files_mindmap',
3 => 'files_readmemd',
4 => 'group_everyone',
5 => 'integration_whiteboard',
6 => 'camerarawpreviews',
7 => 'imageconverter',
8 => 'ocdownloader',
9 => 'twofactor_admin',
),
'log.condition' =>
array (
'apps' =>
array (
0 => 'admin_audit',
),
),
'updater.secret' => '0000',
);
The output of your Apache/nginx/system log in /var/log/____
:
The log file in the settings does not exist. ?
It looks like there is some version mismatch in symfony.