dashy icon indicating copy to clipboard operation
dashy copied to clipboard

[BUG] Cant install dashy from Lissy93/portainer-templates in portainer

Open NAVARRA opened this issue 1 year ago • 4 comments

Environment

Self-Hosted (Docker)

System

No response

Version

No response

Describe the problem

Hello Lissy93 and thank you so much for your amazing work.

I do have a couple of instances of dashy running in my homelab but it always has been a hassle to set them up. So i thougt i will use the Lissy93/portainer-templates in portainer to make the install easier.

i used this instruction https://github.com/Lissy93/portainer-templates to setup the templates with below url

https://raw.githubusercontent.com/Lissy93/portainer-templates/main/templates.json

when i hit deploy stack i always receive this error message:

failed to deploy a stack: Network dashy_default Creating Network dashy_default Created Container Dashy Creating Container Dashy Created Container Dashy Starting Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/portainer/Files/AppData/Config/Dashy/conf.yml" to rootfs at "/app/public/conf.yml": mount /portainer/Files/AppData/Config/Dashy/conf.yml:/app/public/conf.yml (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expect

what is configured wrong? help would be highly appriciated since i absolutly love dashy

thank you so much navarra

Additional info

No response

Please tick the boxes

NAVARRA avatar Apr 19 '24 08:04 NAVARRA

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

liss-bot avatar Apr 19 '24 08:04 liss-bot

Hi Not sure what's giving you such a headache, but installing dashy is very very simple and straightforward.

Here is a command you can enter into your shell:

docker run -d \
  -p 8080:8080 \
  -v ~/dashy/user-data:/app/user-data \
  --name my-dashboard \
  --restart=always \
  lissy93/dashy:latest

This will expose the latest dashy instance on your host's ip on port 8080, you can freely choose it.

--name is the container name, you can also freely name it. -v ~/my-conf.yml has to be the path on the host to your working dashy conf file, you can also take the default one from the github here located in /app/public

That's it.

If you encounter any error feel free to report back, thanks!

CrazyWolf13 avatar Apr 19 '24 08:04 CrazyWolf13

Keep in mind dashy will soon upgrade to v3 where the path inside the container for mounting will change a bit, but we'll let everyone know once it releases

CrazyWolf13 avatar Apr 19 '24 08:04 CrazyWolf13

Dashy has updated to V3, look here for the docker commands:

https://dashy.to/docs/deployment

CrazyWolf13 avatar Apr 22 '24 13:04 CrazyWolf13

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

liss-bot avatar May 16 '24 01:05 liss-bot