Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

[Bug]: Disabling User Theming through OCC is Broken #56555

Closed

Description

@i2h3

⚠️ This issue respects the following points: ⚠️

Bug description

The special OCC theming command to disable user theming does not accept any value due to a type conflict.

Steps to reproduce

Run this in your shell as in the server documentation:

./occ theming:config disable-user-theming no

See this error message:

In AppConfig.php line 482:
                                          
  conflict with value type from database  
                                          

theming:config [-r|--reset] [--] [<key> [<value>]]

This also fails with other attempted values like false or 0.

Expected behavior

disable-user-theming in oc_appconfig is set to 0.

Nextcloud Server version

31

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

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

Fresh Nextcloud Server install

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

Irrelevant. Just take the Nextcloud Docker image (31.0.9 or latest for 32).

List of activated Apps

Irrelevant. Just take the Nextcloud Docker image (31.0.9 or latest for 32).

Nextcloud Signing status

Irrelevant. Just take the Nextcloud Docker image (31.0.9 or latest for 32).

Nextcloud Logs

Irrelevant. Just take the Nextcloud Docker image (31.0.9 or latest for 32).

Additional info

For anyone reading along, coming by or being stuck on an older version, this more general command works fine:

./occ config:app:set theming disable-user-theming --value 0

Activity

  1. added theissue type on Nov 20, 2025
  2. added
    0. Needs triage
    on Nov 20, 2025
  3. joshtrichards commented on Nov 20, 2025

    @joshtrichards
    Member

    #56016 / #56039

    Though I'm not sure if the CLI fully supports "no" at the moment even after the IAppConfig swap:

    case ConfigLexicon::USER_THEMING_DISABLED:
    $value = $value === 'true' || $value === 'yes' || $value === '1';
    $this->appConfig->setAppValueBool(ConfigLexicon::USER_THEMING_DISABLED, $value);
    break;

  4. i2h3 commented on Nov 21, 2025

    @i2h3
    Author

    @joshtrichards It does not work regardless of the argument value.

  5. joshtrichards commented on Nov 21, 2025

    @joshtrichards
    Member

    Sorry I should have been more clear; it was just ported to IAppConfig in #56039 so only the current master branch and, now after a recent backport, the v32.0.2 maintenance release has the fix.

    Just take the Nextcloud Docker image (31.0.9 or latest for 32).

    The latest tag for the image yesterday would still have been v32.0.1.

  6. icewind1991 commented on Nov 24, 2025

    @icewind1991
    Member

    This is still an issue on 32.0.2

    #56626 has the proper fix

  7. moved this from To triage to In progress in 🧑‍🤝‍🧑 Community triageon Nov 24, 2025
  8. added
    3. to review
    and removed
    0. Needs triage
    on Nov 24, 2025
  9. github-actions commented on Nov 17, 2026

    @github-actions
    Contributor

    This issue has been automatically locked because it has been closed for more than 14 days. As we do not monitor closed issues, we are locking this issue to prevent further comments from getting lost in the noise.
    Please open a new issue if you have a similar problem instead. For general discussions, please use our forum: https://help.nextcloud.com

  10. locked as resolved and limited conversation to collaborators on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions