steps to install a plugin automatically
-
wrote last edited by [email protected]
Hi
I added the following section to my config.json
"plugins": { "active": [ "nodebb-plugin-composer-default", "nodebb-plugin-emoji", "nodebb-plugin-emoji-android", "nodebb-plugin-markdown", "nodebb-plugin-mentions", "nodebb-plugin-web-push", "nodebb-rewards-essentials", "nodebb-theme-harmony", "nodebb-theme-lavender", "nodebb-theme-peace", "nodebb-theme-persona", "nodebb-widget-essentials", "nodebb-plugin-2factor", "nodebb-plugin-dbsearch", "nodebb-plugin-sso-oauth2-multiple", "nodebb-plugin-spam-be-gone" ], "autoinstall": "true" }And this works except for "nodebb-plugin-sso-oauth2-multiple" where I still have to do an npm install via the cli in the docker container and then activate it by rebuilding and restarting nodebb in the Webui.
Does anyone have a solution so that I can automatically install "nodebb-plugin-sso-oauth2-multiple" as well?
(Info to Devs: This is not part of the documentation but should be there. Maybe a complete overview of the options for config.json would be a good nice to have, since we found this in an github Issue https://github.com/NodeBB/NodeBB/pull/10767)
-
Have you tried
plugins:autoinstallhttps://github.com/NodeBB/NodeBB/pull/11485? Seems like it was added to automatically install plugins. -
scroll to the bottom of the code above, yes I tried that.