question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docker: Error response from daemon: Bind mount failed: '/var/lib/dokku/services/redis/ledokku/data' does not exists.

See original GitHub issue

Bug report

Having error docker: Error response from daemon: Bind mount failed: '/var/lib/dokku/services/redis/ledokku/data' does not exists. when running sudo bash ledokku-bootstrap.sh

Describe the bug

Cannot mount path when installing

To Reproduce

Run

wget https://raw.githubusercontent.com/ledokku/ledokku/v0.7.0/ledokku-bootstrap.sh
sudo bash ledokku-bootstrap.sh

Expected behavior

Expected output:

=== 🐳 ===
Ledooku was successfully installed
Open you server ip in your browser
http://${DOKKU_SSH_HOST}
=== 🐳 ===

System information

  • Version of dokku: 0.24.10 | latest
  • Version of ledokku: 0.7.0 | latest

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ItzMiracleOwOcommented, Aug 7, 2021

Problem resolved after reinstall the system, thank you for your help

0reactions
vorph1commented, Jan 22, 2022

Hi,

I encountered similar issues when trying to install ledokku, dokku was installed via https://dokku.com/docs/getting-started/install/docker/. I’m not entirely sure whether this is a fault of the dokku/dokku container image or ledokku simply doesn’t support this kind of deployment (dokku in docker vs installed on the host system), so this is just for your information.

I managed to get over the redis config issue (error similar to the one above just stating that the config file is missing) by ensuring the /var/lib/dokku/services path was a symlink to /mnt/dokku/var/lib/dokku/services (specific to dokku/dokku) inside the container prior to running the ledokku installation script. This allowed me to get to the UI but it only showed the initial add ssh key step which doesn’t progress after running the provided key snippet inside the container, I suspect this is probably another path related issue with the key storage but I don’t have any more time to play around with this.

Cheers

Read more comments on GitHub >

github_iconTop Results From Across the Web

Synology: teslamate not starting – "Bind mount failed" #527
it gives the error message below. I tried to manually create the import directory, but this results in a constant rebooting of the...
Read more >
Troubleshoot volume errors - Docker Documentation
This topic discusses errors which may occur when you use Docker volumes or bind mounts. Error: Unable to remove filesystem. Some container-based utilities, ......
Read more >
Error response from daemon: Bind mount failed
I'm running Kopano4s in docker on my Synology DS918+ It's talking to a ... mount failed: '/volume1/docker/kopano4s/mysocket' does not exists.
Read more >
Docker tries to mkdir the folder that I mount - Stack Overflow
C:\Program Files\Docker Toolbox\docker.exe: Error response from daemon: error while creating mount source path '/c/Users/szx/Projects': mkdir /c ...
Read more >
Troubleshooting errors with Docker commands when using ...
Error : "Filesystem Verification Failed" or "404: Image Not Found" when pulling an image from an Amazon ECR repository. You may receive the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found