Support

Home Forums Event Espresso Premium Can't update EE because license key was on live and staging site

Can't update EE because license key was on live and staging site

Posted: March 18, 2021 at 1:27 am


Lucinda Dalrymple

March 18, 2021 at 1:27 am

Hi,

I want to update EE, but I had the license key on a staging site along with my live site. I’d like to update it on the live site, where I currently have the license key entered, as well as the staging site, where I have removed the license key.

Unfortunately, I’m getting the A valid Support License Key is needed to enable automatic upgrades. Your current account does not allow automatic upgrades on more than one domain. Please log in to your Event Espresso account to manage your Support License Keys or purchase a support license right now. message on both sites.

The Support License Key section of my Account Details says the license key is active on my live site, which is where I’d like to leave it.

So… how can I update them both?

Thanks!


Lucinda Dalrymple

March 18, 2021 at 1:52 am

Also, it would be nice to be able to fix this myself. Like maybe allowing us to see what websites a license key is active on, and let us delete the extra sites.

I’m not sure how quickly you detect that a second site has the license key activated, but since staging sites are often created by backing up the live site and uploading it to the staging site, I’d guess that sites with duplicate license keys happen pretty frequently.


Josh

  • Support Staff

March 18, 2021 at 7:20 am

Hi Lucinda,

Thank you for reaching out today. You have a couple of options that may work and I’ll outline each of them:

1) If the staging site’s domain can meet any of the following conditions, it will not “count” toward your support license key and will just work to test updates. The conditions are:

– is an ip address that matches anything within a private IP range
– is localhost
– has .dev or .local or .test as top level domain
– has dev. or staging. as a subdomain

If any of the above, the site will be considered a “local” or “development” domain, and the site will not be included as a part of the license key check. In other words, you can input the key into the staging site’s General Settings page and it will work for 1-click updates without interfering with the main site.

2) If the above isn’t possible, then you can download any of the plugins from your account page, then delete and re-upload to test newer versions on the staging site. The plugins will function 100% the same without a license key set.


Lucinda Dalrymple

March 19, 2021 at 5:52 pm

Hi Josh,

Thanks for your reply. I’m actually using WP Stagecoach to create the staging site, and it creates the staging site on its own servers at wpsc.site, so I guess It’s not going to see it as a staging site that meets those requirements.

So, if I were to use a completely different domain from my live site, say mytestingdomain.com, and create a subdomain called dev.mysite.mytestingdomain.com, would that be seen as fitting the above criteria?

And sorry, but I’m not sure what you mean by “delete and re-upload” in your second point above. Do you mean delete and re-upload EE? I guess I’d worry that doing that could screw up what I already have set up in EE on the staging site, making it take much longer to do my site updates before uploading them to the live site.

I guess at this point much of this is moot this time around as I’ve since deleted the WP Stagecoach site (though I’ll need to figure this out next time I make changes to the site). This means that the only place that has the license key entered is my live site. Unfortunately, I’m still getting the error message. How can I get rid of the error message so that I can enable automatic upgrades?

Thanks!


Tony

  • Support Staff

March 23, 2021 at 7:04 am

so I guess It’s not going to see it as a staging site that meets those requirements

That is correct.

So, if I were to use a completely different domain from my live site, say mytestingdomain.com, and create a subdomain called dev.mysite.mytestingdomain.com, would that be seen as fitting the above criteria?

Yes, that should be fine.

And sorry, but I’m not sure what you mean by “delete and re-upload” in your second point above. Do you mean delete and re-upload EE?

Yes, manually update. We have some docs on this here:

https://eventespresso.com/wiki/how-to-upgrade-event-espresso/#ee4-manual-update

New versions of WP allow you to upload the newer version without first deleting the old version and it will replace the current version for you.

I guess I’d worry that doing that could screw up what I already have set up in EE on the staging site, making it take much longer to do my site updates before uploading them to the live site.

Deleting and replacing the version of EE on the site is exactly what the update process does in the background, you won’t lost any data from the database (where all your event and related data is stored).

Unfortunately, I’m still getting the error message. How can I get rid of the error message so that I can enable automatic upgrades?

I reset your license key so you shouldn’t be getting this error any more.

You can re-link your license by going to Event Espresso -> General Settings.

Remove the key (cut) and save, replace the key, paste and save again. That should relink your key to the site.

The support post ‘Can't update EE because license key was on live and staging site’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Do NOT follow this link or you will be banned from the site!