<p>This is the way Heroku works with its <a href="https://devcenter.heroku.com/articles/dynos#isolation-and-security" rel="nofollow noreferrer">ephemeral file system</a>. Anything written by the webapp (which includes plugins installed via Composer) after the fact can be wiped out at any time.</p>

<p>If you must ship it on Heroku, you probably should check all of <code>vendor/</code> into the repo, so that it's part of the actual deployment, and not added post facto.</p>

CC BY-SA 3.0
2018-04-08T18:05:22.677Z
2018-04-08T18:05:22.677Z
andrew.welch
<p>I'm using Heroku and every time I push changes to Heroku, the plugins installed from the plugin store get removed. Do I need to add them to my composer file manually?</p>

<plugins><heroku>
Plugins get removed after publishing to Heroku
# Plugins get removed after publishing to Heroku

(Asked by: username_0 on 2018-04-08)

I'm using Heroku and every time I push changes to Heroku, the plugins installed from the plugin store get removed. Do I need to add them to my composer file manually?

**Tags:** plugins, heroku


---

## 1 answers

### Answer by username_1 on 2018-04-08. Score: 2

This is the way Heroku works with its [ephemeral file system](https://devcenter.heroku.com/articles/dynos#isolation-and-security). Anything written by the webapp (which includes plugins installed via Composer) after the fact can be wiped out at any time.

If you must ship it on Heroku, you probably should check all of `vendor/` into the repo, so that it's part of the actual deployment, and not added post facto.


---

