Problem manually installing community nodes

I successfully installed community nodes on n8n installed on Railway

n8n version: 1.31.2
Database: Postgres
n8n EXECUTIONS_PROCESS: main
Running n8n via: Docker

But they don’t appear in the editor, I had already implemented it in another installation and it worked perfectly

I checked the error below in the logs:

2024-03-07T13:16:02.502Z | error | Failed to renew license: renewal failed because current cert is not initialized “{\n stack: ‘Error: renewal failed because current cert is not initialized\n’ +\n ’ at C._renew (/usr/local/lib/ node_modules/n8n/node_modules/@n8n_io/license-sdk/dist/LicenseManager.js:29:3103)\n’ +\n ’ at C.renew (/usr/local/lib/node_modules/n8n/node_modules/@ n8n_io/license-sdk/dist/LicenseManager.js:29:2983)\n’ +\n ’ at License.renew (/usr/local/lib/node_modules/n8n/dist/License.js:175:28) \n’ +\n ’ at LicenseService.renewLicense (/usr/local/lib/node_modules/n8n/dist/license/license.service.js:66:32)\n’ +\n ’ at LicenseController.renewLicense (/usr/local/lib/node_modules/n8n/dist/license/license.controller.js:28:35)\n’ +\n ’ at handler (/usr/local/lib/node_modules/n8n/dist/ decorators/registerController.js:78:78)\n’ +\n ’ at /usr/local/lib/node_modules/n8n/dist/ResponseHelper.js:103:32\n’ +\n ’ at newFn ( /usr/local/lib/node_modules/n8n/node_modules/express-async-errors/index.js:16:20)\n’ +\n ’ at Layer.handle [as handle_request] (/usr/local/lib /node_modules/n8n/node_modules/express/lib/router/layer.js:95:5)\n’ +\n ’ at next (/usr/local/lib/node_modules/n8n/node_modules/express/lib/router /route.js:144:13)',\n file: ‘license.service.js’,\n function: ‘mapErrorMessage’\n}”

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @Claudio_Balbino

Welcome back :slight_smile:

Can you tell us what you are doing exactly?
I assume you are doing this through the UI? Can you show?
Have you refreshed the page etc.?

Follow the steps described in the url below

Adding commands to the Dokerfile

RUN mkdir ~/.n8n/nodes
WORKDIR ~/.n8n/nodes
RUN npm i n8n-nodes-chatroot
RUN npm i n8n-nodes-text-manipulation

I check through the logs that the nodes were installed, but they don’t appear when I search for any of them

Hi @Claudio_Balbino Can you share your dockerfile?

FROM n8nio/n8n:latest

USER node
RUN mkdir ~/.n8n/nodes
WORKDIR ~/.n8n/nodes
RUN npm i n8n-nodes-chatwoot
RUN npm i n8n-nodes-text-manipulation

ARG PGPASSWORD
ARG PGHOST
ARG PGPORT
ARG PGDATABASE
ARG PGUSER

ENV DB_TYPE=postgresdb
ENV DB_POSTGRESDB_DATABASE=$PGDATABASE
ENV DB_POSTGRESDB_HOST=$PGHOST
ENV DB_POSTGRESDB_PORT=$PGPORT
ENV DB_POSTGRESDB_USER=$PGUSER
ENV DB_POSTGRESDB_PASSWORD=$PGPASSWORD

ARG ENCRYPTION_KEY

ENV N8N_ENCRYPTION_KEY=$ENCRYPTION_KEY

CMD [“n8n start”]

I haven’t been able to solve this problem yet, any suggestions?