Installation with docker fails - mysql dies

Issue #477 resolved
Former user created an issue
$ docker --version
dockerDocker version 19.03.13, build 4484c46d9d
$ docker-compose --version
docker-compose version 1.27.4, build 40524192
$ uname -a
Linux vm0 5.4.0-29-generic #33-Ubuntu SMP Wed Apr 29 14:32:27 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04 LTS"

I installed docker and docker compose as per the official installation instructions, pulled production, set the environment variables in docker-compose.yml, built with docker-compose build with no issues, but if I run docker-compose up mysql I get the following:

$ docker-compose up mysql
Starting tripwire_mysql_1 ... done
Attaching to tripwire_mysql_1
mysql_1    | Eve SDE doesn't exist...Redownloading
mysql_1    | 2020-09-24 23:58:47 URL:https://www.fuzzwork.co.uk/dump/mysql-latest.tar.bz2 [65590348/65590348] -> "mysql-latest.tar.bz2" [1]
mysql_1    | Download and import succeeded
mysql_1    | starting mysql...
mysql_1    | mkdir: cannot create directory '': No such file or directory
tripwire_mysql_1 exited with code 1

What is it that I'm doing wrong here?

(I set the priority as "blocker" 'cause it's blocking me from self-hosting, but I have no idea whether that's appropriate).

Comments (6)

  1. Adam Barnes

    “Former user” is me. Didn’t notice you could create issues without signing in and just assumed I was signed in.

  2. USS Hauler

    I am also getting this error and it is most definitely impeding me from hosting a new Tripwire environment on docker. Please assist us with this fix, thank you.

  3. Log in to comment