Logs filled with "The app config key ... is not defined in the config lexicon"

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 33.0.0
  • Operating system and version (e.g., Ubuntu 24.04):
    • AlmaLinux 9.7
  • Web server, reverse proxy, PHP version:
    • FrankenPHP v1.11.2 PHP 8.5 Caddy v2.10.2
  • Is this the first time you’ve seen this error? (Yes / No):
    • No
  • When did this problem seem to first start?
    • On installation
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • bare metal
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

Title. There are many various config keys that are “missing”, for example files/watermark_enabled, dav/sendInvitations, files/quota, dav/hide_absence_settings, etc. They appear to all be from the files and dav apps (?). The log lines appear any time any user loads any page.

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

{"reqId":"UoLEdg7r6NAt4xdcXlE8","level":1,"time":"2026-03-09T12:41:55+00:00","remoteAddr":"10.198.87.19","user":"testuser1","app":"no app in context","method":"REPORT","url":"/remote.php/dav/files/testuser1/","scriptName":"/remote.php","message":"The app config key files/watermark_enabled is not defined in the config lexicon","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":[]}
{"reqId":"UoLEdg7r6NAt4xdcXlE8","level":1,"time":"2026-03-09T12:41:55+00:00","remoteAddr":"10.198.87.19","user":"testuser1","app":"no app in context","method":"REPORT","url":"/remote.php/dav/files/testuser1/","scriptName":"/remote.php","message":"The app config key dav/sendInvitations is not defined in the config lexicon","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":[]}
{"reqId":"A14tOCE45SOBEXHnUmBl","level":1,"time":"2026-03-09T12:41:55+00:00","remoteAddr":"10.198.87.19","user":"testuser1","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/testuser1/","scriptName":"/remote.php","message":"The app config key dav/enableCalendarFederation is not defined in the config lexicon","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":[]}
{"reqId":"A14tOCE45SOBEXHnUmBl","level":1,"time":"2026-03-09T12:41:55+00:00","remoteAddr":"10.198.87.19","user":"testuser1","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/testuser1/","scriptName":"/remote.php","message":"The app config key files/watermark_enabled is not defined in the config lexicon","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":[]}
{"reqId":"A14tOCE45SOBEXHnUmBl","level":1,"time":"2026-03-09T12:41:55+00:00","remoteAddr":"10.198.87.19","user":"testuser1","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/testuser1/","scriptName":"/remote.php","message":"The app config key dav/sendInvitations is not defined in the config lexicon","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":[]}
{"reqId":"A14tOCE45SOBEXHnUmBl","level":1,"time":"2026-03-09T12:41:55+00:00","remoteAddr":"10.198.87.19","user":"testuser1","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/testuser1/","scriptName":"/remote.php","message":"The user config key files/quota is not defined in the config lexicon","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":[]}
{"reqId":"A14tOCE45SOBEXHnUmBl","level":1,"time":"2026-03-09T12:41:55+00:00","remoteAddr":"10.198.87.19","user":"testuser1","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/testuser1/","scriptName":"/remote.php","message":"The app config key files/default_quota is not defined in the config lexicon","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":[]}
{"reqId":"A14tOCE45SOBEXHnUmBl","level":1,"time":"2026-03-09T12:41:55+00:00","remoteAddr":"10.198.87.19","user":"testuser1","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/testuser1/","scriptName":"/remote.php","message":"The app config key files/allow_unlimited_quota is not defined in the config lexicon","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":[]}
{"reqId":"A14tOCE45SOBEXHnUmBl","level":1,"time":"2026-03-09T12:41:55+00:00","remoteAddr":"10.198.87.19","user":"testuser1","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/testuser1/","scriptName":"/remote.php","message":"The user config key files/lastSeenQuotaUsage is not defined in the config lexicon","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":[]}

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

No errors

Web server / Reverse Proxy

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

No errors

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "system": {
        "loglevel": "1",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [***REMOVED SENSITIVE VALUE***],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "allowed_admin_ranges": [***REMOVED SENSITIVE VALUE***],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "33.0.0.16",
        "maintenance_window_start": "2",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "htaccess.IgnoreFrontController": true,
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "default_language": "da_DK",
        "default_phone_region": "DK",
        "default_locale": "da_DK",
        "default_timezone": "Europe\/Copenhagen",
        "installed": true,
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "maintenance": false,
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_sendmailmode": "smtp",
        "mail_smtpstreamoptions": {
            "ssl": {
                "allow_self_signed": false,
                "verify_peer": true,
                "verify_peer_name": true
            }
        },
        "mail_smtpport": "25",
        "config_preset": 5,
        "forbidden_filename_basenames": [
            "con",
            "prn",
            "aux",
            "nul",
            "com0",
            "com1",
            "com2",
            "com3",
            "com4",
            "com5",
            "com6",
            "com7",
            "com8",
            "com9",
            "com\u00b9",
            "com\u00b2",
            "com\u00b3",
            "lpt0",
            "lpt1",
            "lpt2",
            "lpt3",
            "lpt4",
            "lpt5",
            "lpt6",
            "lpt7",
            "lpt8",
            "lpt9",
            "lpt\u00b9",
            "lpt\u00b2",
            "lpt\u00b3"
        ],
        "forbidden_filename_characters": [
            "<",
            ">",
            ":",
            "\"",
            "|",
            "?",
            "*",
            "\\",
            "\/"
        ],
        "forbidden_filename_extensions": [
            " ",
            ".",
            ".filepart",
            ".part"
        ],
        "skeletondirectory": "",
        "templatedirectory": "\/data\/office-templates\/"
    }
}

Apps

The output of occ app:list (if possible).

List of apps
Enabled:
  - activity: 6.0.0-dev.0
  - app_api: 33.0.0
  - bruteforcesettings: 6.0.0-dev.0
  - circles: 33.0.0
  - cloud_federation_api: 1.17.0
  - comments: 1.23.0
  - contactsinteraction: 1.14.1
  - dashboard: 7.13.0
  - dav: 1.36.0
  - federatedfilesharing: 1.23.0
  - federation: 1.23.0
  - files: 2.5.0
  - files_downloadlimit: 5.1.0-dev.0
  - files_pdfviewer: 6.0.0-dev.0
  - files_reminders: 1.6.0
  - files_sharing: 1.25.2
  - files_trashbin: 1.23.0
  - files_versions: 1.26.0
  - firstrunwizard: 6.0.0-dev.0
  - guests: 4.6.0
  - logreader: 6.0.0
  - lookup_server_connector: 1.21.0
  - nextcloud_announcements: 5.0.0
  - notifications: 6.0.0
  - notify_push: 1.3.0
  - oauth2: 1.21.0
  - password_policy: 5.0.0-dev.0
  - photos: 6.0.0-dev.0
  - polls: 8.6.3
  - privacy: 5.0.0-dev.0
  - profile: 1.2.0
  - provisioning_api: 1.23.0
  - recommendations: 6.0.0-dev.0
  - related_resources: 4.0.0-dev.0
  - richdocuments: 10.1.0
  - serverinfo: 5.0.0-dev.0
  - settings: 1.16.0
  - sharebymail: 1.23.0
  - spreed: 23.0.1
  - support: 5.0.0
  - survey_client: 5.0.0-dev.0
  - systemtags: 1.23.0
  - text: 7.0.0-dev.3
  - theming: 2.8.0
  - twofactor_backupcodes: 1.22.0
  - twofactor_totp: 15.0.0-dev.0
  - updatenotification: 1.23.0
  - user_ldap: 1.24.0
  - user_status: 1.13.0
  - viewer: 6.0.0-dev.0
  - weather_status: 1.13.0
  - webhook_listeners: 1.5.0
  - workflowengine: 2.15.0
Disabled:
  - admin_audit: 1.23.0
  - encryption: 2.21.0
  - files_external: 1.25.1
  - suspicious_login: 11.0.0-dev.0
  - twofactor_nextcloud_notification: 7.0.0
1 Like

Hey, any reason to run on loglevel 1? Other than that, this has been fixed in 33.0.1, which will not log the files related ones.

2 Likes

I think loglevel 1 was the default when I installed… I’ll try to upgrade to 33.0.1 though and see if that helps.

edit: Oh, 33.0.1 is not yet out - for now I’ll just use loglevel 2 :slight_smile:

I was going to say that :wink: But yea, loglevel 2 should usually be enough for production.

I increased log verbosity to tackle another issue I’m seeing and my log is filled with those entries as well.

Besides the obvious resolution of decreasing log verbosity I wonder why these entries are there. Does it mean config entries are missing? If yes: How to add them?

If no: Shouldn’t an issue be opened?

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.