I installed n8n with npm a few months ago and all was running well. Decided to do an upgrade to the latest version and now I can’t get back in. I have read various different solutions here and I am still unable to get in. I have used the CLI to export all of my workflows and credentials.
What I have tried
Password reset - never got an email
User Mgt reset on CLI - n8n user-management:reset
Set up new owner - gives me the problem setting up owner message
This is an interesting one - I just tested it myself, and had no issues setting a new owner. In fact, your step number 5 of having n8n create a new DB and config file should have done the trick.
A couple of things I could think of:
Are you using any special characters in the email or password which we might have missed and accidentally consider invalid? You can verify this by trying to use just Latin letters and numbers, if you aren’t already.
Are you seeing the same behaviour with Node.js 16? This is the Node.js version used by the n8n Docker image, but you appear to be using Node.js 14. This could be causing it.