Closed tcurdt closed 4 years ago
@tcurdt I've moved this to the Docker repo which I think is the most appropriate place for the issue :) Pinging @luizeof
@RCheesley Sorry - picked the wrong tab. Thanks for the transfer!
I guess that also explains why I didn't see https://github.com/mautic/docker-mautic/issues/141 ...but mine has a few more details.
@luizeof at least for me this hasn't fixed the issue yet
With the current docker-compose.yml
I am getting:
% docker-compose up
ERROR: Named volume "mysql_data:/var/lib/mysql:rw" is used in service "mauticdb" but no declaration was found in the volumes section.
I modified the old one to
version: '3.7'
services:
mautic:
image: mautic/mautic:latest
links:
- mauticdb:mysql
depends_on:
- mauticdb
ports:
- 8080:80
volumes:
- ./mautic_data:/var/www/html
environment:
- MAUTIC_DB_HOST=mauticdb
- MYSQL_PORT_3306_TCP=3306
- MAUTIC_DB_USER=root
- MAUTIC_DB_PASSWORD=mysecret
- MAUTIC_DB_NAME=mautic
- MAUTIC_RUN_CRON_JOBS=true
networks:
- mautic-net
mauticdb:
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=mysecret
networks:
- mautic-net
networks:
mautic-net:
driver: bridge
but I am still getting the very same problem on step 2.
Could you elaborate what's going on?
I am getting the same issue still with docker-compose as well
@elitekode2 TBH I don't see the big difference between the two docker compose files but I manage to start it up with the following. Maybe it works for you, too?
version: "2"
services:
mautic:
image: mautic/mautic
depends_on:
- mysql
ports:
- "8080:80"
environment:
MAUTIC_DB_HOST: mysql
MAUTIC_DB_USER: mautic
MAUTIC_DB_PASSWORD: mauticdbpass
MAUTIC_TRUSTED_PROXIES: 0.0.0.0/0
volumes:
- mautic-web:/var/www/html
mysql:
image: mysql:5.6
environment:
MYSQL_ROOT_PASSWORD: mysqlrootpassword
MYSQL_DATABASE: mautic
MYSQL_USER: mautic
MYSQL_PASSWORD: mauticdbpass
volumes:
- mysql:/var/lib/mysql
volumes:
mautic-web:
mysql:
@luizeof at least for me this hasn't fixed the issue yet
With the current
docker-compose.yml
I am getting:% docker-compose up ERROR: Named volume "mysql_data:/var/lib/mysql:rw" is used in service "mauticdb" but no declaration was found in the volumes section.
I modified the old one to
version: '3.7' services: mautic: image: mautic/mautic:latest links: - mauticdb:mysql depends_on: - mauticdb ports: - 8080:80 volumes: - ./mautic_data:/var/www/html environment: - MAUTIC_DB_HOST=mauticdb - MYSQL_PORT_3306_TCP=3306 - MAUTIC_DB_USER=root - MAUTIC_DB_PASSWORD=mysecret - MAUTIC_DB_NAME=mautic - MAUTIC_RUN_CRON_JOBS=true networks: - mautic-net mauticdb: image: mysql:5.7 environment: - MYSQL_ROOT_PASSWORD=mysecret networks: - mautic-net networks: mautic-net: driver: bridge
but I am still getting the very same problem on step 2.
Could you elaborate what's going on?
I am getting the same issue on a DO droplet with Docker version 19.03.1, build 74b1e89 on Ubuntu 18.04
Bug Description
A fresh install via
docker-compose
fails during admin account creation (showing a 500). I can go tohttp://localhost:8080/installer/step/2
and try again, but whatever I put in it shows the same error.Steps to reproduce
Then call
docker-compose up
. Then go through the install wizard. When creating the admin accounts it fails with a 500 error.Log errors