Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] crash while trying to install #1645

Closed
5 tasks done
kittenvr opened this issue Jul 22, 2024 · 6 comments
Closed
5 tasks done

[BUG] crash while trying to install #1645

kittenvr opened this issue Jul 22, 2024 · 6 comments
Assignees
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working ✅ Fixed [ISSUE] Auto-Assigned to Tickets whose fix has been deployed

Comments

@kittenvr
Copy link

Environment

Self-Hosted (Docker)

System

debian

Version

latest i think

Describe the problem

when i run the command from the website i get an error

Additional info

sudo docker run -d -p 8080:8080 -v ~/my-conf.yml:/app/user-data/conf.yml --name my-dashboard --restart=always lissy93/dashy:latest
docker: Error response from daemon: Conflict. The container name "/my-dashboard" is already in use by container "a1ed5f996baf74e1b1875e7f2838376009c3d5fcf718a9fc50d1a3e3a95ed8ad". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.

Please tick the boxes

@kittenvr kittenvr added the 🐛 Bug [ISSUE] Ticket describing something that isn't working label Jul 22, 2024
@github-project-automation github-project-automation bot moved this to Awaiting Triage in Dashy V3 Jul 22, 2024
@CrazyWolf13
Copy link
Collaborator

Hi seems like you already have a container named my-dashboard, try a different name or delete the old if not used anymore.

Then the command should work fine :)

@kittenvr
Copy link
Author

what command to delete it

@liss-bot liss-bot added the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Jul 22, 2024
@CrazyWolf13
Copy link
Collaborator

I suggest you familiarize yourself first with docker a bit, here are some basic tutorials:
https://youtu.be/eGz9DS-aIeY
https://youtu.be/94VQvRpjfO8

@liss-bot liss-bot removed the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Jul 23, 2024
@CrazyWolf13
Copy link
Collaborator

@kittenvr Could you resolve the issue?

@CrazyWolf13 CrazyWolf13 added 🚏 Awaiting User Response [ISSUE] Response from original author is pending 🛑 No Response [ISSUE] Response was requested, but has not been provided labels Aug 7, 2024
@kittenvr
Copy link
Author

kittenvr commented Aug 7, 2024

I think so

@liss-bot liss-bot added 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending and removed 🚏 Awaiting User Response [ISSUE] Response from original author is pending labels Aug 7, 2024
@CrazyWolf13 CrazyWolf13 added ✅ Fixed [ISSUE] Auto-Assigned to Tickets whose fix has been deployed and removed 🛑 No Response [ISSUE] Response was requested, but has not been provided 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending labels Aug 7, 2024
@github-project-automation github-project-automation bot moved this from Awaiting Triage to Done in Dashy V3 Aug 7, 2024
@highfillgoods
Copy link

highfillgoods commented Nov 14, 2024

#https://dashy.to/docs/troubleshooting/
even after removing the container it was still around. had to do a prune.

docker system prune
docker system prune -a --volumes

but the main problem was setting up the container with -v option.

Create a YAML file, (touch my-conf.yml), populate it with a sample config, then pass it as a volume: -v ./my-local-conf.yml:/app/user-data/conf.yml

docker run -d \
-p 80:8080 \
-v ~/my-conf.yml:/app/user-data/conf.yml \
--name my-dashboard \
lissy93/dashy:latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working ✅ Fixed [ISSUE] Auto-Assigned to Tickets whose fix has been deployed
Projects
Status: Done
Development

No branches or pull requests

5 participants