Skip to content

Context-Chat: AppConfigTypeConflictException #263

@Schubi2024

Description

@Schubi2024

Which version of Nextcloud are you using?

32.0.5.0

Which version of PHP context_chat are you using?

5.2.0

Which version of backend context_chat are you using?

5.2.0

Nextcloud deployment method?

nginx, php 8.4, bare-metal

Describe the Bug

{"reqId":"2MPAk0SPxiucvkVeJXAy","level":3,"time":"2026-01-20T05:23:12+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: 394369, arguments: {"storageId":196,"rootId":1886064})","userAgent":"--","version":"32.0.5.0","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: 394369, arguments: {"storageId":196,"rootId":1886064})","exception":[],"CustomMessage":"Error while running background job OCA\ContextChat\BackgroundJobs\IndexerJob (id: 394369, arguments: {"storageId":196,"rootId":1886064})"},"id":"696f9bf06d30a"}

To Reproduce

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.

Gruß
Thomas

PHP logs (Warning these might contain sensitive information)

No response

Ex-App logs (Warning these might contain sensitive information)

No response

Server logs (if applicable)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions