-
Notifications
You must be signed in to change notification settings - Fork 30
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
"Unable to locate /data/portainer.db on disk" #3
Comments
tried building manually and passing /var/lib/portainer into binary, no luck |
Eu também tive o mesmo problema... Estou procurando algo na internet, mas até agora não consegui resolver.... |
It's because the portainer data doesn't actually exist in the volume for some reason |
@bitshiftnetau check to see if your portainer data volume has a different name. You can see what your volumes are with: In my case, my volume was called |
Just want to share the fix on my Synology NAS. The folder path needs to be specified to make it work.
|
This solved my problem, thank you. |
Had he same problem on a synology the command above fixed it. docker volume ls does show the volume as portainer_data but I had to specify the full path as above. |
Thank you. This solved my issue as well. Pretty sure I ran the "/volume1/docker/portainer-ce:/data portainer/helper-reset-password" to get me over the hump. Much appreciated |
Portainer Version 2.17.1 community Edition
OutPut: time="2023-02-27T18:56:53Z" level=info msg="Loading PortainerDB: portainer.db" 2023/02/27 18:56:53 Data store not found at /data` mentioned directory to mount is available and listing shows me that there are portainer.db / .key and .pub Any help is highly appreciated. Thank you |
Running docker/portainer on a Western Digitial PR4100. docker run --rm -v portainer_data:/data portainer/helper-reset-password2023/07/22 18:32:09 Unable to locate /data/portainer.db on disk I've located the portainer.db file on a mnt but can't get passed this error. I don't think the -v is correct. I'm thinking that this needs to actually mount the folder first to get docker to think it's a volume. Help is appreciated. |
Hi @scuba-fan, I had the same issue and what I did was search for the file: find . -name portainer.db It was found in: Then I executed the docker run command as follows: docker run --rm -v /opt/portainer:/data portainer/helper-reset-password This time if was successful for me: Hope that helps! |
Worked for me. Did sudo find / -name pertained.db which gives you path. Then just replace the portainer_data with the path |
I found everything that I reported on the thread in the official forum of WDcommunity. But I'm stuck a step ahead of yours : #4 If there is someone who could save my day ? ^^' {"level":"info","filename":"portainer.db","time":"2024-01-11T16:15:55Z","message":"loading PortainerDB"} I got that when I try to do the command : docker run --rm -v /mydockerfolder:/data portainer/helper-reset-password Any idea ? I indeed tried docker stop portainer command it gave me : 'portainer' Then I try 'docker start portainer' and it gives me : Error response from daemon: driver failed programming external connectivity on endpoint portainer (222524611a7e68f9826958beb6e56935f3daeea3b8c3dba19e810c2ada96865f): Error starting userland proxy: listen tcp4 0.0.0.0:8000: bind: address already in use Error: failed to start containers: portainer Any idea ? |
in case anyone doesn't quite get this- the written example says
My Portainer docker setup on Synology used this path instead of 'portainer_data' -
So my complete command was-
|
Fix for {"level":"info","filename":"portainer.db","time":"2024-04-28T11:29:57Z","message":"loading PortainerDB"} Stop the running portioner container before you execute the command. |
I have portainer running as a service in Arch linux. The portainer.db file is located at /var/lib/portainer however when I pass that in to docker it cannot locate.
This is the exact command I enter
docker run --rm -v portainer_portainer_data:/var/lib/portainer portainer/helper-reset-password
I have also tried making a /data folder and placing the portainer.db file there
The text was updated successfully, but these errors were encountered: