Community plugin doesn't stay installed after restart

Hey @Jon

I found out where the problem was :

I had the N8N_REINSTALL_MISSING_PACKAGES: = true

but the n8n folder was persistant and accessible.

It seems like in this case the database get messed up in the node table as decribed in the post below : Community node become unrecognized every time I restart n8n container

And this after every restarts.

The solution was :

→ Uninstall the module
→ Clean the n8n module folder (remove the folder of the community module)
→ Clean the database rows if any (there shouldn’t be after uninstall)

→ Ensure n8n folder is persisted and accessible to the container
→ Set N8N_REINSTALL_MISSING_PACKAGES to False
→ Reinstall the module from n8n settings.

TL;DR; It seems like N8N_REINSTALL_MISSING_PACKAGES + persistant folder on the same time cause the issue.

2 Likes