Nextcloud Office reconnecting message

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

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 :heart:

Nextcloud version (eg, 20.0.5): 27.0.2
Operating system and version _Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.52-1ubuntu4.6
PHP version (eg, 7.4): PHP 8.1.2-1ubuntu2.13

The issue you are facing:
When in Nextcloud Office an image is displayed of a file box and the message “Reconnecting”. Also around this time the system becomes unusable, pages won’t load or a extremely slow in loading.

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

It seems pretty random but can sometimes trigger it by doing an @mention in the chat while working on a file in Nextcloud Office.

The output of your Nextcloud log in Admin > Logging:

[core] Error: TypeError: OC\User\User::__construct(): Argument #3 ($dispatcher) must be of type Symfony\Component\EventDispatcher\EventDispatcherInterface, OC\EventDispatcher\EventDispatcher given, called in /var/www/html/apps/collectives/lib/Versions/CollectiveVersionsExpireManager.php on line 121 at <<closure>>

0. /var/www/html/apps/collectives/lib/Versions/CollectiveVersionsExpireManager.php line 121
   OC\User\User->__construct()
1. /var/www/html/apps/collectives/lib/Versions/CollectiveVersionsExpireManager.php line 96
   OCA\Collectives\Versions\CollectiveVersionsExpireManager->expireFolder()
2. /var/www/html/apps/collectives/lib/BackgroundJob/ExpirePageVersions.php line 35
   OCA\Collectives\Versions\CollectiveVersionsExpireManager->expireAll()
3. /var/www/html/lib/public/BackgroundJob/Job.php line 81
   OCA\Collectives\BackgroundJob\ExpirePageVersions->run()
4. /var/www/html/lib/public/BackgroundJob/TimedJob.php line 103
   OCP\BackgroundJob\Job->start()
5. /var/www/html/lib/public/BackgroundJob/TimedJob.php line 93
   OCP\BackgroundJob\TimedJob->start()
6. /var/www/html/cron.php line 152
   OCP\BackgroundJob\TimedJob->execute()

at 2023-08-22T13:40:01+00:00

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
  'instanceid' => #######,
  'passwordsalt' => ########,
  'secret' => ########,
  'trusted_domains' =>
  array (
    0 => #######,
  ),
  'datadirectory' => '/data/ncdata',
  'dbtype' => 'pgsql',
  'version' => '27.0.2.1',
  'overwrite.cli.url' => ########,
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => #######,
  'dbpassword' => #######,
  'installed' => true,
  'filelocking.enabled' => true,
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => 'localhost',
    'port' => 6379,
  ),
  'skeletondirectory' => '',
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'default_phone_region' => 'US',
  'mail_from_address' => #####,
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => ######,
  'mail_smtphost' => ############,
  'mail_smtpport' => '25',
  'mail_smtpauth' => 1,
  'mail_smtpname' => #######,
  'mail_smtppassword' => #######,
);

The output of your Apache/nginx/system log in /var/log/____:


[Tue Aug 22 00:00:01.890352 2023] [mpm_event:notice] [pid 999:tid 139954192504704] AH00489: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations
[Tue Aug 22 00:00:01.890906 2023] [core:notice] [pid 999:tid 139954192504704] AH00094: Command line: '/usr/sbin/apache2'
[Tue Aug 22 13:54:12.708740 2023] [mpm_event:notice] [pid 999:tid 139954192504704] AH00492: caught SIGWINCH, shutting down gracefully
[Tue Aug 22 13:54:16.068041 2023] [core:warn] [pid 999:tid 139954192504704] AH00045: child process 7089 still did not exit, sending a SIGTERM
[Tue Aug 22 13:54:16.068114 2023] [core:warn] [pid 999:tid 139954192504704] AH00045: child process 7146 still did not exit, sending a SIGTERM
[Tue Aug 22 13:54:17.711025 2023] [http2:warn] [pid 7146:tid 139954192504704] AH10291: h2_workers: cleanup, 7 idle workers did not exit after 5 seconds.
[Tue Aug 22 13:54:17.714272 2023] [http2:warn] [pid 7089:tid 139954192504704] AH10291: h2_workers: cleanup, 9 idle workers did not exit after 5 seconds.
[Tue Aug 22 13:54:18.133225 2023] [mpm_event:notice] [pid 19474:tid 140441052624768] AH00489: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations
[Tue Aug 22 13:54:18.133322 2023] [core:notice] [pid 19474:tid 140441052624768] AH00094: Command line: '/usr/sbin/apache2'

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

Error core TypeError: OC\User\User::__construct(): Argument #3 ($dispatcher) must be of type Symfony\Component\EventDispatcher\EventDispatcherInterface, OC\EventDispatcher\EventDispatcher given, called in /var/www/html/apps/collectives/lib/Versions/CollectiveVersionsExpireManager.php on line 121 2023-08-22T09:40:01-0400
Error no app in context OCA\DAV\Connector\Sabre\Exception\FileLocked: “Documents/IT Spending Database/IT Spending.accdb” is locked, existing lock on file: 2 shared locks 2023-08-22T09:10:39-0400
Error no app in context OCA\DAV\Connector\Sabre\Exception\FileLocked: “Documents/IT Spending Database/IT Spending.accdb” is locked, existing lock on file: 2 shared locks 2023-08-22T09:10:03-0400
Error no app in context OCA\DAV\Connector\Sabre\Exception\FileLocked: “Documents/IT Spending Database/IT Spending.accdb” is locked, existing lock on file: 2 shared locks 2023-08-22T09:10:01-0400
Error no app in context OCA\DAV\Connector\Sabre\Exception\FileLocked: “Documents/IT Spending Database/IT Spending.accdb” is locked, existing lock on file: 2 shared locks 2023-08-22T09:09:58-0400
Error no app in context OCA\DAV\Connector\Sabre\Exception\FileLocked: “Documents/IT Spending Database/IT Spending.accdb” is locked, existing lock on file: 2 shared locks 2023-08-22T09:09:55-0400
Error core TypeError: OC\User\User::__construct(): Argument #3 ($dispatcher) must be of type Symfony\Component\EventDispatcher\EventDispatcherInterface, OC\EventDispatcher\EventDispatcher given, called in /var/www/html/apps/collectives/lib/Versions/CollectiveVersionsExpireManager.php on line 121 2023-08-22T08:35:01-0400
Error core TypeError: OC\User\User::__construct(): Argument #3 ($dispatcher) must be of type Symfony\Component\EventDispatcher\EventDispatcherInterface, OC\EventDispatcher\EventDispatcher given, called in /var/www/html/apps/collectives/lib/Versions/CollectiveVersionsExpireManager.php on line 121 2023-08-22T07:30:02-0400
Error core TypeError: OC\User\User::__construct(): Argument #3 ($dispatcher) must be of type Symfony\Component\EventDispatcher\EventDispatcherInterface, OC\EventDispatcher\EventDispatcher given, called in /var/www/html/apps/collectives/lib/Versions/CollectiveVersionsExpireManager.php on line 121 2023-08-22T06:30:01-0400
Error core TypeError: OC\User\User::__construct(): Argument #3 ($dispatcher) must be of type Symfony\Component\EventDispatcher\EventDispatcherInterface, OC\EventDispatcher\EventDispatcher given, called in /var/www/html/apps/collectives/lib/Versions/CollectiveVersionsExpireManager.php on line 121 2023-08-22T05:25:02-0400
Error core TypeError: OC\User\User::__construct(): Argument #3 ($dispatcher) must be of type Symfony\Component\EventDispatcher\EventDispatcherInterface, OC\EventDispatcher\EventDispatcher given, called in /var/www/html/apps/collectives/lib/Versions/CollectiveVersionsExpireManager.php on line 121 2023-08-22T04:25:01-0400
Error core TypeError: OC\User\User::__construct(): Argument #3 ($dispatcher) must be of type Symfony\Component\EventDispatcher\EventDispatcherInterface, OC\EventDispatcher\EventDispatcher given, called in /var/www/html/apps/collectives/lib/Versions/CollectiveVersionsExpireManager.php on line 121 2023-08-22T03:20:02-0400
Error core TypeError: OC\User\User::__construct(): Argument #3 ($dispatcher) must be of type Symfony\Component\EventDispatcher\EventDispatcherInterface, OC\EventDispatcher\EventDispatcher given, called in /var/www/html/apps/collectives/lib/Versions/CollectiveVersionsExpireManager.php on line 121
1 Like

I am no longer seeing this issue. I’m not exactly sure what resolved it.

Still have the issue here. Did you upgrade any packages in Ubuntu maybe?

I did have an issue with the opcache configuration, and I did resolve that around that time, so it’s possible that was playing a part. I can’t say for sure.