Open tenup11 opened 8 months ago
Same problem here. Docker compose file: version: '3'
x-mautic-volumes: &mautic-volumes
services: mautic_db: image: mysql:8.0 container_name: mautic_db hostname: db.mautic environment:
mautic
mautic_web: image: mautic/mautic:5-apache container_name: mautic_web links:
xxxxx
)"mautic
mautic_cron: image: mautic/mautic:5-apache container_name: mautic_cron links:
mautic
mautic_worker: image: mautic/mautic:5-apache container_name: mautic_worker links:
volumes: mysql-data:
networks: web: driver: bridge mautic: driver: bridge
I already tried to recreate database and drop the tables.
Same here. I tried to add a database table prefix and only the 'messenger_messages' is skipping the prefix
i got the same error. I was using basic example. I simplify docker-compose and change to Mariadb:latest and its gone.
follow the unique file docker-compose.yml working...
`version: '3.9'
services: mariadb: image: mariadb:latest environment: MYSQL_ROOT_PASSWORD: root_pwd MYSQL_DATABASE: mautic_db MYSQL_USER: mautic_db_user MYSQL_PASSWORD: mautic_db_pwd volumes:
default
mautic_web: image: mautic/mautic:5-apache ports:
MAUTIC_DB_PORT=3306 healthcheck: test: curl http://localhost start_period: 5s interval: 5s timeout: 5s retries: 100 depends_on: mariadb: condition: service_healthy
mautic_cron: image: mautic/mautic:5-apache volumes:
default
mautic_worker: image: mautic/mautic:5-apache volumes:
volumes: mariadb-data:
networks: default:`
I tried to solve the problem for two days. And I figured out how to bypass it. You need to stop the container with the worker service to solve the problem. This problem occurs because the worker, for some reason, constantly recreates the messenger_messages table.
Same mistake, not fixed yet
Workaround for newbies:
comment these settings in .mautic_env:
#MAUTIC_MESSENGER_DSN_EMAIL="doctrine://default"
#MAUTIC_MESSENGER_DSN_HIT="doctrine://default"
After setting up Mautic via Docker based on example/basic I get an error during the installation step via the web UI. Error: An error occurred while attempting to install the data: An exception occurred while executing a query: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'messenger_messages' already exists
This happens on Debian 12 (fresh install) with nginx proxy manager also running via docker.