<@U07FJ89LFFB> how can I remove an expired licence...
# ask-ai
p
@brash-pillow-71627 how can I remove an expired licence key to continue with the free self-hosted version?
o
A message from kapa.ai
To remove an expired license key and continue with the free self-hosted version of GrowthBook, you have a couple of options: 1. Remove the license key from MongoDB: Connect to your MongoDB instance and run the following command to clear the license key:
Copy code
db.organizations.updateOne( { _id: ObjectId("your_org_id") }, { $set: { licenseKey: '' } } )
Replace "your_org_id" with your actual organization ID. [Forum Conversation](https://linen.growthbook.io/t/15989838/getting-this-today-we-are-running-self-hosted-version-tried-) mentions this method as a workaround. 2. Remove the LICENSE_KEY environment variable: If you have set the LICENSE_KEY in your environment variables (e.g., in a .env file or Docker configuration), remove it from there. After performing either of these steps, restart your GrowthBook server. This should revert you to the free self-hosted version. It's worth noting that according to [Forum Conversation](https://linen.growthbook.io/t/22731491/hello-everyone-i-m-using-the-self-hosted-growthbook-and-did-), an expired trial license should be functionally equivalent to the starter (free) license. However, if you're experiencing issues, removing the license key as described above should resolve the problem.