dashy icon indicating copy to clipboard operation
dashy copied to clipboard

[BUG] Config lost when reload OR different config paths for reading and saving

Open juantxorena opened this issue 2 years ago • 7 comments
trafficstars

Environment

Self-Hosted (Bare Metal)

System

No response

Version

2.1.1

Describe the problem

If I modify the config via the UI, it works correctly, and it's saved in public/conf.yml (there's also a bunch of backup configs). However, if I reload the page, the original config file dist/conf.yml, so I have to manually edit the conf.yml file there

Additional info

No response

Please tick the boxes

juantxorena avatar Apr 08 '23 17:04 juantxorena

@juantxorena Can you update the description its not clear what's supposed to happen and what bug is there

dropdevrahul avatar May 04 '23 09:05 dropdevrahul

  1. Fresh bare-metal installation
  2. Modify config in the UI visual editor
  3. The config file in public/conf.yml is updated with whatever changes I did
  4. Hard reload page (Ctrl+F5)
  5. The config file dist/conf.yml is used (as opossed to the previously updated public/conf.yml), so none of the changes done in step 2 are shown

juantxorena avatar May 04 '23 09:05 juantxorena

same here

martin-77 avatar May 07 '23 10:05 martin-77

This issue has gone 3 months without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days.

liss-bot avatar Aug 06 '23 01:08 liss-bot

It is of course still active.

juantxorena avatar Aug 06 '23 07:08 juantxorena

This issue has gone 3 months without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days.

liss-bot avatar Nov 05 '23 01:11 liss-bot

This is still not fixed, but unfortunately, I think it's the project the one which is stale

juantxorena avatar Nov 05 '23 18:11 juantxorena

This is still not fixed, but unfortunately, I think it's the project the one which is stale

Just checking, you did a rebuild right? And you have write permissions where the config is located right?

CrazyWolf13 avatar Feb 03 '24 09:02 CrazyWolf13

Same issue here - using Docker Compose and config file is mounted with write permissions

pmharris77 avatar Feb 09 '24 00:02 pmharris77

Hi This problems seems to be related to dashy not automatically rebuilding on changes, see #1479 and https://github.com/Lissy93/dashy/issues/1290#issuecomment-1884249018 A new release has just been published, which should fix this issue, so please upgrade to the latest version. If this is not the case just respond back to this ticket and I'll reopen this issue. Thanks and have a nice day.

CrazyWolf13 avatar Mar 03 '24 17:03 CrazyWolf13