-
Notifications
You must be signed in to change notification settings - Fork 39
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
dashmate setup local
fails with Database already exists
#1736
Comments
Hey AJ. I tried your instructions and couldn't reproduce your issue. Very possibly you have not properly cleaned out previous local environment and dashcore docker volumes left with some content leading you to the Sharing you a video with me putting your commands from the issue. |
@pshenmic what are the specific directories that need to be removed? I removed rm -rf ~/.dashmate # q is quiet, as in just the IDs
docker service rm $(docker service ls -q)
# a is for all
docker container stop $(docker container ls -aq)
docker container kill $(docker container ls -aq)
docker container rm --force $(docker container ls -aq)
# just aliases of the above
docker stop $(docker ps -aq)
docker kill $(docker ps -q)
docker rm --force $(docker ps -a -q)
docker image rm --force $(docker images -q)
# again, an alias
docker rmi --force $(docker images -q)
# prune all containers images, networks, and volumes - to the max
docker container prune --force
docker image prune --all --force
docker network prune --force
docker volume prune --force
# prune HARDER
docker system prune --all --force --volumes What else do I need to remove to get back to a fresh slate? (I'll try again in another fresh container too) |
I ran again in another fresh container, with another fresh install of docker and dashmate and... this time it worked. 🤷♂️ Unfortunately I wasn't able to discover what was different between the attempts or what to remove, so I have no advice for anyone who encounters the same issue except to reinstall the OS from scratch (which is why we all have to use containers and VMs to manage such complex software). ./bin/dashmate setup --verbose --node-count=3 --debug-logs --miner-interval=2.5m local
|
Update
I was able to get Docker installed without
root
(well, kind of) as per webinstall/webi-installer-requests#28 (comment)Original
I did this all as
root
because I couldn't get rootless docker to work (possibly some kernel or shadow-utils bug or incompatibility).curl -fsSL https://get.docker.com -o get-docker.sh; sh get-docker.sh
dashmate
on Ubuntu 22.04 LTS x64:https://github.com/dashpay/platform/releases
dashmate
Other notes:
To disable docker so that the rootless can be used:
The text was updated successfully, but these errors were encountered: