Aura Web: Error "CERTBOT_EMAIL: parameter not set" although certbot is disabled
With the latest containers, there is an error when starting aura-web locally regarding certbot
:
docker compose up -d
...
ERROR: for nginx Container "1145b1ced5af" is unhealthy.
ERROR: Encountered errors while bringing up the project.
When inspecting the mentioned container it prints:
~/code/aura/aura$ docker logs 1145b1ced5af
sed: /usr/share/nginx/html/precache-manifest*.js: No such file or directory
sed: /usr/share/nginx/html/precache-manifest*.js: No such file or directory
sed: /usr/share/nginx/html/precache-manifest*.js: No such file or directory
sh: true: unknown operand
sh: true: unknown operand
generated nginx-config
/run.sh: line 34: CERTBOT_EMAIL: parameter not set
The relevant section of the config:
AURA_HOST=aura.local
# Only needed for production
#CERTBOT_EMAIL=
# Set to http if you don't want to use ssl
AURA_PROTO=http
# Disable if you want to handle ssl yourself (e.g if you are deploying behind a reverse proxy)
RUN_CERTBOT=false
Workaround
When providing an email there is no such error message:
AURA_HOST=aura.local
# Only needed for production
CERTBOT_EMAIL=user@email.com
# Set to http if you don't want to use ssl
AURA_PROTO=http
# Disable if you want to handle ssl yourself (e.g if you are deploying behind a reverse proxy)
RUN_CERTBOT=false