dashy icon indicating copy to clipboard operation
dashy copied to clipboard

[BUG] didn#t save

Open robbyatbln opened this issue 2 years ago • 11 comments

Environment

Self-Hosted (Bare Metal)

Version

Dashy version 2.0.7

Describe the problem

Hello if i save the config to disk and reload the page all ist gone lokal save works but so i cant see it on other browser. by robby

Additional info

No response

Please tick the boxes

robbyatbln avatar Apr 16 '22 05:04 robbyatbln

Welcome to Dashy 👋 It's great to have you here, but unfortunately your ticket has been closed to prevent spam. Before reopening this issue, please ensure the following criteria are met.

Issues are sometimes closed when users:

  • Have only recently joined GitHub
  • Have not yet stared this repository
  • Have not previously interacted with the repo

Before you reopen this issue, please also ensure that:

  • You have checked that a similar issue does not already exist
  • You have checked the documentation for an existing solution
  • You have completed the relevant sections in the Issue template

Once you have verified the above standards are met, you may reopen this issue. Sorry for any inconvenience caused, I'm just a bot, and sometimes make mistakes 🤖

liss-bot avatar Apr 16 '22 05:04 liss-bot

hy liss-bot thats not helpfull, is there any tutorial how can i fix it looks like the conf.yml goes always back to the start conf.yml

robbyatbln avatar Apr 16 '22 06:04 robbyatbln

There's some info about config troubleshooting in the Troubleshooting Guide.

But your question isn't very clear, do you have an error message, console output, etc?

Lissy93 avatar Apr 16 '22 08:04 Lissy93

https://1drv.ms/v/s!AtKm83CUlTGflbwGV3ivnSZhkBp44g
here is a Little try to explain thanks for helping

MP4 File

robbyatbln avatar Apr 16 '22 12:04 robbyatbln

Thanks

Here's a couple of things to try:

  • Check if the conf.yml file on disk has been updated
  • Check the console for error messages
  • Try rebuilding the app (Config --> Rebuild)
  • Try clearing local data / using incognito (Config --> Clear data)

In the meantime, you can go to the export menu, and copy the changes to disk manually (Config --> Export). Or just use Docker, as I know this works in Docker.

Lissy93 avatar Apr 16 '22 17:04 Lissy93

I'm having this same issue. Using as a proxmox container and from the latest git release. I just installed the Ubuntu 22.04 container image, git pull'd the source, did npm run build and npm run. I'm starting the app using crontab entry like:

@reboot cd /root/dashy && /usr/bin/npm start

I have the same exact issue. The config file gets saved (old one gets backed up), but when I hit the reload button in the browser, I get the original config values. Going back into the config file after the refresh happens, I see the original config values.. Prior to hitting the refresh button, I can see the new config values in the config file on the server-side. Doing a re-build does fix the issue, but I need to allocate 4Gb of ram and 4 cores to my container in order to build the application. Would be nice to not have to rebuild it every time I need to make a change so I can keep the container resources down to a minimum. To me this sounds like a weird caching thing somewhere maybe?

scumola avatar Jun 07 '22 22:06 scumola

Lemme reopen...

Lissy93 avatar Jun 08 '22 23:06 Lissy93

So @Lissy93 I found that in the docker container, it happens too, but only immediately. I guess it's re-building behind the scenes? After a while, the docker container retains the new changes, but if Dashy is loaded into a new browser window right away after saving changes, I get the old version of the config for 30-ish seconds, and then the new changes show up.

In the proxmox container, the new changes don't take effect unless a manual build is triggered, then the changes are permanent.

scumola avatar Jun 09 '22 15:06 scumola

This is happening for me too. It takes quite some time to take the new changes after saving to disk. Sometimes it doesn't change at all, other times it makes a change 30-60 seconds after I hit save.

ghzgod avatar Jun 19 '22 16:06 ghzgod

This issue has gone 6 weeks 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 Jul 20 '22 01:07 liss-bot

Still relevant... will be addressed in #799

Lissy93 avatar Jul 20 '22 03:07 Lissy93