dashy
dashy copied to clipboard
[BUG] StartingView = Minimal view not working
Environment
Self-Hosted (Docker)
System
Docker 20.10.8
Version
2.1.1
Describe the problem
Settings like appConfig.startingView not working when you set them up on conf.yml. For example it is not posible to show the minimal view by default. If you execute yarn build, this settings start to work but then it is not possible to modify the conf.yml externally because the conf.yml that works is the one located in /app/dist/
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
I have the same issue. My temporary workaround is to remove /app/dist/conf.yml after executing yarn build within the container, then it will fallback to use your config file mounted at /app/public/conf.yml.
Detail procedure:
- Start the container with the value
minimalforappConfig.startingViewin your config file.
docker run -d \
-p 4000:80 \
-v /root/my-local-conf.yml:/app/public/conf.yml \
--name my-dashboard \
--restart=always \
lissy93/dashy:latest
- Re-build the app within the container, by
docker exec -it my-dashboard yarn build - Remove the generated config file, by
docker exec -it my-dashboard rm ./dist/conf.yml
Remark: You have to repeat step 2-3 whenever you make changes to the value of appConfig.startingView.
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.
This issue was automatically closed because it has been stalled for over 6 weeks with no activity.
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.
Changing startingView has no effect whatsoever. I rebooted the instance, saved local, saved to disk. Looked through the filesystem. I am running it via lxc from tteck
Please try a manual rebuild.
@CrazyWolf13 do you mean from the UI? Or from the cli? I did trigger the rebuild from the UI. I still have to see how to do it from the cli.
Yes I mean trigger from the UI, then refresh the page.
Done that. No change. Tried looking for the conf.yml file in the dist dir as suggested earlier in this post and couldn't find it.
Then it's probably a issue with dashy, I'll reopen this, but honestly wouldn't be surprised if this does not get fixed in the near future, looking at the activity and the project behind the curtains.
Thanks. I'll keep looking into it. But with my limited experience with the project as well as js, I doubt I'll get to anything faster than the collaborators.
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.