Context-Chat: AppConfigTypeConflictException

Hallo,

ich bin gerade dabei mal die Möglichkeiten von Assistant auszuprobieren.
Beim Context-Chat habe ich das Problem, das die erst Indizierung nicht durch läuft und ich immer die gleiche Fehlermeldung bekomme.
“AppConfigTypeConflictException conflict with value type from database”

Bei meiner Suche nach möglichen Ursachen bin ich unteranderem auf folgendes gestoßen:
https://github.com/nextcloud/assistant/issues/174

MariaDB [nextcloud]> select * FROM oc_appconfig WHERE appid="assistant" AND configkey="text_to_image_picker_enabled";
Empty set (0,000 sec)

MariaDB [nextcloud]> select * FROM oc_appconfig WHERE appid="assistant" AND configkey="free_prompt_picker_enabled";
Empty set (0,000 sec)

MariaDB [nextcloud]> select * FROM oc_appconfig WHERE appid="assistant" AND configkey="speech_to_text_picker_enabled";
Empty set (0,000 sec)

MariaDB [nextcloud]> select * FROM oc_appconfig WHERE appid="assistant" AND configkey="speech_to_text_picker_enabled";
Empty set (0,000 sec)

Das hat aber leider nicht zum Erfolg geführt.
Auch das deaktivieren und aktivieren aller Apps die mit Assistant zusammenhängen hat nicht gebracht.

occ context_chat:scann uid gibt nach einer ganzen Weile einen unbekannten Fehler aus.

Hat eventuell jemand eine Idee?

NC: 32.0.4
PHP: 8.4
Webserver: nginx

{
  "reqId": "m9TuApFpu1lLLknNdF9p",
  "level": 3,
  "time": "2026-01-16T06:40:21+01:00",
  "remoteAddr": "",
  "user": "--",
  "app": "core",
  "method": "",
  "url": "--",
  "scriptName": "/var/www/nextcloud/cron.php",
  "message": "Error while running background job OCA\\ContextChat\\BackgroundJobs\\IndexerJob (id: 391601, arguments: {\"storageId\":103,\"rootId\":2707098})",
  "userAgent": "--",
  "version": "32.0.4.1",
  "occ_command": [
    "/var/www/nextcloud/cron.php"
  ],
  "exception": {
    "Exception": "OCP\\Exceptions\\AppConfigTypeConflictException",
    "Message": "conflict with value type from database",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud/lib/private/AppConfig.php",
        "line": 368,
        "function": "getTypedValue",
        "class": "OC\\AppConfig",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Services/AppConfig.php",
        "line": 239,
        "function": "getValueString",
        "class": "OC\\AppConfig",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/context_chat/lib/BackgroundJobs/IndexerJob.php",
        "line": 94,
        "function": "getAppValueString",
        "class": "OC\\AppFramework\\Services\\AppConfig",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/public/BackgroundJob/Job.php",
        "line": 61,
        "function": "run",
        "class": "OCA\\ContextChat\\BackgroundJobs\\IndexerJob",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php",
        "line": 97,
        "function": "start",
        "class": "OCP\\BackgroundJob\\Job",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php",
        "line": 84,
        "function": "start",
        "class": "OCP\\BackgroundJob\\TimedJob",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/cron.php",
        "line": 175,
        "function": "execute",
        "class": "OCP\\BackgroundJob\\TimedJob",
        "type": "->"
      }
    ],
    "File": "/var/www/nextcloud/lib/private/AppConfig.php",
    "Line": 505,
    "message": "Error while running background job OCA\\ContextChat\\BackgroundJobs\\IndexerJob (id: 391601, arguments: {\"storageId\":103,\"rootId\":2707098})",
    "exception": [],
    "CustomMessage": "Error while running background job OCA\\ContextChat\\BackgroundJobs\\IndexerJob (id: 391601, arguments: {\"storageId\":103,\"rootId\":2707098})"
  },
  "id": "6969e1e8487f7"
}
Enabled:
  - activity: 5.0.0-dev.0
  - admin_audit: 1.22.0
  - agenda_bot: 1.6.0
  - announcementcenter: 7.3.0
  - app_api: 32.0.0
  - assistant: 2.12.0
  - bruteforcesettings: 5.0.0-dev.0
  - calendar: 6.1.4
  - call_summary_bot: 3.2.0
  - circles: 32.0.0
  - cloud_federation_api: 1.16.0
  - collectives: 3.5.0
  - comments: 1.22.0
  - contacts: 8.2.1
  - contactsinteraction: 1.13.1
  - context_chat: 5.2.0
  - csp_editor: 1.8.0
  - dashboard: 7.12.0
  - dav: 1.34.2
  - deck: 1.16.3
  - external: 7.0.0
  - federatedfilesharing: 1.22.0
  - federation: 1.22.0
  - files: 2.4.0
  - files_accesscontrol: 3.0.2
  - files_antivirus: 6.1.0
  - files_automatedtagging: 3.0.2
  - files_downloadlimit: 5.0.0-dev.0
  - files_fulltextsearch: 32.0.2
  - files_pdfviewer: 5.0.0-dev.0
  - files_reminders: 1.5.0
  - files_retention: 3.0.0
  - files_sharing: 1.24.1
  - files_trashbin: 1.22.0
  - files_versions: 1.25.0
  - forms: 5.2.3
  - fulltextsearch: 32.0.0
  - fulltextsearch_elasticsearch: 32.0.2
  - impersonate: 3.0.1
  - integration_mastodon: 4.0.0
  - integration_openai: 3.10.0
  - logreader: 5.0.0-dev.0
  - lookup_server_connector: 1.20.0
  - mail: 5.6.7
  - memories: 7.7.0
  - news: 27.2.0
  - nextcloud_announcements: 4.0.0-dev.0
  - notes: 4.12.4
  - notifications: 5.0.0-dev.0
  - notify_push: 1.3.0
  - oauth2: 1.20.0
  - ocs_api_viewer: 1.0.11
  - password_policy: 4.0.0-dev.0
  - passwords: 2025.12.21
  - photos: 5.0.0-dev.1
  - previewgenerator: 5.11.0
  - 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
  - richdocuments: 9.0.2
  - richdocumentscode: 25.4.702
  - serverinfo: 4.0.0-dev.0
  - settings: 1.15.1
  - sharebymail: 1.22.0
  - sharereview: 2.1.0
  - spreed: 22.0.8
  - suspicious_login: 10.0.0-dev.0
  - systemtags: 1.22.0
  - tables: 1.0.2
  - text: 6.0.1
  - theming: 2.7.0
  - thesearchpage: 2.0.5
  - twofactor_backupcodes: 1.21.0
  - twofactor_totp: 14.0.0
  - twofactor_webauthn: 2.4.1
  - 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
  - whiteboard: 1.5.2
  - workflow_script: 3.0.0
  - workflowengine: 2.14.0
Disabled:
  - encryption: 2.20.0 (installed 2.20.0)
  - files_external: 1.24.0 (installed 1.24.0)
  - firstrunwizard: 5.0.0-dev.0 (installed 5.0.0-dev.0)
  - support: 4.0.0-dev.0 (installed 4.0.0-dev.0)
  - survey_client: 4.0.0-dev.0 (installed 1.8.0)
  - twofactor_nextcloud_notification: 6.0.0-dev.0 (installed 5.0.0)
  - user_ldap: 1.23.0 (installed 1.23.0)