Upgrade problem - code 128

Describe the issue/error/question

Hello All.

I’m trying to upgrade my n8n crom 0.182.0 to 0.183.0 using npm but i’m getting an error in git.

Any suggestion?

What is the error message (if any)?

npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/n8n-io/tmpl.git
npm ERR! Host key verification failed.
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-06-28T08_06_26_261Z-debug-0.log

Information on your n8n setup

  • n8n version: 0.182.0

Hey @Tiago_Cardoso,

I think someone else had that same error the other day and the fix for them was to change to a different directory and not run it from home folder. Could be worth trying the same thing.

Thanks, Jon. I changed the directory to the home folder of the user that is running n8n and it solved the problem.

1 Like