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
error by ssl letsencrypt #23
Comments
Do nanamarkt.de leads to mage2.localhost. Then The LetsEncrypt Container should have the right doman name |
thanks, but i have seted in the .env ,hier ist mein .env. used on docker-compose up -dCOMPOSE_HTTP_TIMEOUT=1800 7.1, 7.2, 7.3, 7.4PHP_VERSION_SET=7.3 |
@hermersnana so two tasks come to my mind.
i will write a quick script and inform you over this ticket. |
thank you very much, it is better for me, that i wait for you update.:-) |
@hermersnana
then try letsencrypt... if |
done |
@hermersnana The one for Lets Encrypt ist still in work but should come out End of Next week. |
ok, thank you very much |
Describe the bug
sudo docker-compose run --rm letsencrypt letsencrypt certonly --webroot --email admin@admin.com --agree-tos -w /var/www/letsencrypt -d nanamarkt.de
WARNING: The PWD variable is not set. Defaulting to a blank string.
ERROR: Configuration for volume app_data specifies "device" driver_opt /htdocs, but a volume with the same name uses a different "device" driver_opt (/www/wwwroot/nanamarkt/htdocs). If you wish to use the new configuration, please remove the existing volume "nanamarkt_app_data" first:
$ docker volume rm nanamarkt_app_data
To Reproduce
Steps to reproduce the behavior:
i got the error
WARNING: The PWD variable is not set. Defaulting to a blank string.
ERROR: Configuration for volume app_data specifies "device" driver_opt /htdocs, but a volume with the same name uses a different "device" driver_opt (/www/wwwroot/nanamarkt/htdocs). If you wish to use the new configuration, please remove the existing volume "nanamarkt_app_data" first:
$ docker volume rm nanamarkt_app_data
ps. i used the default.conf und default_ssl.conf for the nginx.
Desktop (please complete the following information):
Additional context
if i used
2.sudo docker-compose up -d
i will got the error from php container
ERROR: for nanamarkt_php_7.3 Cannot create container for service php: failed toCreating nanamarkt_redis_pagespeed ... done
ata, flags: 0x1000: no such file or directory
ERROR: for php Cannot create container for service php: failed to mount local volume: mount /htdocs:/var/lib/docker/volumes/nanamarkt_app_data/_data, flags: 0x1000: no such file or directory
ERROR: Encountered errors while bringing up the project.
thank you very much
best regards
lee
The text was updated successfully, but these errors were encountered: