# Install Plugins

**URL:** <https://forum.mautic.org/t/install-plugins/25275>\
**Category:** General Discussion\
**Created:** [September 3, 2022, 5:47am UTC](https://forum.mautic.org/t/install-plugins/25275 "2022-09-03T05:47:26Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![skayy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/skayy/32/8025_2.png) [@skayy](https://forum.mautic.org/u/skayy)\
**Post date:** [September 3, 2022, 5:47am UTC](https://forum.mautic.org/t/install-plugins/25275/1 "2022-09-03T05:47:26Z")

</div>

Hi, i´m new to Mautic. I tried to install plugins. When I click “install plugin” I get a message that 0 plugins have been installed. They also do not appear on the plugin overview page.  
Many thanks for hints.

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [September 3, 2022, 11:40am UTC](https://forum.mautic.org/t/install-plugins/25275/2 "2022-09-03T11:40:44Z")

</div>

- check that your plugins folder actually contains plugins
- clear the cache using rm -rf var/cache/dev/\* var/cache/prod/\*
- then run from terminal php bin/console mautic:plugins:reload --env=prod

---

<div class="post-metadata">

**Author:** ![skayy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/skayy/32/8025_2.png) [@skayy](https://forum.mautic.org/u/skayy)\
**Post date:** [September 4, 2022, 6:27am UTC](https://forum.mautic.org/t/install-plugins/25275/3 "2022-09-04T06:27:47Z")

</div>

Thank you very much. I tried this. But i still get 0 plugins updated/installed

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [September 4, 2022, 9:42am UTC](https://forum.mautic.org/t/install-plugins/25275/4 "2022-09-04T09:42:42Z")

</div>

What does this query shows:

```auto
SELECT * FROM plugins;

```

And still nothing shows on plugin page and plugin search dropdown? Can you check the permissions on plugins folder?

And finally clear the cache like above and try yet another command:

php bin/console mautic:plugins:install --env=prod

---

<div class="post-metadata">

**Author:** ![skayy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/skayy/32/8025_2.png) [@skayy](https://forum.mautic.org/u/skayy)\
**Post date:** [September 5, 2022, 5:54am UTC](https://forum.mautic.org/t/install-plugins/25275/5 "2022-09-05T05:54:39Z")

</div>

> [@mzagmajster](#):
>
> `SELECT * FROM plugins;`

Hi, thanks much! The table is missing. The select shows “Table ‘xxxxxxxx.plugins’ doesn’t exist”

But i have a table mauticplugins. There i get the already installed plugins.

On the page and search dropdown i have the default plugins shown.

With “php bin/console mautic:plugins:install --env=prod” i get the same message: 0 plugins installed or updated.

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [September 5, 2022, 7:04am UTC](https://forum.mautic.org/t/install-plugins/25275/6 "2022-09-05T07:04:27Z")

</div>

I suspect every table is then prefixed with “mautic”? So instead of “plugins” table you have “mauticplugins”. Instead of “leads” you have “mauticleads”. Can you check if my assumption is correct?

And can you check what is the value of table\_prefix key in app/config/local.php? Can you set it to correct prefix if not already (“mautic” most probably).

FInally can you double check that the name of the plugin bundle you are trying to install is correct?

After that, please clear the cache and reload the plugins again.

Regards, M.

---

<div class="post-metadata">

**Author:** ![skayy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/skayy/32/8025_2.png) [@skayy](https://forum.mautic.org/u/skayy)\
**Post date:** [September 5, 2022, 11:01am UTC](https://forum.mautic.org/t/install-plugins/25275/7 "2022-09-05T11:01:12Z")

</div>

Yes, all the tables has prefix “mautic”.

In local.php there is already " ‘db\_table\_prefix’ =\> ‘mautic’,"

How can i check for the right plugin bundle name? I unpacked the plugin (tried 2 plugins) and copied the directories and files to /plugins directory

Thanks much for you effort!

---

<div class="post-metadata">

**Author:** ![skayy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/skayy/32/8025_2.png) [@skayy](https://forum.mautic.org/u/skayy)\
**Post date:** [September 5, 2022, 11:10am UTC](https://forum.mautic.org/t/install-plugins/25275/8 "2022-09-05T11:10:29Z")

</div>

Hi, i don´t know what happen. Just tried clicking on update/install button and the plugin is installed?

What file and directory permissions do i need? I have dir 755 and files 640.

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [September 5, 2022, 11:43am UTC](https://forum.mautic.org/t/install-plugins/25275/9 "2022-09-05T11:43:29Z")

</div>

Not sure, did you manage to install the plugin?

Plugins need to follow naming convention set by symfony/mautic core. For example this plugin has to be cloned into plugins directory: [GitHub - mzagmajster/mautic-mailgun-mailer-plugin: Mailgun Email plugin for Mautic with multi-domains support](https://github.com/mzagmajster/mautic-mailgun-mailer-plugin) and plugin root directory must be `MauticMailgunMailerBundle`, what plugin(s) are you trying to install?

Permissions 640 should be fine although 644 is more common.

---

<div class="post-metadata">

**Author:** ![skayy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/skayy/32/8025_2.png) [@skayy](https://forum.mautic.org/u/skayy)\
**Post date:** [September 5, 2022, 12:15pm UTC](https://forum.mautic.org/t/install-plugins/25275/10 "2022-09-05T12:15:47Z")

</div>

> [@mzagmajster](#):
>
> Not sure, did you manage to install the plugin?

Thanks so much. I have no idea. I changed nothing and now i can update the plugins. It is possible to have issues with browser cache for that?

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [September 5, 2022, 3:05pm UTC](https://forum.mautic.org/t/install-plugins/25275/11 "2022-09-05T15:05:09Z")

</div>

I am not sure, possibly. Glad to see you worked it out.

---

<div class="post-metadata">

**Author:** ![skayy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/skayy/32/8025_2.png) [@skayy](https://forum.mautic.org/u/skayy)\
**Post date:** [September 6, 2022, 8:41am UTC](https://forum.mautic.org/t/install-plugins/25275/12 "2022-09-06T08:41:33Z")

</div>

Thanks so much for your help !
