[SOLVED] Install up to start fails

Using DigitalOcean droplet (ubuntu-16.04) - check. working.
Setup domain & DNS - check, working.
Open ports 80 & 433 - check, working.
Update ubuntu-16.04 (apt-get update && apt-get upgrade) - check working.

Following the guide at…
https://help.bitwarden.com/article/install-on-premise/

Install docker & docker-ce - no errors reported - check. working.
Ouput of sudo docker ps -a

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e4ffa9873867 hello-world “/hello” 26 hours ago Exited (0) 26 hours ago friendly_vaughan

Download bitwarden.sh - check, ok.

Install bitwarden…
$>sudo ./bitwarden.sh install

Installed ok, LE setup ok. No errors reported.

$>sudo ./bitwarden.sh start


| |__ () |__ ____ _ _ __ _| | ___ _ __
| ’
| | \ \ /\ / / | '__/ _ |/ _ \ ’ \
| |) | | | \ V V / (| | | | (| | / | | |
|_.
/||_| _/_/ _,|| _,_|_
|| ||

Open source password management solutions
Copyright 2015-2018, 8bit Solutions LLC
https://bitwarden.com, https://github.com/bitwarden

===================================================

Docker version 18.06.0-ce, build 0ffa825
docker-compose version 1.22.0, build f46880fe

ERROR: .FileNotFoundError: [Errno 2] No such file or directory: ‘/home/mg/bwdata/docker/docker-compose.yml’

<sad face>

Output of sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e4ffa9873867 hello-world “/hello” 26 hours ago Exited (0) 26 hours ago friendly_vaughan

Thanks for any help!

Why are you using sudo? Maybe there are some permission issues.

thank you for the guidance.

I’ve deleted the bwdata folder, added my user to the docker group:
$>sudo usermod -aG docker $USER

Restarted my digitalocean droplet, ran ./bitwarden.sh install, same error. docker seems to be running fine, running “docker run hello-world” looks good.

running groups command shows that my user is a member of the docker group.

I’m at odds. Having my user added to docker group and re-installing, all permissions under bwdata are $USER:$USER. So what could be causing the .yml file to not be created?

thanks for any help.

After you run ./bitwarden.sh install , does ./bwdata/docker/docker-compose.yml exist?

Thanks.
The .yml file does not get created.

I did a fresh download of bitwarden.sh cia curl, ran ./bitwarden.sh install

No errors during install. All seems fine.

Run ./bitwarden start and I get…

ERROR: .FileNotFoundError: [Errno 2] No such file or directory: ‘/home/mg/bwdata/docker/docker-compose.yml’

My user is a member of the docker group.

DO droplet (Ubuntu Xenial)
Docker version 18.06.0-ce build 0ffa825
Docket-compose version 1.22.0, build f46880fe

Thanks for the assistance. I really want this to work for me. A tremendously useful and worthy tool. A donation is in order.

Is anything created in ‘/home/mg/bwdata/? What is the output of install?

Solved. I was trying to install with an installation id from a previous installation attempt on a different server. So I retrieved a NEW installation id & key and ran ./bitwarden.sh install and installation worked.

thank you for your patience with me. I’ve been pushing bitwarden on family & friends to use. Keeps the support phone calls down. This is a project most worthy of donations. :slight_smile:

Hello,

I have the same error and i don’t know what there is a solution ?

There is no id & key answer at this step of the installation.

I haven’t docker folder at bwdata dans start don’t work…

Thanks

Start from scratch…
Delete the bwdata folder.
Get a NEW installation id and key. Don’t use the old one.
Run the install script again.

You should be prompted for the Id & key.
Hope this helps.

Ok but… The id & key is need at the “start” step, and i block at the “install” step (before). I don’t undestand… I make an issue and i past the link here :slight_smile:

Ok : i haven’t the docker folder only if i want to use Letsencrypt. If i choose “no”, i have the docker folder :slight_smile: Thanks