Nextcloud office Editors staying signed in

Nextcloud version : 25.0.1
Operating system and version : 22.04.1 LTS
Apache or nginx version : Apache/2.4.52
PHP version : 8.1.2

I’m currently have an issue with the editing features of Nextcloud Office, Users are not being logged out properly every time, so after a few days i can find that I’m shown in the “follow editors” section multiple times. this eventually builds to the system being slow to respond and not auto saving.

I’m using the latest version of Nextcloud Office and the built in CODE server.

The output of your Nextcloud log in Admin > Logging:

Host 127.0.1.1 was not connected to because it violates local access rules

(may be unrelated?)

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

<?php
$CONFIG = array (
  'instanceid' => 'REMOVED',
  'passwordsalt' => 'REMOVED',
  'secret' => 'REMOVED',
  'trusted_domains' => 
  array (
    0 => 'REMOVED',
  ),
  'datadirectory' => 'REMOVED',
  'dbtype' => 'mysql',
  'version' => '25.0.1.1',
  'overwrite.cli.url' => 'REMOVED',
  'dbname' => 'REMOVED',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'REMOVED',
  'dbpassword' => 'REMOVED',
  'installed' => true,
  'maintenance' => false,
  'default_phone_region' => 'UK',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'app_install_overwrite' => 
  array (
    0 => 'richdocumentscode',
  ),
  'updater.release.channel' => 'stable',
  'mail_from_address' => 'REMOVED',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'REMOVED',
  'mail_smtpsecure' => 'REMOVED',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => 'REMOVED',
  'mail_smtpport' => 'REMOVED',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'REMOVED',
  'mail_smtppassword' => 'REMOVED',
  'updater.secret' => 'REMOVED',
  'theme' => '',
  'loglevel' => 2,
);