Skip to content

[Bug]: conflict with value type from database AppConfigTypeConflictException conflict with value type from database #60731

@AndyXheli

Description

@AndyXheli

⚠️ This issue respects the following points: ⚠️

Bug description

Seeing a lot of these errors since i upgraded to NC34

Steps to reproduce

  1. Upgraded to NC 34 RC2 from 33

Expected behavior

Should not see this error

Nextcloud Server version

34

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.5

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 31 to 32)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

root@nextcloud:/var/www/nextcloud# sudo -u www-data php occ config:list system
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "serverid": 1,
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***",
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "34.0.0.8",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "htaccess.RewriteBase": "\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "skeletondirectory": "",
        "maintenance": false,
        "maintenance_window_start": 1,
        "default_phone_region": "US",
        "default_locale": "en_US",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "dbindex": 0,
            "password": "***REMOVED SENSITIVE VALUE***",
            "timeout": 1.5
        },
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "allow_local_remote_servers": true,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "enable_previews": true,
        "enabledPreviewProviders": [
            "OC\\Preview\\Image",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\Movie",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\MSOfficeDoc",
            "OC\\Preview\\SVG",
            "OC\\Preview\\TXT",
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG"
        ],
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "preview_max_filesize_image": 50,
        "preview_max_memory": 1024,
        "defaultapp": "dashboard,files,photos,spreed",
        "updater.release.channel": "beta",
        "theme": "",
        "loglevel": 2,
        "log.condition": {
            "apps": [
                "admin_audit"
            ]
        },
        "mail_smtpauth": true,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "twofactor_enforced": "false",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [],
        "config_preset": 2,
        "versions_retention_obligation": "7,8",
        "app_install_overwrite": [
            "theming_customcss"
        ],
        "memories.db.triggers.fcu": true,
        "memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",
        "memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "memories.gis_type": 1,
        "mail_smtpstreamoptions": {
            "ssl": {
                "allow_self_signed": false,
                "verify_peer": true,
                "verify_peer_name": true
            }
        },
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

List of activated Apps

Enabled:
  - activity: 7.0.0
  - admin_audit: 1.24.0
  - approve_links: 1.4.0
  - appstore: 1.0.0
  - bruteforcesettings: 7.0.0
  - cloud_federation_api: 1.18.0
  - comments: 1.24.0
  - contacts: 8.5.0
  - contactsinteraction: 1.15.0
  - dashboard: 7.14.0
  - dav: 1.39.0
  - federatedfilesharing: 1.24.0
  - federation: 1.24.0
  - files: 2.6.0
  - files_accesscontrol: 5.0.0
  - files_automatedtagging: 5.0.0
  - files_confidential: 4.1.0
  - files_downloadlimit: 5.2.0-dev.0
  - files_external: 1.26.0
  - files_lock: 34.0.0
  - files_pdfviewer: 7.0.0-dev.0
  - files_reminders: 1.7.0
  - files_sharing: 1.26.0
  - files_trashbin: 1.24.0
  - files_versions: 1.27.0
  - firstrunwizard: 7.0.0-dev.0
  - flow_notifications: 5.0.0-beta.1
  - groupfolders: 22.0.0
  - guests: 4.7.4
  - logreader: 7.0.0
  - lookup_server_connector: 1.22.0
  - nextcloud_announcements: 6.0.0
  - notifications: 7.0.0-dev.1
  - notify_push: 1.3.3
  - oauth2: 1.22.0
  - password_policy: 6.0.0-dev.0
  - photos: 7.0.0
  - privacy: 6.0.0-dev.1
  - profile: 1.3.0
  - provisioning_api: 1.24.0
  - recognize: 12.0.0
  - recommendations: 7.0.0-dev.0
  - related_resources: 5.0.0-dev.0
  - richdocuments: 11.0.0-beta.1
  - serverinfo: 6.0.0-dev.0
  - settings: 1.17.0
  - sharebymail: 1.24.0
  - socialsharing_email: 4.1.0
  - spreed: 24.0.0-rc.2
  - support: 6.0.0
  - survey_client: 6.0.0-dev.0
  - systemtags: 1.24.0
  - text: 8.0.0
  - theming: 2.9.0
  - theming_customcss: 1.20.0
  - twofactor_backupcodes: 1.23.0
  - updatenotification: 1.24.0
  - user_oidc: 8.10.1
  - user_status: 1.14.0
  - viewer: 7.0.0-dev.0
  - weather_status: 1.14.0
  - webhook_listeners: 1.6.0
  - workflowengine: 2.16.0
Disabled:
  - app_api: 34.0.0 (installed 33.0.0)
  - circles: 34.0.0 (installed 31.0.0)
  - encryption: 2.22.0
  - end_to_end_encryption: 2.1.1 (installed 2.1.1)
  - impersonate: 4.0.0 (installed 4.0.0)
  - memories: 8.0.1 (installed 8.0.1)
  - previewgenerator: 5.13.0 (installed 5.13.0)
  - quota_warning: 1.23.0 (installed 1.23.0)
  - suspicious_login: 12.0.0-dev.0 (installed 12.0.0-dev.0)
  - testing: 1.23.0
  - twofactor_nextcloud_notification: 8.0.0 (installed 7.0.0)
  - twofactor_totp: 16.0.0 (installed 15.0.0)
  - user_ldap: 1.25.0 (installed 1.24.0)
  - user_saml: 8.0.1 (installed 8.0.1)
  - workflow_pdf_converter: 4.0.0 (installed 4.0.0)

Nextcloud Signing status

Nextcloud Logs

{"reqId":"9ty1HsQQy3zq7QeCa1NJ","level":2,"time":"2026-05-26T13:14:36+00:00","remoteAddr":"10.241.204.18","user":"axheli","app":"theming","method":"GET","url":"/apps/theming/manifest/settings?v=ba7e6a9a","scriptName":"/index.php","message":"conflict with value type from database","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36","version":"34.0.0.8","data":{"app":"theming","key":"cachebuster","type":"4","knownType":"8"},"id":"6a159cbc577ad"}


{"reqId":"9ty1HsQQy3zq7QeCa1NJ","level":3,"time":"2026-05-26T13:14:36+00:00","remoteAddr":"10.241.204.18","user":"axheli","app":"index","method":"GET","url":"/apps/theming/manifest/settings?v=ba7e6a9a","scriptName":"/index.php","message":"conflict with value type from database","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36","version":"34.0.0.8","exception":{"Exception":"OCP\\Exceptions\\AppConfigTypeConflictException","Message":"conflict with value type from database","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":378,"function":"getTypedValue","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Services/AppConfig.php","line":252,"function":"getValueString","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/apps/theming/lib/Controller/ThemingController.php","line":459,"function":"getAppValueString","class":"OC\\AppFramework\\Services\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":165,"function":"getManifest","class":"OCA\\Theming\\Controller\\ThemingController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":78,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":324,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1159,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppConfig.php","Line":519,"message":"conflict with value type from database","exception":"{\"class\":\"OCP\\Exceptions\\AppConfigTypeConflictException\",\"message\":\"conflict with value type from database\",\"code\":0,\"file\":\"/var/www/nextcloud/lib/private/AppConfig.php:519\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppConfig.php(378): OC\\AppConfig->getTypedValue()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Services/AppConfig.php(252): OC\\AppConfig->getValueString()\\n#2 /var/www/nextcloud/apps/theming/lib/Controller/ThemingController.php(459): OC\\AppFramework\\Services\\AppConfig->getAppValueString()\\n#3 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(165): OCA\\Theming\\Controller\\ThemingController->getManifest()\\n#4 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(78): OC\\AppFramework\\Http\\Dispatcher->executeController()\\n#5 /var/www/nextcloud/lib/private/AppFramework/App.php(137): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#6 /var/www/nextcloud/lib/private/Route/Router.php(324): OC\\AppFramework\\App::main()\\n#7 /var/www/nextcloud/lib/base.php(1159): OC\\Route\\Router->match()\\n#8 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#9 {main}\"}","CustomMessage":"conflict with value type from database"},"id":"6a159cbc577a2"}

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions