dashy icon indicating copy to clipboard operation
dashy copied to clipboard

[BUG] StartingView = Minimal view not working

Open ToniMurcia opened this issue 2 years ago • 12 comments

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

ToniMurcia avatar May 22 '23 07:05 ToniMurcia

If you're enjoying Dashy, consider dropping us a ⭐
🤖 I'm a bot, and this message was automated

liss-bot avatar May 22 '23 07:05 liss-bot

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:

  1. Start the container with the value minimal for appConfig.startingView in 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
  1. Re-build the app within the container, by docker exec -it my-dashboard yarn build
  2. 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.

kkoyung avatar Jun 10 '23 09:06 kkoyung

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 Sep 09 '23 01:09 liss-bot

This issue was automatically closed because it has been stalled for over 6 weeks with no activity.

liss-bot avatar Sep 14 '23 01:09 liss-bot

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

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

melhakim avatar Nov 03 '24 16:11 melhakim

Please try a manual rebuild.

CrazyWolf13 avatar Nov 03 '24 17:11 CrazyWolf13

@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.

melhakim avatar Nov 03 '24 17:11 melhakim

Yes I mean trigger from the UI, then refresh the page.

CrazyWolf13 avatar Nov 03 '24 17:11 CrazyWolf13

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.

melhakim avatar Nov 03 '24 17:11 melhakim

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.

CrazyWolf13 avatar Nov 03 '24 17:11 CrazyWolf13

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.

melhakim avatar Nov 03 '24 18:11 melhakim

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 Oct 30 '25 01:10 liss-bot