SOLVED: Plugins do not stay when I activate them.
-
So this issue is actually more complex than I thought. If you have deployed through Heroku, you must define all plugins in your package.json because each time you reset NodeBB, Heroku parses your package.json and runs npm-install which clears all of the plugins that you add from the Administrator's panel.
So to use Heroku and plugins, declare them in package.json and not the admin panel!
-
@rchowell Unfortunately, yes, as Heroku has what they call an "ephemeral" file system, which is spun up every time you deploy, so any installed files (that is, uploaded images, plugins, etc) will not persist.
For Heroku, we recommend:
- A 3rd party image uploader to be installed (e.g. imgur)
- Any plugins installed must be added to the
package.json
file and re-committed to Heroku.
Copyright © 2024 NodeBB | Contributors