Unable to get Pages to Work #1798
Unanswered
ukhawkeye
asked this question in
Help and Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm running Dashy in a Docker container on Ubuntu 22.04. My setup includes Docker, Docker Compose, and Portainer. I'm trying to configure Dashy with an additional YAML file for private pages but running into an issue.
Here’s what I’ve done:
Created a second YAML file located at /app/user-data/homelab.yml.
Set it up in Docker as a volume, linking it to /home/sysadmin/docker/dashy/public/homelab.yml.
This mirrors how conf.yml is set up, which works fine.
Dashy loads and reads homelab.yml correctly when I edit it manually.
The Issue:
When I make changes to homelab.yml from Dashy’s GUI, they don’t save. However, if I edit homelab.yml manually via SSH, Dashy picks up the changes.
What I’ve Tried:
Checked file permissions (ls -la shows that the file is owned by root:root and has rw-r--r--).
-rw-r--r-- 1 root root 145 Jan 30 21:51 conf.yml
-rw-r--r-- 1 root root 156 Jan 30 21:51 homelab.yml
Restarted the Dashy container.
Verified that the volume is correctly mounted in the container (docker inspect dashy).
Tried making changes to conf.yml from the GUI, and that works fine.
Questions:
Does Dashy support saving changes to multiple YAML files through the GUI?
Is there a specific permission or configuration I need to allow Dashy to write to private.yml?
I am using this script to deploy dashy
docker run -d
-p 8290:8080
-v /home/sysadmin/docker/dashy/public/conf.yml:/app/user-data/conf.yml
-v /home/sysadmin/docker/dashy/public/homelab.yml:/app/user-data/homelab.yml
--volume /home/sysadmin/docker/dashy/public/icons:/app/public/item-icons/icons
--name dashy
--restart=always
lissy93/dashy:latest
I have created the conf.yml and the homelab.yml before i deploy the docker
/app/user-data # cat conf.yml
pages:
path: 'homelab.yml'
pageInfo:
title: Home Page
description: Welcome to my Home Page
navLinks: []
/app/user-data # cat homelab.yml
pages:
path: 'conf.yml'
pageInfo:
title: Home Page
description: Welcome to my Public Home Dashboard!
navLinks: []
Any help would be greatly appreciated! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions