# New Install, Broken DB

**URL:** <https://forum.mautic.org/t/new-install-broken-db/37373>\
**Category:** Mautic 7 Install / Upgrade Support\
**Created:** [February 13, 2026, 5:48pm UTC](https://forum.mautic.org/t/new-install-broken-db/37373 "2026-02-13T17:48:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tyler\_h](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tyler_h/32/13776_2.png) [@tyler\_h](https://forum.mautic.org/u/tyler_h)\
**Post date:** [February 13, 2026, 5:48pm UTC](https://forum.mautic.org/t/new-install-broken-db/37373/1 "2026-02-13T17:48:02Z")

</div>

**Your software**  
My Mautic version is: 7.0.0  
My PHP version is: 8.3.30  
My Database type and version is: Whatever is default  
I installed Mautic via: Docker compose docker-mautic/examples/basic/docker-compose.yml

**Your problem**  
My problem is:

Automation does not work. Contacts are not being added to segments & campaigns do not run

These errors are showing in the log:

In ExceptionConverter.php line 49:

An exception occurred while executing a query: SQLSTATE[42S02]: Base table  
or view not found: 1146 Table ‘mautic\_db.lead\_lists’ doesn’t exist

In Exception.php line 28:

SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘mautic\_db.lead\_l  
ists’ doesn’t exist

In Connection.php line 71:

SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘mautic\_db.lead\_l  
ists’ doesn’t exist

Steps I have tried to fix the problem:

Entering the container and within bash, typing:

php /var/www/bin/console doctrine:migrations:migrate

php /var/www/bin/console cache:clear

php /var/www/html/bin/console mautic:segments:update  
php /var/www/html/bin/console mautic:campaigns:update  
php /var/www/html/bin/console mautic:campaigns:trigger

Then my contact gets added to a segment, segment email campaign gets started, email sent.

But I cannot get my next contact added to the segment and have the rest of the flow proceed. It also seems that when the container is restarted, the changes are not persistent and the database needs to be migrated and cleaned again.

---

<div class="post-metadata">

**Author:** ![tyler\_h](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tyler_h/32/13776_2.png) [@tyler\_h](https://forum.mautic.org/u/tyler_h)\
**Post date:** [February 15, 2026, 7:29pm UTC](https://forum.mautic.org/t/new-install-broken-db/37373/2 "2026-02-15T19:29:19Z")

</div>

Upon further investigating, looks like there are lots of missing databases.

mautic\_db.lead\_lists is being requested but mautic\_dblead\_lists is the actual database table. And this happens with many of the calls for database tables.

.env contains: MYSQL\_DATABASE=mautic\_db

---

<div class="post-metadata">

**Author:** ![tyler\_h](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tyler_h/32/13776_2.png) [@tyler\_h](https://forum.mautic.org/u/tyler_h)\
**Post date:** [February 19, 2026, 4:24am UTC](https://forum.mautic.org/t/new-install-broken-db/37373/3 "2026-02-19T04:24:08Z")

</div>

I am now running the the following php lines in a contrab every 5 minutes and mautic seems to be mostly functional.

First:

docker exec -it basic-mautic\_web-1 bash

Second:

php /var/www/html/bin/console mautic:segments:update  
php /var/www/html/bin/console mautic:campaigns:update  
php /var/www/html/bin/console mautic:campaigns:trigger  
php /var/www/html/bin/console mautic:broadcasts:send  
php /var/www/html/bin/console mautic:reports:scheduler

Only issue I see is that email tracking isnt working. The url in the email is http instead of https but the link still redirects but nothing registers on the back end.
