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

Unable to run the container #105

Open
aasimenator opened this issue Mar 5, 2021 · 2 comments
Open

Unable to run the container #105

aasimenator opened this issue Mar 5, 2021 · 2 comments

Comments

@aasimenator
Copy link

Hi, I am following the steps as mentioned in the README.md file. yet I am having some sort of a path issue. can you help fix this?

server:~/nginx-certbot$ docker-compose up
Starting nginx-certbot_nginx_1   ... done
Starting nginx-certbot_certbot_1 ... done
Attaching to nginx-certbot_certbot_1, nginx-certbot_nginx_1
nginx_1    | 2021/03/05 07:43:16 [emerg] 1#1: open() "/etc/letsencrypt/options-ssl-nginx.conf" failed (2: No such file or directory) in /etc/nginx/conf.d/app.conf:22
nginx_1    | nginx: [emerg] open() "/etc/letsencrypt/options-ssl-nginx.conf" failed (2: No such file or directory) in /etc/nginx/conf.d/app.conf:22
certbot_1  | Saving debug log to /var/log/letsencrypt/letsencrypt.log
certbot_1  |
certbot_1  | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
certbot_1  | No renewals were attempted.
certbot_1  | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nginx-certbot_nginx_1 exited with code 1
nginx-certbot_nginx_1 exited with code 1
nginx-certbot_nginx_1 exited with code 1
nginx-certbot_nginx_1 exited with code 1
nginx-certbot_nginx_1 exited with code 1
nginx-certbot_nginx_1 exited with code 1
nginx-certbot_nginx_1 exited with code 1
^CGracefully stopping... (press Ctrl+C again to force)
Stopping nginx-certbot_certbot_1 ... done
Stopping nginx-certbot_nginx_1   ... done

@DanielOberlechner
Copy link

I have the exact same error and can't run this docker-compose. :(
I tried a few different approaches but wasn't able to get it running ...

Is anybody here who could help resolving this issue?!
Greets Daniel

@tjmoses
Copy link

tjmoses commented Apr 5, 2021

What was the output of the actual init script? From the log above, the ssl file doesn't exist so it was never created. I would make sure it exists and there are no errors after running the init script.

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

No branches or pull requests

3 participants