dashy
dashy copied to clipboard
Config not saving
Environment
Self-Hosted (Docker)
System
Ubuntu
Version
Current
Describe the problem
Any changes i make in dashboard i save to disk via UI, If i reboot the server these changes are gone and dashy is vanilla / default
Additional info
No response
Please tick the boxes
- [X] You have explained the issue clearly, and included all relevant info
- [X] You are using a supported version of Dashy
- [X] You've checked that this issue hasn't already been raised
- [X] You've checked the docs and troubleshooting guide
- [X] You agree to the code of conduct
If you're enjoying Dashy, consider dropping us a ā
š¤ I'm a bot, and this message was automated
Same problem here ! Unable to save conf.yml from the UI The backup file is created, but the conf.yml isn't saved !
Any suggestions on fix other than blowing it away and starting over?
Thx
On Fri, Mar 31, 2023 at 6:12āÆAM ulysserevient @.***> wrote:
Same problem here ! Unable to save conf.yml from the UI The backup file is created, but the conf.yml isn't saved !
ā Reply to this email directly, view it on GitHub https://github.com/Lissy93/dashy/issues/1147#issuecomment-1491679712, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY54QDJWP4ORNX4ZISXTZR3W62UZFANCNFSM6AAAAAAWAO6KTE . You are receiving this because you authored the thread.Message ID: @.***>
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.
I still can't save the conf file from the gui is there a solution ?
I have had the same issue. I get an error "AxiosError: Network Error". This wasn't always happening and I wasn't sure why.
Anyway, I was a little lazy in my implementation and had just used default (root) login to run the Dashy container. I've since switched it to using a non-root user (changed ownership of the folder structure) and everything is working fine now. Shouldn't have made a difference but I'll keep this updated in case I have any further issues.
Same issue, regarding the file not saving but the backup is created. Rebuild also fails randomly, 503. I've found it easier to simply edit the conf file manually the restart the docker container.
So, for me the answer was to implement a non-root installation for the container. Not sure why it worked but there's obviously some conflict somewhere that doesn't occur when you're container is running under a non-root user.
Just added UID and GID environment variables:
# Set any environmental variables
environment:
# Specify your user ID and group ID. You can find this by running id -u
and id -g
- UID=1001
- GID=1001
Bear in mind that "1001" was my default user and your user may be different. Quick chown -R in the terminal for the folders where I was storing the persistent volume for Dashy, bounced the container and everything has been fine since.
I have been having a similar issue. Iām going to give this a shot as well and see if I make and progress. Thanks for the recommendation!
I have the same issue. Any kind of change is not update. Backups are made, but any change is effective.
Hi, I've tried to change UID and GID with non-root user, but problem persists !
Hi, I am having the same problem, set all my links up then boom, everything gone. Tried the non-root user change, and still broken.
Not sure if this is the intended design of dashy or if there is a bug, but what I finally found worked had nothing to do root owner. After editing hit āSave to Diskā, then open āUpdate Configurationā (the wrench icon) and then select āRebuild Applicationā. After it completes, I have had no issues with refreshing the dashboard, closing it and repointing it.
While saving a config doesnāt trigger the rebuild, Iām not sure but this has solved the issue for me.
i had this same issue that caused me to loose all my edits multiple times. edited fonts and colors did not stick after saving to disk multiple times, but menus, menu items and icons did. @strangedesign13's workaround above finally did the trick. i feel the expected behavior is for the "save to disk" function to trigger the "rebuild application" function. fwiw i'm using ff/librewolf and everything is up to date. plz look into this. thx again for your work. dashy is awesome :purple_heart:
Hi,
I have an Ubuntu 22.04 VM running with Docker setup, I set up Dashy and had it configured to how I wanted, looked great etc.
Tested it with a reboot and docker didn't auto-start so I sorted that (see command history file)
Next, however, when I checked my Dashy, the config is reset... Dashy_commands.txt
I changed > Save to disk > tried the rebuild that @strangedesign13 suggests but it doesn't work.
I have attached my commands history, maybe someone can shed some light as to what's going on, please? @Lissy93
Hi,
I have an Ubuntu 22.04 VM running with Docker setup, I set up Dashy and had it configured to how I wanted, looked great etc.
Tested it with a reboot and docker didn't auto-start so I sorted that (see command history file)
Next, however, when I checked my Dashy, the config is reset... Dashy_commands.txt
I changed > Save to disk > tried the rebuild that @strangedesign13 suggests but it doesn't work.
I have attached my commands history, maybe someone can shed some light as to what's going on, please? @Lissy93
Did you check that your Docker setup has persistent storage?
Same issue. Config gets reset.
I had the same issue and resolved with the fix mentioned above. I made my edits, saved to disk, then went to Configuration Options and selected Rebuild Application and Reload Page. My changes then survived a reboot. A few more buttons to push, but works for me.
Another instance of the exact same issue. I'm running Dashy as a Debian 12 LXC Container on Proxmox 8. I installed it using the Helper Scripts. Using @strangedesign13's https://github.com/Lissy93/dashy/issues/1147#issuecomment-1633020158 worked for me as well.
deployed on vercel
I get this error while trying to save config. is there any thing else that i need to configure in vercel to get the config saved
AxiosError: Request failed with status code 405
I got that error when the docker container stopped unexpectedly
Same issue! Actually new user, just started the configuration and with some refresh the configuration is all gone (including sample/ initial shortcuts, which I did not deleted). Running Dashy in LXC
I think there may be a several different issues here,
Possible Issue 1: Unable to call save endpoint from CDN/static server
If you're running Dashy on a static host, like Vercel, then there's no server-side code to actually save the config, re: #1465 (this is outlined bit more in the docs)
Possible Issue 2: Unable to save
In Docker, double check that the file isn't read-only, and that the container actually has permissions to modify it. You shouldn't really be running it as a root
user, and I'm not sure if it will work if you do
Possible Issue 3: Saved but not updating
After saving, the frontend will recompile, which may take a couple seconds (or a bit longer on a Pi or low-powered device). If it doesn't recompile, you can manually trigger a re-build.
None of the above?
If you're still having issues, if you could share the following with me, it'll help me look into it further:
- If you open the conf.yml file, can you see your changes?
- When you save, are there any errors in the browser console (see: how to open browser console)
- Are there any errors in your Docker logs?
Hi This problems seems to be related to dashy not automatically rebuilding on changes (https://github.com/Lissy93/dashy/issues/1147#issuecomment-1633020158) , 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.
Hello,
I am still having issues with this - saving the configuration via the gui does not work properly.
I am using docker-compose, setting UID and GID to my user (1000:1000). I am passing through a whole folder to the container, permissions of the folder and all the files within are correct.
When I make a modification from the GUI, a backup file is created - therefore dashy can write to the folder - but the new conf.yaml is... not new, it's just the same. I see no error in the docker log, when I hit save a rebuild is correctly triggered, no error in the browser console as well.
I tried all permutations that I could think of, running the container without UID/GID, changing ownership of the folder to root:root, making the folder & contents chmod 777...
I am unsure how to proceed, I love this project and I am willing to perform any troubleshooting that might be necessary.
I have performed a bit of debugging, and noticed that even if I run the container with UID:GID set, the backup files are still saved as root. Inside the container itself, I see that the 1000:1000 files are (presumably) correctly mapped to user node, including conf.yaml
I have the same exact issue. Dashy works. Installation/Configuration is done properly. I've been configuring Dashy for a couple of days now with little to no issues. However I am not able to edit config file via GUI. I mean I could do it the first time but never again after that. Changes are never really saved, even though saving confirmation is shown as successful. I've tried waiting, reloading and rebuilding with no success. Ver. 2.1.2 Edit: temp solution: edited conf.yml manually (docker). Edit2: did some light observing. Upon saving, two files are affected: seems that the old config version is saved into conf.xxx.backup.yml and conf.yml. In any case, it doesn't look like a permission problem, as files are written/updated.
I had the same issue. Now, I just do preview changes -> save to disk from the JSON editor. This workaround works very well and is easy :tada:
I had the same issue. Now, I just do preview changes -> save to disk from the JSON editor. This workaround works very well and is easy š
I've tested, but it does not work for me. I can edit "tree" (eg changing the order of sections) and save then, it works. Changes might require rebuild or reload page, but it works. The bug appears only when "code" is used and changed anything (even a string or something), it's never saved, using "Preview Changes" does nothing in this case. When checking the actual files upon saving, two are affected. Backup and normal conf.yml, but contents are the same, as is the timestamp of both files, unfortunately the saved version is the previous one, so no actual changes were stored.
I just found out that when you click "tree" which give you a dropdown menu, and the other options is "code" and "preview", click on code, then make some changes, then hit "preview changes", then "save to disk". but I have not tried without changing the menu next to the undo & redo button before doing the preview changes, that could work. and the way I did actually updated it, even if I refreshed my dashy page.
Try V3, there should be no more issues with this anymore