Upgrading to version 1

Hi team

Am trying to upgrade from 0.231.3 version to v1.20 after testing in my staging environment, while upgrade to prod getting error on my entry point initally it was /usr/bin/n8n and have changed to ./packages/cli/bin/n8n

also /usr/bin/n8n entrypoint is working on my staging environment,

please do help here to solve this thanks

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:

N8n verion : Current 0.231.3 upgrading to 1.20
Database : Postgress
Running n8n via. Docker
Operating system Centos

Hey @Vaithiyanathan_S,

Can you share the error and your docker run command?

/entrypoint.sh: line 2: ./packages/cli/bin/n8n: No such file or directory

This is the error and in my docker file i have mentioned to copy those files
initially am using /usr/bin/n8n for that as well get the same error

In my staging env it works fine with the end point was /usr/bin/n8n

Hey @Vaithiyanathan_S,

Can you share the command you are running or the Dockerfile?

COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENTRYPOINT [“/entrypoint.sh”]

Inside file

FIle will change depend on the service i start, it will be worker and webhook

Hey @Vaithiyanathan_S,

There is a lot missing in the Dockerfile there, However I would maybe start by changing your entryfile to maybe match what we use, There were some path changes in v1 so it could also be worth checking the rest of your image if you are making a custom one.

if [ "$#" -gt 0 ]; then
  # Got started with arguments
  exec n8n "$@"
  # Got started without arguments
  exec n8n

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.