License invalid after upgrade
Asked by nisamudeen97:

Hi,

<br />

I have upgraded confluence to latest stable due to recent confluence hack. Now I am getting license error. I had a valid license. Can you please help us to resolve the case.

<br />

Due to recent hack issue, we have closed public access for confluence and jira domain

<br />

License Inconsistency: Confluence support and upgrades for your current license have expired.

You'll need to supply a valid license key. Confluence can't start without this.  
If you have a new license, please enter it on this page and restart.


Answers:
author: Nic Brough -Adaptavist-
body: Your old licence may have been valid, but it only allows versions of Confluence to work that are released before the end date of the licence. You have upgraded past that end date, so the licence will not enable Confluence.

You need to buy a new licence to enable this Confluence to work.

comments: author: nisamudeen97
body: Hi,

You are correct. It was old version of confluence . We don't have have admin access at the moment. Does it mean after upgrading the license it will automatically start working ?

If not can you share me the update procedure from back end via ssh?


author: Nic Brough -Adaptavist-
body: Yes, when you apply a valid licence, all the functionality will come back.


author: nisamudeen97
body: Hi,

We have renewed it and license is listed in our account still we have the following message

![error.png](https://community.atlassian.com/t5/image/serverpage/image-id/53097iBD2A5D70384D3A82/image-size/large?v=v2&px=999 "error.png")

Reference number

Your order number is AT-75987167.  
?  
?


author: Nic Brough -Adaptavist-
body: "Having a licence in your account" is not going to do anything. You need to **apply** the **new** licence to your system by following the link in the error message that tells you what to do.


author: nisamudeen97
body: Hi,

Thx, I have managed to update the license and its hash and restarted. But I could see

" Finishing up checks " continue to run for hours**.** See the attached scree shot

![this continue for hours.png](https://community.atlassian.com/t5/image/serverpage/image-id/53180i3F573A38D87BABA3/image-size/large?v=v2&px=999 "this continue for hours.png")

I get this message in logs.

<br />

01-May-2019 10:31:58.620 SEVERE \[http-nio-8090-exec-2\] org.apache.catalina.core.StandardHostValve.custom Exception Processing ErrorPage\[errorCode=404, location=/fourohfour.action\]  
java.util.concurrent.CompletionException: com.atlassian.confluence.tenant.VacantException: Confluence is vacant, a call to tenanted \[public abstract org.hibernate.Session org.hibernate.SessionFactory.getCurrentSession() throws org.hibernate.HibernateException\] is not allowed.  
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)  
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)  
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:824)


author: nisamudeen97
body: License issue was solved. Manually updated it using the below documentation and it helped.

<https://confluence.atlassian.com/confkb/how-to-change-the-confluence-license-in-confluence-cfg-xml-720405151.html>

But we have too many issues with new confluence as our confluence was end of license. I will update it in new thread