Skip to content

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

@i2h3

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions