It's normal that installed plugins will disappear if i use docker, right?
-
Hello, i'm still playing with the install. Over the weekend i installed many plugins for testing and configured them in docker, today the proxy was saying error 502 so i rebuilt the docker. All the plugins are gone. If i understand right, this is by design, because the docker contents are volatile except the database (and the uploads, because i mirror them outside the container)
If i switch to the native install, when i upgrade, they will be installed again automatically?
-
@Gliding9426 Yes, they should... when you install a plugin via NodeBB, the
package.json
file is updated, and the plugin is downloaded to thenode_modules/
folder, along with its dependencies. Both of those are on-disk, which is ephemeral on a Docker instance.If
package.json
is updated to include the plugin, then when./nodebb upgrade -i
(ornpm i
, etc.) is run, the plugin will be installed alongside, automatically. -