Activation key wrong email

i have my own n8n and i was setting up n8n on vps for a friend of mine all is good but i added my email instead of his email for the activation key. and i got this message Activation key has already been used on this instance how i can add his email and get a new key

Thank you

1 Like

Hi @Ai_Automation_Servic Welcome to the community!
The Activation Key has already been used means that the instance is already registered with a valid key, now if you want that instance to be registered on your friend’s email instead of yours just use these commands in your VPS:
First clear the current key: (on Docker)

docker exec -u node -it n8n n8n license:clear

On NPM:
n8n license:clear

Now once the key is cleared just restart the VPS container and when it will be started go to your n8n instance UI Settings > Usage and Plans and there you will see the option to unlock / Free license key and just use your friend’s email there.

1 Like

thank you for your reply
n8n is running in Docker should i use the Docker command instead?

1 Like

@Ai_Automation_Servic YEP! Feel free to use that command to clear out the existing license

1 Like