- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 4.6k
Description
⚠️  This issue respects the following points: ⚠️ 
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
After ungrading to 24.0.1.1 on a Centos 7 system, logged in users are able to use the system as normal, however, logging out and then trying to log back in results in "Internal Server Error" page.
Appears that it affects existing users pre-upgrade - was able to create a local user post-upgrade using occ and was then able to log in with that local user.
UPDATE: This appears to be the same issue as #32598 and the temp fix of changing line 104 in lib/private/Authentication/LoginCredentials/Store.php solves the issue:
remove --> $this->logger->debug('could not get login credentials because the token is invalid: ' . $ex->getMessage(), ['app' => 'core', 'exception' => $ex]);
replace with--> $this->logger->debug('could not get login credentials because the token is invalid', ['app' => 'core']);
Steps to reproduce
- Upgrade to 24.0.1.1 beginning with web and complete using occ commandline
- Log out
- Try to log in.
Expected behavior
Log in and out as normal
Installation method
Manual installation
Operating system
RHEL/CentOS
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.kinghealthassoc.com",
            "192.168.152.216",
            "192.168.*.*"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "24.0.1.1",
        "default_phone_region": "US",
        "overwrite.cli.url": "https:\/\/cloud.kinghealthassoc.com",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_sendmailmode": "smtp",
        "mail_smtpport": "25",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "knowledgebaseenabled": true,
        "allow_user_to_change_display_name": true,
        "trashbin_retention_obligation": "auto",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "maintenance": false,
        "allow_local_remote_servers": true,
        "onlyoffice": {
            "verify_peer_off": true
        },
        "theme": "",
        "loglevel": 0,
        "mysql.utf8mb4": false,
        "app_install_overwrite": [
            "sharepermissions",
            "drawio",
            "calendar_resource_management",
            "suspicious_login"
        ],
        "data-fingerprint": "9ab046c412ec3f42ee1f13d8c41bc1e0"
    }
}List of activated Apps
Enabled:
  - accessibility: 1.10.0
  - activity: 2.16.0
  - admin_audit: 1.14.0
  - analytics: 4.3.0
  - announcementcenter: 6.3.1
  - appointments: 1.12.6
  - apporder: 0.15.0
  - bookmarks: 10.4.0
  - bruteforcesettings: 2.4.0
  - calendar: 3.3.2
  - calendar_resource_management: 0.1.0
  - cloud_federation_api: 1.7.0
  - comments: 1.14.0
  - contacts: 4.1.1
  - contactsinteraction: 1.5.0
  - dashboard: 7.4.0
  - dav: 1.22.0
  - deck: 1.7.1
  - event_update_notification: 1.5.0
  - external: 4.0.0
  - extract: 1.3.5
  - federatedfilesharing: 1.14.0
  - files: 1.19.0
  - files_accesscontrol: 1.14.0
  - files_antivirus: 3.3.0
  - files_external: 1.16.1
  - files_fulltextsearch: 24.0.0
  - files_fulltextsearch_tesseract: 24.0.0
  - files_inotify: 0.1.12
  - files_linkeditor: 1.1.10
  - files_lock: 24.0.0
  - files_markdown: 2.3.6
  - files_mindmap: 0.0.26
  - files_pdfviewer: 2.5.0
  - files_readmemd: 1.2.2
  - 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
  - files_zip: 1.1.1
  - forms: 2.5.1
  - fulltextsearch: 24.0.0
  - fulltextsearch_elasticsearch: 24.0.0
  - group_everyone: 0.1.10
  - groupfolders: 12.0.0
  - groupquota: 0.1.8
  - integration_openproject: 1.0.6
  - integration_suitecrm: 1.0.3
  - integration_zammad: 1.0.3
  - logreader: 2.9.0
  - lookup_server_connector: 1.12.0
  - mail: 1.13.4
  - notes: 4.3.1
  - notifications: 2.12.0
  - oauth2: 1.12.0
  - onlyoffice: 7.3.4
  - password_policy: 1.14.0
  - passwords: 2022.6.10
  - polls: 3.6.1
  - previewgenerator: 5.0.0
  - privacy: 1.8.0
  - provisioning_api: 1.14.0
  - ransomware_protection: 1.13.0
  - serverinfo: 1.14.0
  - settings: 1.6.0
  - sharebymail: 1.14.0
  - sharepermissions: 1.0.1
  - sharingpath: 0.4.4
  - side_menu: 2.4.0
  - spreed: 14.0.2
  - systemtags: 1.14.0
  - text: 3.5.1
  - theming: 1.15.0
  - twofactor_backupcodes: 1.13.0
  - updatenotification: 1.14.0
  - user_ldap: 1.14.1
  - user_status: 1.4.0
  - viewer: 1.8.0
  - weather_status: 1.4.0
  - workflowengine: 2.6.0
Disabled:
  - circles: 0.19.11
  - cms_pico: 1.0.19
  - drawio: 1.0.3
  - encryption
  - federation: 1.9.0
  - firstrunwizard: 2.8.0
  - geoblocker: 0.5.5
  - impersonate: 1.11.0
  - nextcloud_announcements: 1.8.0
  - photos: 1.1.0
  - recommendations: 0.7.0
  - support: 1.2.1
  - survey_client: 1.7.0
  - suspicious_login: 4.1.0
  - tasks: 0.14.4
  - twofactor_totp: 6.4.0Nextcloud Signing status
No response
Nextcloud Logs
{
  "reqId": "YqkoNkYOuyBJVvQhmj9xggAAAAE",
  "level": 0,
  "time": "2022-06-15T00:30:47+00:00",
  "remoteAddr": "50.214.41.170",
  "user": "e73db094-bbeb-1039-81d3-db0464f6f96e",
  "app": "core",
  "method": "POST",
  "url": "/index.php/login",
  "message": "could not get login credentials because the token is invalid: Token does not exist: token does not exist",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36",
  "version": "24.0.1.1",
  "exception": {
    "Exception": "OC\\Authentication\\Exceptions\\InvalidTokenException",
    "Message": "Token does not exist: token does not exist",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/html/lib/private/Authentication/Token/Manager.php",
        "line": 133,
        "function": "getToken",
        "class": "OC\\Authentication\\Token\\PublicKeyTokenProvider",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/html/lib/private/Authentication/LoginCredentials/Store.php",
        "line": 93,
        "function": "getToken",
        "class": "OC\\Authentication\\Token\\Manager",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/html/apps/files_external/lib/Lib/Auth/Password/SessionCredentials.php",
        "line": 55,
        "function": "getLoginCredentials",
        "class": "OC\\Authentication\\LoginCredentials\\Store",
        "type": "->",
        "args": []
      },
      {
        "file": "/var/www/html/apps/files_external/lib/Config/ConfigAdapter.php",
        "line": 88,
        "function": "manipulateStorageConfig",
        "class": "OCA\\Files_External\\Lib\\Auth\\Password\\SessionCredentials",
        "type": "->",
        "args": [
          "*** sensitive parameter replaced ***",
          "*** sensitive parameter replaced ***"
        ]
      },
      {
        "file": "/var/www/html/apps/files_external/lib/Config/ConfigAdapter.php",
        "line": 124,
        "function": "prepareStorageConfig",
        "class": "OCA\\Files_External\\Config\\ConfigAdapter",
        "type": "->",
        "args": [
          "*** sensitive parameter replaced ***",
          "*** sensitive parameter replaced ***"
        ]
      },
      {
        "function": "OCA\\Files_External\\Config\\{closure}",
        "class": "OCA\\Files_External\\Config\\ConfigAdapter",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/html/apps/files_external/lib/Config/ConfigAdapter.php",
        "line": 122,
        "function": "array_map",
        "args": [
          {
            "__class__": "Closure"
          },
          {
            "14": {
              "__class__": "OCA\\Files_External\\Lib\\StorageConfig"
            },
            "32": {
              "__class__": "OCA\\Files_External\\Lib\\StorageConfig"
            },
            "35": {
              "__class__": "OCA\\Files_External\\Lib\\StorageConfig"
            },
            "36": {
              "__class__": "OCA\\Files_External\\Lib\\StorageConfig"
            },
            "37": {
              "__class__": "OCA\\Files_External\\Lib\\StorageConfig"
            }
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/Files/Config/MountProviderCollection.php",
        "line": 124,
        "function": "getMountsForUser",
        "class": "OCA\\Files_External\\Config\\ConfigAdapter",
        "type": "->",
        "args": [
          "*** sensitive parameter replaced ***",
          {
            "__class__": "OC\\Files\\Storage\\StorageFactory"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/Files/SetupManager.php",
        "line": 213,
        "function": "addMountForUser",
        "class": "OC\\Files\\Config\\MountProviderCollection",
        "type": "->",
        "args": [
          "*** sensitive parameter replaced ***",
          {
            "__class__": "OC\\Files\\Mount\\Manager"
          },
          {
            "__class__": "Closure"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/Files/SetupManager.php",
        "line": 302,
        "function": "OC\\Files\\{closure}",
        "class": "OC\\Files\\SetupManager",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/html/lib/private/Files/SetupManager.php",
        "line": 214,
        "function": "setupForUserWith",
        "class": "OC\\Files\\SetupManager",
        "type": "->",
        "args": [
          "*** sensitive parameter replaced ***",
          {
            "__class__": "Closure"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/Files/Filesystem.php",
        "line": 379,
        "function": "setupForUser",
        "class": "OC\\Files\\SetupManager",
        "type": "->",
        "args": [
          "*** sensitive parameter replaced ***"
        ]
      },
      {
        "file": "/var/www/html/lib/private/Cache/File.php",
        "line": 57,
        "function": "initMountPoints",
        "class": "OC\\Files\\Filesystem",
        "type": "::",
        "args": [
          "e73db094-bbeb-1039-81d3-db0464f6f96e"
        ]
      },
      {
        "file": "/var/www/html/lib/private/Cache/File.php",
        "line": 178,
        "function": "getStorage",
        "class": "OC\\Cache\\File",
        "type": "->",
        "args": []
      },
      {
        "file": "/var/www/html/lib/base.php",
        "line": 831,
        "function": "gc",
        "class": "OC\\Cache\\File",
        "type": "->",
        "args": []
      },
      {
        "function": "{closure}",
        "class": "OC",
        "type": "::",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/html/lib/private/Hooks/EmitterTrait.php",
        "line": 106,
        "function": "call_user_func_array",
        "args": [
          {
            "__class__": "Closure"
          },
          [
            "*** sensitive parameter replaced ***",
            "*** sensitive parameter replaced ***",
            "*** sensitive parameter replaced ***",
            "*** sensitive parameter replaced ***"
          ]
        ]
      },
      {
        "file": "/var/www/html/lib/private/Hooks/PublicEmitter.php",
        "line": 40,
        "function": "emit",
        "class": "OC\\Hooks\\BasicEmitter",
        "type": "->",
        "args": [
          "\\OC\\User",
          "postLogin",
          [
            "*** sensitive parameter replaced ***",
            "*** sensitive parameter replaced ***",
            "*** sensitive parameter replaced ***",
            "*** sensitive parameter replaced ***"
          ]
        ]
      },
      {
        "file": "/var/www/html/lib/private/User/Session.php",
        "line": 400,
        "function": "emit",
        "class": "OC\\Hooks\\PublicEmitter",
        "type": "->",
        "args": [
          "\\OC\\User",
          "postLogin",
          [
            "*** sensitive parameter replaced ***",
            "*** sensitive parameter replaced ***",
            "*** sensitive parameter replaced ***",
            "*** sensitive parameter replaced ***"
          ]
        ]
      },
      {
        "file": "/var/www/html/lib/private/Authentication/Login/CompleteLoginCommand.php",
        "line": 44,
        "function": "completeLogin",
        "class": "OC\\User\\Session",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/html/lib/private/Authentication/Login/ALoginCommand.php",
        "line": 40,
        "function": "process",
        "class": "OC\\Authentication\\Login\\CompleteLoginCommand",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\Authentication\\Login\\LoginData"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/Authentication/Login/LoggedInCheckCommand.php",
        "line": 60,
        "function": "processNextOrFinishSuccessfully",
        "class": "OC\\Authentication\\Login\\ALoginCommand",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\Authentication\\Login\\LoginData"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/Authentication/Login/ALoginCommand.php",
        "line": 40,
        "function": "process",
        "class": "OC\\Authentication\\Login\\LoggedInCheckCommand",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\Authentication\\Login\\LoginData"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/Authentication/Login/EmailLoginCommand.php",
        "line": 58,
        "function": "processNextOrFinishSuccessfully",
        "class": "OC\\Authentication\\Login\\ALoginCommand",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\Authentication\\Login\\LoginData"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/Authentication/Login/ALoginCommand.php",
        "line": 40,
        "function": "process",
        "class": "OC\\Authentication\\Login\\EmailLoginCommand",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\Authentication\\Login\\LoginData"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/Authentication/Login/UidLoginCommand.php",
        "line": 54,
        "function": "processNextOrFinishSuccessfully",
        "class": "OC\\Authentication\\Login\\ALoginCommand",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\Authentication\\Login\\LoginData"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/Authentication/Login/ALoginCommand.php",
        "line": 40,
        "function": "process",
        "class": "OC\\Authentication\\Login\\UidLoginCommand",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\Authentication\\Login\\LoginData"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/Authentication/Login/UserDisabledCheckCommand.php",
        "line": 58,
        "function": "processNextOrFinishSuccessfully",
        "class": "OC\\Authentication\\Login\\ALoginCommand",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\Authentication\\Login\\LoginData"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/Authentication/Login/ALoginCommand.php",
        "line": 40,
        "function": "process",
        "class": "OC\\Authentication\\Login\\UserDisabledCheckCommand",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\Authentication\\Login\\LoginData"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/Authentication/Login/PreLoginHookCommand.php",
        "line": 53,
        "function": "processNextOrFinishSuccessfully",
        "class": "OC\\Authentication\\Login\\ALoginCommand",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\Authentication\\Login\\LoginData"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/Authentication/Login/Chain.php",
        "line": 108,
        "function": "process",
        "class": "OC\\Authentication\\Login\\PreLoginHookCommand",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\Authentication\\Login\\LoginData"
          }
        ]
      },
      {
        "file": "/var/www/html/core/Controller/LoginController.php",
        "line": 329,
        "function": "process",
        "class": "OC\\Authentication\\Login\\Chain",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\Authentication\\Login\\LoginData"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 225,
        "function": "tryLogin",
        "class": "OC\\Core\\Controller\\LoginController",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 133,
        "function": "executeController",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\Core\\Controller\\LoginController"
          },
          "tryLogin"
        ]
      },
      {
        "file": "/var/www/html/lib/private/AppFramework/App.php",
        "line": 172,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\Core\\Controller\\LoginController"
          },
          "tryLogin"
        ]
      },
      {
        "file": "/var/www/html/lib/private/Route/Router.php",
        "line": 298,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::",
        "args": [
          "OC\\Core\\Controller\\LoginController",
          "tryLogin",
          {
            "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
          },
          {
            "_route": "core.login.tryLogin"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/base.php",
        "line": 1023,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->",
        "args": [
          "/login"
        ]
      },
      {
        "file": "/var/www/html/index.php",
        "line": 36,
        "function": "handleRequest",
        "class": "OC",
        "type": "::",
        "args": []
      }
    ],
    "File": "/var/www/html/lib/private/Authentication/Token/PublicKeyTokenProvider.php",
    "Line": 115,
    "Previous": {
      "Exception": "OCP\\AppFramework\\Db\\DoesNotExistException",
      "Message": "token does not exist",
      "Code": 0,
      "Trace": [
        {
          "file": "/var/www/html/lib/private/Authentication/Token/PublicKeyTokenProvider.php",
          "line": 111,
          "function": "getToken",
          "class": "OC\\Authentication\\Token\\PublicKeyTokenMapper",
          "type": "->",
          "args": [
            "*** sensitive parameters replaced ***"
          ]
        },
        {
          "file": "/var/www/html/lib/private/Authentication/Token/Manager.php",
          "line": 133,
          "function": "getToken",
          "class": "OC\\Authentication\\Token\\PublicKeyTokenProvider",
          "type": "->",
          "args": [
            "*** sensitive parameters replaced ***"
          ]
        },
        {
          "file": "/var/www/html/lib/private/Authentication/LoginCredentials/Store.php",
          "line": 93,
          "function": "getToken",
          "class": "OC\\Authentication\\Token\\Manager",
          "type": "->",
          "args": [
            "*** sensitive parameters replaced ***"
          ]
        },
        {
          "file": "/var/www/html/apps/files_external/lib/Lib/Auth/Password/SessionCredentials.php",
          "line": 55,
          "function": "getLoginCredentials",
          "class": "OC\\Authentication\\LoginCredentials\\Store",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/apps/files_external/lib/Config/ConfigAdapter.php",
          "line": 88,
          "function": "manipulateStorageConfig",
          "class": "OCA\\Files_External\\Lib\\Auth\\Password\\SessionCredentials",
          "type": "->",
          "args": [
            "*** sensitive parameter replaced ***",
            "*** sensitive parameter replaced ***"
          ]
        },
        {
          "file": "/var/www/html/apps/files_external/lib/Config/ConfigAdapter.php",
          "line": 124,
          "function": "prepareStorageConfig",
          "class": "OCA\\Files_External\\Config\\ConfigAdapter",
          "type": "->",
          "args": [
            "*** sensitive parameter replaced ***",
            "*** sensitive parameter replaced ***"
          ]
        },
        {
          "function": "OCA\\Files_External\\Config\\{closure}",
          "class": "OCA\\Files_External\\Config\\ConfigAdapter",
          "type": "->",
          "args": [
            "*** sensitive parameters replaced ***"
          ]
        },
        {
          "file": "/var/www/html/apps/files_external/lib/Config/ConfigAdapter.php",
          "line": 122,
          "function": "array_map",
          "args": [
            {
              "__class__": "Closure"
            },
            {
              "14": {
                "__class__": "OCA\\Files_External\\Lib\\StorageConfig"
              },
              "32": {
                "__class__": "OCA\\Files_External\\Lib\\StorageConfig"
              },
              "35": {
                "__class__": "OCA\\Files_External\\Lib\\StorageConfig"
              },
              "36": {
                "__class__": "OCA\\Files_External\\Lib\\StorageConfig"
              },
              "37": {
                "__class__": "OCA\\Files_External\\Lib\\StorageConfig"
              }
            }
          ]
        },
        {
          "file": "/var/www/html/lib/private/Files/Config/MountProviderCollection.php",
          "line": 124,
          "function": "getMountsForUser",
          "class": "OCA\\Files_External\\Config\\ConfigAdapter",
          "type": "->",
          "args": [
            "*** sensitive parameter replaced ***",
            {
              "__class__": "OC\\Files\\Storage\\StorageFactory"
            }
          ]
        },
        {
          "file": "/var/www/html/lib/private/Files/SetupManager.php",
          "line": 213,
          "function": "addMountForUser",
          "class": "OC\\Files\\Config\\MountProviderCollection",
          "type": "->",
          "args": [
            "*** sensitive parameter replaced ***",
            {
              "__class__": "OC\\Files\\Mount\\Manager"
            },
            {
              "__class__": "Closure"
            }
          ]
        },
        {
          "file": "/var/www/html/lib/private/Files/SetupManager.php",
          "line": 302,
          "function": "OC\\Files\\{closure}",
          "class": "OC\\Files\\SetupManager",
          "type": "->",
          "args": [
            "*** sensitive parameters replaced ***"
          ]
        },
        {
          "file": "/var/www/html/lib/private/Files/SetupManager.php",
          "line": 214,
          "function": "setupForUserWith",
          "class": "OC\\Files\\SetupManager",
          "type": "->",
          "args": [
            "*** sensitive parameter replaced ***",
            {
              "__class__": "Closure"
            }
          ]
        },
        {
          "file": "/var/www/html/lib/private/Files/Filesystem.php",
          "line": 379,
          "function": "setupForUser",
          "class": "OC\\Files\\SetupManager",
          "type": "->",
          "args": [
            "*** sensitive parameter replaced ***"
          ]
        },
        {
          "file": "/var/www/html/lib/private/Cache/File.php",
          "line": 57,
          "function": "initMountPoints",
          "class": "OC\\Files\\Filesystem",
          "type": "::",
          "args": [
            "e73db094-bbeb-1039-81d3-db0464f6f96e"
          ]
        },
        {
          "file": "/var/www/html/lib/private/Cache/File.php",
          "line": 178,
          "function": "getStorage",
          "class": "OC\\Cache\\File",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/base.php",
          "line": 831,
          "function": "gc",
          "class": "OC\\Cache\\File",
          "type": "->",
          "args": []
        },
        {
          "function": "{closure}",
          "class": "OC",
          "type": "::",
          "args": [
            "*** sensitive parameters replaced ***"
          ]
        },
        {
          "file": "/var/www/html/lib/private/Hooks/EmitterTrait.php",
          "line": 106,
          "function": "call_user_func_array",
          "args": [
            {
              "__class__": "Closure"
            },
            [
              "*** sensitive parameter replaced ***",
              "*** sensitive parameter replaced ***",
              "*** sensitive parameter replaced ***",
              "*** sensitive parameter replaced ***"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Hooks/PublicEmitter.php",
          "line": 40,
          "function": "emit",
          "class": "OC\\Hooks\\BasicEmitter",
          "type": "->",
          "args": [
            "\\OC\\User",
            "postLogin",
            [
              "*** sensitive parameter replaced ***",
              "*** sensitive parameter replaced ***",
              "*** sensitive parameter replaced ***",
              "*** sensitive parameter replaced ***"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/User/Session.php",
          "line": 400,
          "function": "emit",
          "class": "OC\\Hooks\\PublicEmitter",
          "type": "->",
          "args": [
            "\\OC\\User",
            "postLogin",
            [
              "*** sensitive parameter replaced ***",
              "*** sensitive parameter replaced ***",
              "*** sensitive parameter replaced ***",
              "*** sensitive parameter replaced ***"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Authentication/Login/CompleteLoginCommand.php",
          "line": 44,
          "function": "completeLogin",
          "class": "OC\\User\\Session",
          "type": "->",
          "args": [
            "*** sensitive parameters replaced ***"
          ]
        },
        {
          "file": "/var/www/html/lib/private/Authentication/Login/ALoginCommand.php",
          "line": 40,
          "function": "process",
          "class": "OC\\Authentication\\Login\\CompleteLoginCommand",
          "type": "->",
          "args": [
            {
              "__class__": "OC\\Authentication\\Login\\LoginData"
            }
          ]
        },
        {
          "file": "/var/www/html/lib/private/Authentication/Login/LoggedInCheckCommand.php",
          "line": 60,
          "function": "processNextOrFinishSuccessfully",
          "class": "OC\\Authentication\\Login\\ALoginCommand",
          "type": "->",
          "args": [
            {
              "__class__": "OC\\Authentication\\Login\\LoginData"
            }
          ]
        },
        {
          "file": "/var/www/html/lib/private/Authentication/Login/ALoginCommand.php",
          "line": 40,
          "function": "process",
          "class": "OC\\Authentication\\Login\\LoggedInCheckCommand",
          "type": "->",
          "args": [
            {
              "__class__": "OC\\Authentication\\Login\\LoginData"
            }
          ]
        },
        {
          "file": "/var/www/html/lib/private/Authentication/Login/EmailLoginCommand.php",
          "line": 58,
          "function": "processNextOrFinishSuccessfully",
          "class": "OC\\Authentication\\Login\\ALoginCommand",
          "type": "->",
          "args": [
            {
              "__class__": "OC\\Authentication\\Login\\LoginData"
            }
          ]
        },
        {
          "file": "/var/www/html/lib/private/Authentication/Login/ALoginCommand.php",
          "line": 40,
          "function": "process",
          "class": "OC\\Authentication\\Login\\EmailLoginCommand",
          "type": "->",
          "args": [
            {
              "__class__": "OC\\Authentication\\Login\\LoginData"
            }
          ]
        },
        {
          "file": "/var/www/html/lib/private/Authentication/Login/UidLoginCommand.php",
          "line": 54,
          "function": "processNextOrFinishSuccessfully",
          "class": "OC\\Authentication\\Login\\ALoginCommand",
          "type": "->",
          "args": [
            {
              "__class__": "OC\\Authentication\\Login\\LoginData"
            }
          ]
        },
        {
          "file": "/var/www/html/lib/private/Authentication/Login/ALoginCommand.php",
          "line": 40,
          "function": "process",
          "class": "OC\\Authentication\\Login\\UidLoginCommand",
          "type": "->",
          "args": [
            {
              "__class__": "OC\\Authentication\\Login\\LoginData"
            }
          ]
        },
        {
          "file": "/var/www/html/lib/private/Authentication/Login/UserDisabledCheckCommand.php",
          "line": 58,
          "function": "processNextOrFinishSuccessfully",
          "class": "OC\\Authentication\\Login\\ALoginCommand",
          "type": "->",
          "args": [
            {
              "__class__": "OC\\Authentication\\Login\\LoginData"
            }
          ]
        },
        {
          "file": "/var/www/html/lib/private/Authentication/Login/ALoginCommand.php",
          "line": 40,
          "function": "process",
          "class": "OC\\Authentication\\Login\\UserDisabledCheckCommand",
          "type": "->",
          "args": [
            {
              "__class__": "OC\\Authentication\\Login\\LoginData"
            }
          ]
        },
        {
          "file": "/var/www/html/lib/private/Authentication/Login/PreLoginHookCommand.php",
          "line": 53,
          "function": "processNextOrFinishSuccessfully",
          "class": "OC\\Authentication\\Login\\ALoginCommand",
          "type": "->",
          "args": [
            {
              "__class__": "OC\\Authentication\\Login\\LoginData"
            }
          ]
        },
        {
          "file": "/var/www/html/lib/private/Authentication/Login/Chain.php",
          "line": 108,
          "function": "process",
          "class": "OC\\Authentication\\Login\\PreLoginHookCommand",
          "type": "->",
          "args": [
            {
              "__class__": "OC\\Authentication\\Login\\LoginData"
            }
          ]
        },
        {
          "file": "/var/www/html/core/Controller/LoginController.php",
          "line": 329,
          "function": "process",
          "class": "OC\\Authentication\\Login\\Chain",
          "type": "->",
          "args": [
            {
              "__class__": "OC\\Authentication\\Login\\LoginData"
            }
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 225,
          "function": "tryLogin",
          "class": "OC\\Core\\Controller\\LoginController",
          "type": "->",
          "args": [
            "*** sensitive parameters replaced ***"
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 133,
          "function": "executeController",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->",
          "args": [
            {
              "__class__": "OC\\Core\\Controller\\LoginController"
            },
            "tryLogin"
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/App.php",
          "line": 172,
          "function": "dispatch",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->",
          "args": [
            {
              "__class__": "OC\\Core\\Controller\\LoginController"
            },
            "tryLogin"
          ]
        },
        {
          "file": "/var/www/html/lib/private/Route/Router.php",
          "line": 298,
          "function": "main",
          "class": "OC\\AppFramework\\App",
          "type": "::",
          "args": [
            "OC\\Core\\Controller\\LoginController",
            "tryLogin",
            {
              "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
            },
            {
              "_route": "core.login.tryLogin"
            }
          ]
        },
        {
          "file": "/var/www/html/lib/base.php",
          "line": 1023,
          "function": "match",
          "class": "OC\\Route\\Router",
          "type": "->",
          "args": [
            "/login"
          ]
        },
        {
          "file": "/var/www/html/index.php",
          "line": 36,
          "function": "handleRequest",
          "class": "OC",
          "type": "::",
          "args": []
        }
      ],
      "File": "/var/www/html/lib/private/Authentication/Token/PublicKeyTokenMapper.php",
      "Line": 89
    },
    "CustomMessage": "could not get login credentials because the token is invalid: Token does not exist: token does not exist"
  }
}Additional info
Happens on all browsers that we tried.