Open igor-bn opened 7 years ago
Are you using docker-compose? I got the same error when setting it like hostname: my.host.com
in my compose file, but --hostname my.host.com
with docker run works fine. My workaround with docker-compose is to add HOSTNAME=my.host.com
before EMAIL=...
in the actual command, to manually force the correct hostname.
@jswetzen in docker-compose, if you add domainname: my.host.com
(also), it will work.
thank you guys for your replies! In did I use docker compose. The option with domainname: my.host.com
did work for me.
Hi, thank you for keeping the image up to date and maintaining it! I faced with some issues while requesting new Lets Encrypt certificate from l3iggs/owncloud:latest (aka 9.1.2-1).
Here is the first issue. setup-apache-ssl-key first failed with output like this:
The problem here is that "home-net" is not a full host name, but just a first part before the dot
I found out that following expression did not work properly (setup-apache-ssl-key#34):
: ${HOSTNAME:=$(hostname --fqdn)}
Not sure what it does, but simple assignment just works fine for me
HOSTNAME=$(hostname --fqdn)
Can you please check if you have the same issue with the image?