copying the encryption key used in old server to the new one
Everything works fine (credentials are active and workflows run) but I am not able to enable the 2FA again.
I.e. I can see the QR code but my Google Authenticator app does not scan it.
I have not copied anything else when moving to new instance in new server
This is the precise sequence I followed to deal with the encryption key:
copied the key from the old config file
entered as environment variable and in the docker compose file
I have tried to restart (actually I do not recall if stop and start or restart) the container and the updated key was not considered
So I deleted the config file - restarted and the key was properly updated
Then imported credentials and workflows and started working normally.
The 2FA is not enabled now. I have tried to stop and start again but the error is still there, and if I try to enable it I get a QR code that does not seem valid for Google Authenticator.
If I press ‘this text code’ , in theory the code is copied to clipboard, but the clipboard is empty.
The old server was using Sqlite (and a version of N8N of 6 months ago), I am using Postgres only in the new server.
The new instance is installed with Coolify. 2FA was working on it before the activities I did yesterday: