Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: theming:config background_color neither shown nor configurable #51182

Open
5 of 8 tasks
doubleO8 opened this issue Mar 2, 2025 · 1 comment · May be fixed by #51181
Open
5 of 8 tasks

[Bug]: theming:config background_color neither shown nor configurable #51182

doubleO8 opened this issue Mar 2, 2025 · 1 comment · May be fixed by #51181
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 31-feedback bug

Comments

@doubleO8
Copy link

doubleO8 commented Mar 2, 2025

⚠️ This issue respects the following points: ⚠️

Bug description

Listing configuration will not include background_color

sudo -u www-data php occ theming:config
PHP Warning:  Module "pdo_mysql" is already loaded in Unknown on line 0
Current theming config:
- name: noCloud
- url: https://nc.example.com
- imprintUrl: 
- privacyUrl: 
- slogan: No Clout
- color: 
- primary_color: #000000
- disable-user-theming: True
- background: backgroundColor
- logo: 
- logoheader: 
- favicon: 

Setting background_color is not possible either

sudo -u www-data php occ theming:config background_color '#000000'
PHP Warning:  Module "pdo_mysql" is already loaded in Unknown on line 0
Invalid config key provided

Steps to reproduce

  1. Run occ tool like sudo -u www-data php occ theming:config
  2. Or run occ tool like sudo -u www-data php occ theming:config background_color '#000000'

Expected behavior

background_color should be displayed and configurable via occ tool

Nextcloud Server version

31

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Nginx

Database engine version

PostgreSQL

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

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

@doubleO8 doubleO8 added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Mar 2, 2025
@doubleO8
Copy link
Author

doubleO8 commented Mar 2, 2025

Behaviour after applying PR: #51181 :

sudo -u www-data php occ theming:config
PHP Warning:  Module "pdo_mysql" is already loaded in Unknown on line 0
Current theming config:
- name: noCloud
- url: https://nc.example.com
- imprintUrl: 
- privacyUrl: 
- slogan: No Clout
- color: 
- primary_color: #000000
- background_color: #000000
- disable-user-theming: True
- background: backgroundColor
- logo: 
- logoheader: 
- favicon: 
sudo -u www-data php occ theming:config background_color '#000000'
PHP Warning:  Module "pdo_mysql" is already loaded in Unknown on line 0
Updated background_color to #000000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 31-feedback bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants