<p>Go into Utilities &gt; Caches &gt; Clear Caches. I can't remember exactly which cache, but try all of them (maybe untick the asset transforms ones so you don't unnecessarily regenerate transformed assets).</p>

CC BY-SA 4.0
2021-05-17T15:29:15.250Z
Great shout to not re-set cache for images + pages as well
Wally
CC BY-SA 4.0
2021-05-17T15:40:09.567Z
If I remember correctly, it's `Data Caches`.
Joorren
CC BY-SA 4.0
2021-05-17T14:33:46.397Z
2021-05-17T14:33:46.397Z
James Smith
<p>You can add the license to your <a href="https://id.craftcms.com" rel="nofollow noreferrer">Craft ID</a> account, and update the URL it's attached to from there.</p>

CC BY-SA 4.0
2021-05-17T15:30:34.057Z
Thanks for your input - I think this would be best for pro versions but for solo versions it seems really odd to need to create a account and change the registered domain when all I should really need is to change the license - thanks
Wally
CC BY-SA 4.0
2021-05-17T14:39:30.647Z
2021-05-17T14:39:30.647Z
darylknight
<p>I have an error appearing on my site:</p>
<p><a href="https://i.sstatic.net/74wiB.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/74wiB.png" alt="enter image description here" /></a></p>
<p>This site is the production version of the site - before hand there was a staging version and a test version.</p>
<p>The test version (hosted on the same server, does not have this error).</p>
<p>So my question is how do I generate a new License? this is a solo version of craft btw not a pro.
I have deleted the license in config/license.key - hoping this would generate a new one and the problem would be over - a new license was generated but the message remains.</p>
<p>Any help would be great -
Thanks - W</p>

CC BY-SA 4.0
2021-05-17T14:55:17.670Z
Both answers below are good, so I won’t add a third. But you can tell Craft to “phone home” and check the license credentials when you “check for updates”.
Lindsey D
<license>
The license located at config/license.key belongs to X
# The license located at config/license.key belongs to X

(Asked by: username_0 on 2021-05-17)

I have an error appearing on my site:

[![enter image description here](https://i.sstatic.net/74wiB.png)](https://i.sstatic.net/74wiB.png)

This site is the production version of the site - before hand there was a staging version and a test version.

The test version (hosted on the same server, does not have this error).

So my question is how do I generate a new License? this is a solo version of craft btw not a pro.
I have deleted the license in config/license.key - hoping this would generate a new one and the problem would be over - a new license was generated but the message remains.

Any help would be great -
Thanks - W

**Tags:** license

> **Comments:**
> **username_1**: Both answers below are good, so I won’t add a third. But you can tell Craft to “phone home” and check the license credentials when you “check for updates”.  

---

## 2 answers

### Answer by username_2 on 2021-05-17. Score: 4 | Accepted answer

Go into Utilities > Caches > Clear Caches. I can't remember exactly which cache, but try all of them (maybe untick the asset transforms ones so you don't unnecessarily regenerate transformed assets).

> **Comments:**
> **username_0**: Great shout to not re-set cache for images + pages as well  
> **username_3**: If I remember correctly, it's `Data Caches`.  

---

### Answer by username_4 on 2021-05-17. Score: 2

You can add the license to your [Craft ID](https://id.craftcms.com) account, and update the URL it's attached to from there.

> **Comments:**
> **username_0**: Thanks for your input - I think this would be best for pro versions but for solo versions it seems really odd to need to create a account and change the registered domain when all I should really need is to change the license - thanks  

---

