App passwords not showing up

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.2
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 22.04
  • Web server and version (e.g, Apache 2.4.25):
    • Official nextcloud docker image
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • NGINX Proxy Manager 2.13.5
  • PHP version (e.g, 8.3):
    • Official nextcloud docker image
  • Is this the first time you’ve seen this error? (Yes / No):
    • This is the first time I configured an app password in general.
  • When did this problem seem to first start?
    • This is the first time I configured an app password in general.
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Official nextcloud docker image
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

I added an app password under Personal - Security (at the bottom). However, after creating it, the app password does not show up (e.g. in order to delete it if needed). The app password itself works though (for CalDAV in my case).

Steps to replicate it (hint: details matter!):

  1. Go to Personal - Security.
  2. Scroll down to Devices & sessions.
  3. Enter an App name.
  4. Click Create new app password.

A new app password will be created, but it will not show up in a list of app passwords.

Log entries

Nextcloud

No log entries were created during app password creation. Last log entry:

{"reqId":"Vx7Xt7xcmQolnx3hKooq","level":2,"time":"2025-11-23T15:15:04+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"failed to create instance of background job: OCA\\AppAPI\\BackgroundJob\\ExAppInitStatusCheckJob","userAgent":"--","version":"32.0.2.2","exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\AppAPI\\BackgroundJob\\ExAppInitStatusCheckJob! Class \"OCA\\AppAPI\\BackgroundJob\\ExAppInitStatusCheckJob\" does not exist","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":140,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\AppAPI\\BackgroundJob\\ExAppInitStatusCheckJob"]},{"file":"/var/www/html/lib/private/ServerContainer.php","line":154,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\AppAPI\\BackgroundJob\\ExAppInitStatusCheckJob",true]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":45,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\AppAPI\\BackgroundJob\\ExAppInitStatusCheckJob"]},{"file":"/var/www/html/lib/public/Server.php","line":37,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\AppAPI\\BackgroundJob\\ExAppInitStatusCheckJob"]},{"file":"/var/www/html/lib/private/BackgroundJob/JobList.php","line":322,"function":"get","class":"OCP\\Server","type":"::","args":["OCA\\AppAPI\\BackgroundJob\\ExAppInitStatusCheckJob"]},{"file":"/var/www/html/lib/private/BackgroundJob/JobList.php","line":201,"function":"buildJob","class":"OC\\BackgroundJob\\JobList","type":"->","args":[{"id":12332,"class":"OCA\\AppAPI\\BackgroundJob\\ExAppInitStatusCheckJob","argument":"null","last_run":1763910604,"last_checked":1763910604,"0":"And 4 more entries, set log level to debug to see all entries"}]},{"file":"/var/www/html/cron.php","line":157,"function":"getNext","class":"OC\\BackgroundJob\\JobList","type":"->","args":[false,null]}],"File":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","Line":129,"message":"failed to create instance of background job: OCA\\AppAPI\\BackgroundJob\\ExAppInitStatusCheckJob","exception":{},"CustomMessage":"failed to create instance of background job: OCA\\AppAPI\\BackgroundJob\\ExAppInitStatusCheckJob"}}

This was from before I disabled the “AppAPI” app. App password creation happened afterwards.

Web Browser

N/A

Web server / Reverse Proxy

N/A

Configuration

Nextcloud

{
    "system": {
        "htaccess.RewriteBase": "\/",
        "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
            }
        ],
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpsecure": "tls",
        "mail_smtpauth": false,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.example.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "overwrite.cli.url": "https:\/\/nextcloud.example.com",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "theme": "",
        "loglevel": 2,
        "maintenance": false,
        "version": "32.0.2.2",
        "overwriteprotocol": "https",
        "mail_sendmailmode": "smtp"
    }
}

Apps

Enabled:
  - activity: 5.0.0-dev.0
  - bruteforcesettings: 5.0.0-dev.0
  - calendar: 6.1.0
  - circles: 32.0.0
  - cloud_federation_api: 1.16.0
  - comments: 1.22.0
  - contacts: 8.1.0
  - contactsinteraction: 1.13.1
  - dashboard: 7.12.0
  - dav: 1.34.2
  - federatedfilesharing: 1.22.0
  - federation: 1.22.0
  - files: 2.4.0
  - files_downloadlimit: 5.0.0-dev.0
  - files_external: 1.24.0
  - files_pdfviewer: 5.0.0-dev.0
  - files_reminders: 1.5.0
  - files_sharing: 1.24.1
  - files_versions: 1.25.0
  - firstrunwizard: 5.0.0-dev.0
  - guests: 4.6.0
  - logreader: 5.0.0-dev.0
  - lookup_server_connector: 1.20.0
  - nextcloud_announcements: 4.0.0-dev.0
  - notifications: 5.0.0-dev.0
  - oauth2: 1.20.0
  - password_policy: 4.0.0-dev.0
  - passwords: 2025.11.20
  - photos: 5.0.0-dev.1
  - privacy: 4.0.0-dev.0
  - profile: 1.1.0
  - provisioning_api: 1.22.0
  - recommendations: 5.0.0-dev.0
  - related_resources: 3.0.0-dev.0
  - serverinfo: 4.0.0-dev.0
  - settings: 1.15.1
  - sharebymail: 1.22.0
  - support: 4.0.0-dev.0
  - survey_client: 4.0.0-dev.0
  - text: 6.0.1
  - theming: 2.7.0
  - twofactor_backupcodes: 1.21.0
  - twofactor_totp: 14.0.0
  - updatenotification: 1.22.0
  - user_status: 1.12.0
  - viewer: 5.0.0-dev.0
  - weather_status: 1.12.0
  - webhook_listeners: 1.3.0
  - workflowengine: 2.14.0
Disabled:
  - admin_audit: 1.22.0
  - app_api: 32.0.0 (installed 32.0.0)
  - encryption: 2.20.0
  - files_rightclick: 0.15.1 (installed 1.6.0)
  - files_texteditor: 2.15.1 (installed 2.15.1)
  - files_trashbin: 1.22.0 (installed 0.6.2)
  - suspicious_login: 10.0.0-dev.0
  - systemtags: 1.22.0 (installed 0.3.0)
  - twofactor_nextcloud_notification: 6.0.0-dev.0
  - user_ldap: 1.23.0