⚠️ 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?
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
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:
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
falseor0.Expected behavior
disable-user-theminginoc_appconfigis set to0.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?
Configuration report
Irrelevant. Just take the Nextcloud Docker image (
31.0.9orlatestfor 32).List of activated Apps
Irrelevant. Just take the Nextcloud Docker image (
31.0.9orlatestfor 32).Nextcloud Signing status
Irrelevant. Just take the Nextcloud Docker image (
31.0.9orlatestfor 32).Nextcloud Logs
Irrelevant. Just take the Nextcloud Docker image (
31.0.9orlatestfor 32).Additional info
For anyone reading along, coming by or being stuck on an older version, this more general command works fine: