<p>You're getting that error message because there is an existing <code>craft/config/license.key</code> file in place for your local installation and there is no record of that install on the Craft/web service end.  Likely you've just copied an existing <code>license.key</code> file from another site into this new installation.</p>

<p>So the web service on the Craft end thinks that since it's a new Craft client installation it needs to send down a new <code>license.key</code> file for you to start using.  But the Craft client knows it should never overwrite an existing <code>license.key</code> file, so it reports that error.</p>

<p>Solution: remove the existing <code>license.key</code> file (since it probably belongs to another site anyway) and let the web service generate a new one for you.</p>

CC BY-SA 3.0
2016-06-22T15:48:06.960Z
Ok, i try that. remove the key from local and staging and live. And what you mean with webservice? :) Sorry :/
davidhellmann
CC BY-SA 3.0
2016-06-22T17:33:13.997Z
No worries... the web service (elliott.craftcms.com) is the server on our end that all Craft client installations talk to for license verification, update checks, etc.
Brad Bell
CC BY-SA 3.0
2016-06-22T20:16:15.990Z
I've deleted the license.key on my local machine and checkt for updates but same message again. And he creates a new license.key file.

Here my hearty config:

$envs = array(
  'dev' => 'craft.xxx.dev',
  'stage' => 'staging.xxx.com',
  'prod' => 'xxx.com,www.xxx.com,live.xxx.com',
);
davidhellmann
CC BY-SA 3.0
2016-06-22T20:25:31.320Z
Haha OK. On my live site now it comes this:
You’re running Craft Pro with a Craft Personal license. Resolve ->

What I must do now? :/
davidhellmann
CC BY-SA 3.0
2016-06-22T20:30:08.303Z
Probably be better is we took this over to support@craftcms.com. Can you shoot an email there with the domain name of the live site?
Brad Bell
CC BY-SA 3.0
2016-06-21T17:39:57.573Z
2016-06-21T17:39:57.573Z
Brad Bell
<p>No chance to update on my local machine and on my live site.
On the staging site it works but that's the same server as the live site.</p>

<p>I've cleared the caches and checked the logs. </p>

<p>Local there is only this error:</p>

<pre><code>2016/06/19 19:41:01 [error] [application] Error in Craft\Et::phoneHome. Message: Cannot overwrite an existing license.key file.
</code></pre>

<p>But I run the site in DEV Mode. </p>

<p>Any ideas? I'm a bit unhappy about it :/</p>

<p>Best
David</p>

CC BY-SA 3.0
2016-06-19T23:35:15.580Z
Looks like Craft doesn't have write permission, which is usually caused by incorrect permissions... How are you running the server locally? Vagrant? MAMP?
RitterKnight
CC BY-SA 3.0
2016-06-21T07:27:57.207Z
With MAMP. You mean this is a Mamp Setting? But why it works on my staging server and not on live? They run on the Same Hoster.
davidhellmann
CC BY-SA 3.0
2016-06-21T14:53:51.243Z
Have you tried removing the key? You don't need it in dev mode but I'm guessing the permissions problem is what's causing the issue on LIVE.
RitterKnight
<error><updates>
Craft is unable to determine if an update is available at this time
# Craft is unable to determine if an update is available at this time

(Asked by: username_0 on 2016-06-19)

No chance to update on my local machine and on my live site.
On the staging site it works but that's the same server as the live site.
I've cleared the caches and checked the logs. 
Local there is only this error:
2016/06/19 19:41:01 [error] [application] Error in Craft\Et::phoneHome. Message: Cannot overwrite an existing license.key file.

But I run the site in DEV Mode. 
Any ideas? I'm a bit unhappy about it :/
Best
David

**Tags:** error, updates
> **Comments:**
> **username_1**: Looks like Craft doesn't have write permission, which is usually caused by incorrect permissions... How are you running the server locally? Vagrant? MAMP?  
> **username_0**: With MAMP. You mean this is a Mamp Setting? But why it works on my staging server and not on live? They run on the Same Hoster.  
> **username_1**: Have you tried removing the key? You don't need it in dev mode but I'm guessing the permissions problem is what's causing the issue on LIVE.  

---

## 1 answers

### Answer by username_2 on 2016-06-21. Score: 3 | Accepted answer

You're getting that error message because there is an existing `craft/config/license.key` file in place for your local installation and there is no record of that install on the Craft/web service end. Likely you've just copied an existing `license.key` file from another site into this new installation.

So the web service on the Craft end thinks that since it's a new Craft client installation it needs to send down a new `license.key` file for you to start using. But the Craft client knows it should never overwrite an existing `license.key` file, so it reports that error.

Solution: remove the existing `license.key` file (since it probably belongs to another site anyway) and let the web service generate a new one for you.

> **Comments:**
> **username_0**: Ok, i try that. remove the key from local and staging and live. And what you mean with webservice? :) Sorry :/  
> **username_2**: No worries... the web service (elliott.craftcms.com) is the server on our end that all Craft client installations talk to for license verification, update checks, etc.  
> **username_0**: I've deleted the license.key on my local machine and checkt for updates but same message again. And he creates a new license.key file.  Here my hearty config:  $envs = array(   'dev' => 'craft.xxx.dev',   'stage' => 'staging.xxx.com',   'prod' => 'xxx.com,www.xxx.com,live.xxx.com', );  
> **username_0**: Haha OK. On my live site now it comes this: You’re running Craft Pro with a Craft Personal license. Resolve ->  What I must do now? :/  
> **username_2**: Probably be better is we took this over to support@craftcms.com. Can you shoot an email there with the domain name of the live site?  

---

