Skip to content

RuntimeException with Nextcloud 32: The loading of lazy AppConfig values have been triggered by app "user_oidc" #1343

@Gogowitsch

Description

@Gogowitsch

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

I am using user_oidc: v8.4.0 with nextcloud: v32.0.6. I have upgraded Nextcloud from version 31, so this is likely the cause.

I get the following error on all browser requests to my Nextcloud:
Image

Actual behaviour

This is the output from occ log:watch:

RuntimeException: The loading of lazy AppConfig values have been triggered by app "user_oidc" at lib/private/AppConfig.php line 1326                      2026-02-21T14:48:58+00:00

                               0. lib/private/AppConfig.php line 492
                                  OC\AppConfig->loadConfig("user_oidc", true)
                               1. lib/private/AppConfig.php line 368
                                  OC\AppConfig->getTypedValue("user_oidc", "store_login_token", "0", true, 4)
                               2. custom_apps/user_oidc/lib/Service/TokenService.php line 122
                                  OC\AppConfig->getValueString("user_oidc", "store_login_token", "0", true)
                               3. custom_apps/user_oidc/lib/AppInfo/Application.php line 92
                                  OCA\UserOIDC\Service\TokenService->checkLoginToken(

                                  )
                               4. lib/private/AppFramework/Bootstrap/FunctionInjector.php line 28
                                  OCA\UserOIDC\AppInfo\Application->checkLoginToken(OCA\UserOIDC\Service\TokenService {clientService:OCA\UserOIDC\Helper\HttpClientHelper {}})
                               5. lib/private/AppFramework/Bootstrap/BootContext.php line 32
                                  OC\AppFramework\Bootstrap\FunctionInjector->injectFn(Closure {})
                               6. custom_apps/user_oidc/lib/AppInfo/Application.php line 77
                                  OC\AppFramework\Bootstrap\BootContext->injectFn(Closure {})
                               7. lib/private/AppFramework/Bootstrap/Coordinator.php line 170
                                  OCA\UserOIDC\AppInfo\Application->boot(OC\AppFramework\Bootstrap\BootContext {})
                               8. lib/private/App/AppManager.php line 481
                                  OC\AppFramework\Bootstrap\Coordinator->bootApp("user_oidc")
                               9. lib/private/App/AppManager.php line 273
                                  OC\App\AppManager->loadApp("user_oidc")
                              10. lib/base.php line 1043
                                  OC\App\AppManager->loadApps(["authentication"])
                              11. index.php line 25
                                  OC::handleRequest(

                                  )

Server configuration

Web server: nextcloud:32.0.6-fpm-alpine with a nginx:1.29.1-alpine-slim and a traefik in front.

Database: postgres:17.6-alpine

PHP version: 8.3.30

Nextcloud version: v32.0.6

List of activated apps
Enabled:
  - activity: 5.0.0
  - app_api: 32.0.0
  - bruteforcesettings: 5.0.0
  - circles: 32.0.0
  - cloud_federation_api: 1.16.0
  - collectives: 3.6.1
  - comments: 1.22.0
  - contacts: 8.3.3
  - contactsinteraction: 1.13.1
  - dashboard: 7.12.0
  - dav: 1.34.2
  - deck: 1.16.3
  - federatedfilesharing: 1.22.0
  - files: 2.4.0
  - files_downloadlimit: 5.0.0-dev.0
  - files_pdfviewer: 5.0.0
  - files_reminders: 1.5.0
  - files_sharing: 1.24.1
  - files_trashbin: 1.22.0
  - files_versions: 1.25.0
  - fileslibreofficeedit: 2.0.1
  - firstrunwizard: 5.0.0
  - logreader: 5.0.0
  - lookup_server_connector: 1.20.0
  - notifications: 5.0.0
  - oauth2: 1.20.0
  - onlyoffice: 9.12.0
  - photos: 5.0.0
  - privacy: 4.0.0
  - profile: 1.1.0
  - provisioning_api: 1.22.0
  - recommendations: 5.0.0
  - related_resources: 3.0.0
  - serverinfo: 4.0.0
  - settings: 1.15.1
  - sharebymail: 1.22.0
  - spreed: 22.0.9
  - systemtags: 1.22.0
  - text: 6.0.1
  - theming: 2.7.0
  - theming_customcss: 1.19.0
  - twofactor_backupcodes: 1.21.0
  - user_oidc: 8.4.0
  - viewer: 5.0.0
  - webhook_listeners: 1.3.0
  - workflowengine: 2.14.0
Nextcloud configuration
{
    "system": {
        "default_phone_region": "DE",
        "profile.enabled": false,
        "account_manager.default_property_scope": {
            "email": "v2-private"
        },
        "skeletondirectory": "",
        "overwriteprotocol": "https",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "upgrade.disable-web": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.censored.de",
            "nextcloud-app",
            "nextcloud-web"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "32.0.6.1",
        "overwrite.cli.url": "https:\/\/cloud.censored.de",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance_window_start": 2,
        "overwritehost": "cloud.censored.de",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "app_install_overwrite": [
            "ransomware_protection"
        ],
        "defaultapp": "files,dashboard",
        "loglevel": 0,
        "maintenance": false,
        "mail_smtpsecure": "ssl"
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority: normalquestionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions