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

/usr/bin/certbot: not found #135

Open
dan91 opened this issue Feb 1, 2023 · 3 comments
Open

/usr/bin/certbot: not found #135

dan91 opened this issue Feb 1, 2023 · 3 comments
Labels
question Not an Issue but a question

Comments

@dan91
Copy link

dan91 commented Feb 1, 2023

Hi! When spinning up the fpm certbot docker file, I'm getting the following error:

lime-web_1    | /entrypoint.sh: 22: /usr/bin/certbot: not found
lime-web_1    | 2023/02/01 07:13:14 [emerg] 17#17: cannot load certificate "/etc/letsencrypt/live/survey.example.de/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/survey.example.de/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
lime-web_1    | nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/survey.example.de/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/survey.example.de/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)

Does that mean that certbot is not installed in the limesurvey container? When logging into the container I was not able to execute certbot.
On the host, the directory docker-limesurvey/certbot/conf/live/survey.example.de is empty.

This is on Ubuntu 22.04.1.
Thanks for your help.

@dannielperez
Copy link

dannielperez commented Feb 3, 2023

I was able to get it to run by manually generating the certs, but basically yes. The Dockerfile for the lime-web container inside your nginx-certbot folder is not properly installing certbot. To fix the pipeline I would add the steps to generate the certs to the entrypoint for the certbot container in the docker-compose.yml you're using or try and fix that Dockerfile.

@martialblog
Copy link
Owner

Hi, sorry I haven't had the time to look into it. I'll try to have look at it soon

@martialblog martialblog added the question Not an Issue but a question label Feb 16, 2023
@xxxnoscoperxxx
Copy link

as a beginner I was not able to fix the dockerfile, any there workarounds for beginners?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Not an Issue but a question
Projects
None yet
Development

No branches or pull requests

4 participants