Skip to content

[Bug]: Theming app broken (?) in 34.0.0 #61273

@TheWojtek

Description

@TheWojtek

⚠️ This issue respects the following points: ⚠️

Bug description

Theming app displays unconsistent behavior in 34.0.0

In the Apps menu (https://nextcloud_server/settings/apps/enabled) the app is listed as "enabled", version 2.9.0. The app can not be disabled, as it is by design.
Clicking "Show Details" for the app shows: "This app cannot be installed because the following dependencies are not fulfilled:
Server version 13 or lower is required."

Image Image

(two screenshots as I have the same behavior on two separate NC servers)
In the source code of the app, the version is reported inconsistently:

(nc_root/apps/theming/openapi.json):

{
    "openapi": "3.0.3",
    "info": {
        "title": "theming",
        "version": "0.0.1",
        "description": "Adjust the Nextcloud theme",
        "license": {
            "name": "agpl"
        }

(nc_root/apps/theming/appinfo/info.xml):

<?xml version="1.0"?>
<!--
  - SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  - SPDX-License-Identifier: AGPL-3.0-or-later
-→
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
	  xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
	<id>theming</id>
	<name>Theming</name>
	<summary>Adjust the Nextcloud theme</summary>
	<description>Adjust the Nextcloud theme</description>
	<version>2.9.0</version>
	<licence>agpl</licence>
	<author>Nextcloud</author>
	<namespace>Theming</namespace>

	<types>
		<logging/>
	</types>

	<category>customization</category>
	<bugs>https://github.com/nextcloud/server/issues</bugs>
	<dependencies>
		<nextcloud min-version="34" max-version="34"/>
	</dependencies>

Please note <nextcloud min-version="34" max-version="34"/> is correct as the file comes from the 34.0.0 install archive, however it still reports the app as incompatible as per the screenshots above.

Surprisingly, only one of the instances keeps flooding the log with (possibly relevant?) errors (attached in the logs section below). The other does not, despite identical situation on both instances.

Both instances and their respective Nginx proxies (non-caching) were obviously restarted multiple times, browser caches cleared etc.

Steps to reproduce

  1. Upgrade to a 34.0.0. from 33.x
  2. Go to "Applications"
  3. Check the "Details" of the always-enabled "Theming" app.

Expected behavior

  1. The app should present to the NC system as compatible
  2. No errors should be thrown.

Nextcloud Server version

34

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

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

{
    "system": {
        "serverid": 1,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "trusted.internal",
            "truste.external.com"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "push": "https:\/\/trusted.external.com\/push",
        "forwarded_for_headers": [
            "HTTP_X_FORWARDERD_FOR",
            "HTTP_X_REAL_IP"
        ],
        "allow_local_remote_servers": true,
        "overwritehost": "trusted.external.com",
        "overwriteprotocol": "https",
        "overwrite.cli.url": "https:\/\/trusted.external.com",
        "htaccess.RewriteBase": "\/",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "34.0.0.12",
        "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": "",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "filelocking.enabled": "true",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0
        },
        "log_type": "file",
        "logfile": "\/var\/log\/nextcloud.log",
        "loglevel": 3,
        "logdateformat": "F d, Y H:i:s",
        "maintenance": false,
        "maintenance_window_start": 100,
        "default_phone_region": "pl",
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpauth": true,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "app_install_overwrite": [],
        "apps_paths": [
            {
                "path": "\/var\/www\/nextcloud\/apps",
                "url": "\/apps",
                "writable": true
            }
        ],
        "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"
        ],
        "data-fingerprint": "6a44684346468141641be1122c01f5"
    }
}

List of activated Apps

Enabled:
  - activity: 7.0.0
  - admin_audit: 1.24.0
  - app_api: 34.0.0
  - appstore: 1.0.0
  - assistant: 3.4.3
  - bruteforcesettings: 7.0.0
  - circles: 34.0.0
  - cloud_federation_api: 1.18.0
  - comments: 1.24.0
  - contactsinteraction: 1.15.0
  - context_chat: 5.3.1
  - dashboard: 7.14.0
  - dav: 1.39.0
  - federatedfilesharing: 1.24.0
  - federation: 1.24.0
  - files: 2.6.0
  - files_downloadlimit: 5.2.0-dev.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
  - groupfolders: 22.0.1
  - integration_openai: 4.5.1
  - logreader: 7.0.0
  - lookup_server_connector: 1.22.0
  - mail: 5.9.2
  - nextcloud_announcements: 6.0.0
  - notifications: 7.0.0-dev.1
  - notify_push: 1.3.3
  - oauth2: 1.22.0
  - office: 1.0.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
  - serverinfo: 6.0.0
  - settings: 1.17.0
  - sharebymail: 1.24.0
  - spreed: 24.0.0
  - support: 6.0.0
  - survey_client: 6.0.0-dev.0
  - suspicious_login: 12.0.0-dev.0
  - systemtags: 1.24.0
  - text: 8.0.0
  - theming: 2.9.0
  - twofactor_backupcodes: 1.23.0
  - twofactor_totp: 16.0.0
  - updatenotification: 1.24.0
  - user_status: 1.14.0
  - viewer: 7.0.0-dev.0
  - weather_status: 1.14.0
  - webhook_listeners: 1.6.0
  - whiteboard: 1.5.9
  - workflowengine: 2.16.0
Disabled:
  - encryption: 2.22.0
  - files_external: 1.26.0
  - firstrunwizard: 7.0.0-dev.0 (installed 4.0.0)
  - impersonate: 4.0.0 (installed 4.0.0)
  - root_cache_cleaner: 0.1.10 (installed 0.1.10)
  - twofactor_nextcloud_notification: 8.0.0
  - user_ldap: 1.25.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

{"reqId":"t5mNeYhi6jOJ7KyazMJo","level":3,"time":"2026-06-13T12:46:34+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"usernamehere","app":"index","method":"GET","url":"/apps/theming/manifest/settings?v=55ad0817","scriptName":"/index.php","message":"conflict with value type from database","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.5 Safari/605.1.15","version":"34.0.0.12","exception":{"Exception":"OCP\\Exceptions\\AppConfigTypeConflictException","Message":"conflict with value type from database","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":388,"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":537,"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:537\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppConfig.php(388): 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":"6a2d512aad739"}

Additional info

EDIT: additional note: the app seems to function anyway (as in: removing the app from the /apps folder results in non-styled Nextcloud instance)

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmap34-feedbackbug

    Type

    No fields configured for Bug.

    Projects

    Status
    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions