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

User error - for the next guy that runs into this. could not grep #761

Closed
snoby opened this issue Mar 4, 2021 · 1 comment · Fixed by #843
Closed

User error - for the next guy that runs into this. could not grep #761

snoby opened this issue Mar 4, 2021 · 1 comment · Fixed by #843
Labels
kind/bug Issue reporting a bug

Comments

@snoby
Copy link

snoby commented Mar 4, 2021

For the next person that runs into this issue, I was having a problem with certificates not being generated, basically log files saying /etc/acme.sh/ directory could not be grepped or not able to be created.
When i logged into the container i found in the /etc/achm.sh directory three subdirectories, default, my email address and my email address with a space after it.

looked like this:

default
matt.dumbuser@icloud.com
'matt.dumbuser@icloud.com '

One of my container labels for my email address

-e LETSENCRYPT_EMAIL=matt.dumbuser@icloud.com

had a space after it. This messed up the script and no certs could be generated. So for those running into this problem you need to make sure you don't have any trailing spaces !!!!!

-e LETSENCRYPT_EMAIL=matt.dumbuser@icloud.com
@buchdag
Copy link
Member

buchdag commented Mar 7, 2021

Thanks for raising this, it can probably fixed in the docker-gen template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Issue reporting a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants