-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
After running bitwarden.sh with letsencrypt option enabled, I get the following error
Status: Image is up to date for docker.io/certbot/certbot:latest
The following error was encountered:
[Errno 13] Permission denied: '/etc/letsencrypt/logs'
Either run as root, or set --config-dir, --work-dir, and --logs-dir to writeable paths.
Repro steps
- Grabbed
bitwarden.sh
from https://go.btwrdn.co/bw-sh - Ran
./bitwarden.sh install
- Fill in domain that isn't localhost
- Enter
y
for Let's Encrypt - Enter email
Expected results
Installation continues
Actual results
Installation fails with permission error
Run trace
# ./bitwarden.sh install
_ _ _ _
| |__ (_) |___ ____ _ _ __ __| | ___ _ __
| '_ \| | __\ \ /\ / / _` | '__/ _` |/ _ \ '_ \
| |_) | | |_ \ V V / (_| | | | (_| | __/ | | |
|_.__/|_|\__| \_/\_/ \__,_|_| \__,_|\___|_| |_|
Open source password management solutions
Copyright 2015-2019, 8bit Solutions LLC
https://bitwarden.com, https://github.com/bitwarden
===================================================
Docker version 1.13.1, build 1556cce-unsupported
docker-compose version 1.20.1, build 5d8c71b
(!) Enter the domain name for your Bitwarden instance (ex. bitwarden.company.com): bitwarden.example.com
(!) Do you want to use Let's Encrypt to generate a free SSL certificate? (y/n): y
(!) Enter your email address (Let's Encrypt will send you certificate expiration reminders): example@example.com
Using default tag: latest
Trying to pull repository docker.io/certbot/certbot ...
sha256:ec4383b768b6a162889adcdce2d60cb4c760d2fa48287a354c0182c5e2330fed: Pulling from docker.io/certbot/certbot
Digest: sha256:ec4383b768b6a162889adcdce2d60cb4c760d2fa48287a354c0182c5e2330fed
Status: Image is up to date for docker.io/certbot/certbot:latest
The following error was encountered:
[Errno 13] Permission denied: '/etc/letsencrypt/logs'
Either run as root, or set --config-dir, --work-dir, and --logs-dir to writeable paths.