# Campaigns not sending emails

**URL:** <https://forum.mautic.org/t/campaigns-not-sending-emails/4837>\
**Category:** General Discussion\
**Created:** [August 10, 2016, 4:44pm UTC](https://forum.mautic.org/t/campaigns-not-sending-emails/4837 "2016-08-10T16:44:56Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![gigcity](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gigcity/32/104_2.png) [@gigcity](https://forum.mautic.org/u/gigcity)\
**Post date:** [April 8, 2017, 10:40pm UTC](https://forum.mautic.org/t/campaigns-not-sending-emails/4837/15 "2017-04-08T22:40:23Z")

</div>

When running this command from SSH:  
php app/console doctrine:migration:migrate

I get the following errors:

Migration 20160606000000 failed during Execution. Error An exception occurred while executing ‘CREATE INDEX ma\_campaign\_leads ON ma\_campaign\_leads (campaign\_id, manually\_removed, date\_added, lead\_id)’:

SQLSTATE[42000]: Syntax error or access violation: 1061 Duplicate key name ‘ma\_campaign\_leads’

@redneckbob it seems that I have 60 or so doctrine:migration things to process. These apparently have not run via the normal upgrade process. In that I’m running a Bitnami instance and have done simple updates using the web UI, I wouldn’t be surprised if many of the other campaign related issues being reported are related to this.

@LilyAF – can you try running the same command? I’m curious if you get the same result.

thoughts?

---

_[View the full topic](https://forum.mautic.org/t/campaigns-not-sending-emails/4837)._
