# Licence error in panel

**URL:** https://forum.getkirby.com/t/licence-error-in-panel/25230
**Category:** Questions
**Created:** [April 11, 2022, 9:53pm UTC](https://forum.getkirby.com/t/licence-error-in-panel/25230 "2022-04-11T21:53:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![SCC](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/scc/32/4116_2.png) [@SCC](https://forum.getkirby.com/u/SCC)
#### Post date: [April 11, 2022, 9:53pm UTC](https://forum.getkirby.com/t/licence-error-in-panel/25230/1 "2022-04-11T21:53:22Z")

</div>

So I just bought a new licence for my 2nd Kirby site, that is all fine. But when I log into my first site I noticed the licence was missing, so I added it again but got this message.

 ![Screenshot 2022-04-11 at 22.49.14](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/c/cc2089d54be79bdfd1ccd1987fbe0999c0b737c9.jpeg)

I suspect it’s my method at fault here. Sometimes I just log into FTP and copy the server files back to my local test server. The live domain is [mysite.uk](http://mysite.uk) and the local site is mysite.test

Is the issue that every time I move it back and forth the licence is trying to validate each time to the two domains? If so is there anything I can do to avoid this.

In the Kirby site, the two licences note the correct sites that each is licenced for but don’t want any issues with the team thinking I have an unlicensed site.

---

<div class="post-metadata">

### Author: ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)
#### Post date: [April 11, 2022, 10:14pm UTC](https://forum.getkirby.com/t/licence-error-in-panel/25230/2 "2022-04-11T22:14:46Z")

</div>

See PM

---

<div class="post-metadata">

### Author: ![8grad](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/8grad/32/11761_2.png) [@8grad](https://forum.getkirby.com/u/8grad)
#### Post date: [April 12, 2022, 3:42pm UTC](https://forum.getkirby.com/t/licence-error-in-panel/25230/3 "2022-04-12T15:42:19Z")

</div>

Hej 👋🏼,  
I have a bit of the same error. At least the same message.

We have created a Docker Setup, where Kirby gets freshly pulled via composer with every deployment. To have persistent **users**  **error** , _license_ and **home** files and folders, we run a composer-post-install to copy those mandatory files.

When I register Kirby locally to be able to copy the file `/config/.licence` the key “domain” won’t match my production environment.

**Am I right to assume, that I can register Kirby only _online_** (on the production server)?  
Afterwards I should copy the resulting `/config/.licence` and save it for my composer-post-install php action:

Eg.:

```auto
  mkdir(dirname($dstLicense), 0777, true);
  copy($srcLicense, $dstLicense);

```

However. I have been playing around a lot with the setup, and now I am getting the **ERRO Error: The license has been validated too often**

Since I can not post the license and username here, we should PM too.

Greetings and thanks for your fantastic work from Hamburg  
Marc
