Unable to install any community nodes on n8n (Truenas Scale 24.10.2)

I’m running n8n on Truenas Scale 24.10.2 and can’t install ANY community node. I’ve tried various guides, added variables, installed a fresh instance of n8n, but nothing changes. n8n installed from TN apps library, version — 1.84.1
Here is the log:

2025-03-20 20:38:30.649990+00:00npm command failed

2025-03-20 20:38:30.653574+00:00Error loading package "n8n-nodes-deepseek" :Package could not be installed - check logs for details

2025-03-20 20:38:30.653623+00:00ResponseError: Error loading package "n8n-nodes-deepseek" :Package could not be installed - check logs for details

2025-03-20 20:38:30.653633+00:00at CommunityPackagesController.installPackage (/usr/local/lib/node_modules/n8n/dist/controllers/community-packages.controller.js:81:19)

2025-03-20 20:38:30.653654+00:00at processTicksAndRejections (node:internal/process/task_queues:95:5)

2025-03-20 20:38:30.653660+00:00at handler (/usr/local/lib/node_modules/n8n/dist/decorators/controller.registry.js:93:24)

2025-03-20 20:38:30.653666+00:00at /usr/local/lib/node_modules/n8n/dist/response-helper.js:110:26

2025-03-20 20:38:30.653675+00:002025-03-20T20:38:30.653675840Z

I would be grateful for any help! Thanks.

  • n8n version 1.84.1
  • Database: Postgres, Redis
  • n8n EXECUTIONS_PROCESS default
  • Running n8n via Docker
  • Truenas Scale 24.10.2

If anyone else has this problem, I have already found a solution. The easiest way is to do a fresh installation of n8n from the apps library and set UID and GID to 1000 both. If you try to change the UID/GID later, it won’t work. Make sure you do this during the installation in UI.