cachethq / cachet

🚦 The open-source status page system.
https://cachethq.io
MIT License
13.79k stars 1.55k forks source link

Set banner-background-color to empty not working #4214

Closed weberpatr closed 11 months ago

weberpatr commented 3 years ago

Hello guys,

I'm using the docker image of Cachet and got one problem, I can't solve without re-installing: I faulty set a banner-background-color in the UI. Now I want to remove that, so the background is transparent again. If I remove the value in the UI and save, it does not seem to be saved, as it just stays there.

If I try to set it in the psql database directly, it has also no impact:

-[ RECORD 1 ]-----------------------------
id         | 11
name       | style_banner_background_color
value      | #ffffff
created_at | 2021-02-08 14:31:14
updated_at | 2021-02-08 14:38:17

postgres=# update chq_settings set value = '' where id=11;
UPDATE 1
postgres=# select * from chq_settings where id=11;
-[ RECORD 1 ]-----------------------------
id         | 11
name       | style_banner_background_color
value      |
created_at | 2021-02-08 14:31:14
updated_at | 2021-02-08 14:38:17

The UI still shows #FFFFFF as color although its not in DB anymore. Restart has also no effect. Also not able to set the value to NULL:

postgres=# update chq_settings set value = NULL where id=11;
ERROR:  null value in column "value" violates not-null constraint

Is that a bug in the docker version or its also reproducible in the native version? Any idea how to solve that?

welcome[bot] commented 3 years ago

:wave: Thank you for opening your first issue. I'm just an automated bot that's here to help you get the information you need quicker, so please ignore this message if it doesn't apply to your issue. If you're looking for support, you should try the Slack group by registering your email address at https://cachethq-slack.herokuapp.com. Alternatively, email support@alt-three.com for our Professional support service (please note, this a paid service.) If you're issue is with documentation, you can suggest edits by clicking the Suggest Edits link on any page, or open an issue at https://github.com/CachetHQ/Docs

jbrooksuk commented 11 months ago

Thank you for your input on Cachet 2.x. We are shifting our attention and resources to Cachet 3.x and will no longer be supporting the 2.x version. If your feedback or issue is relevant to the 3.x series, we encourage you to engage with the new branch.

For more information on the Cachet rebuild and our plans for 3.x, you can read the announcement here.

We appreciate your understanding and look forward to your contributions to the new version.