Self Hosted AI Starter Kit [ERROR: message: Mismatching encryption keys]

Hi @headset907

usually this error means that you had initiated n8n before without an encryption key set in the env and in that case it created a random default one. This one has been used for your n8n database initialization.

There is no real need to set the encryption key yourself unless you are working with multiple n8n instances while keeping the same database.

So in your case you should be fine without them.

However, if you want to keep them in your env settings, you will need to delete your database and start over and then it will use your own encryption key on setup.

1 Like