Hi Devs 
I think the licensing update in Confluence 7.17.0 broke Server Timebomb licenses.
Both the license listed on https://developer.atlassian.com/platform/marketplace/timebomb-licenses-for-testing-server-apps/ under 3 hour expiration for all Atlassian host products, as well as the instances pulled up with atlas-run(-standalone)
are not accepted by the code as valid licenses. Therefore, Confluence refuses to start / accept it during setup:
Steps to reproduce:
- With the latest version of the
atlassian-plugin-sdk
installed, run atlas-run-standalone --product confluence
, wait until the instance is started then access it using the link given in the output.
- Or: Start setting up Confluence as a standalone instance and give the license posted on the aforementioned page that contains all public timebomb licenses. Setup will reject that license.
Workarounds known to me:
- Use a (single-node) DC instance with a proper license, or
- a proper Server (prod or dev) or
- an eval license or
- use a lower version of Confluence (≤ 7.16.x)
I think this should probably be fixed, be it that the licensing code in 7.17.1 or something actually accepts the server timebomb licenses again or that the data image that atlassian-plugin-sdk
pulls, actually provides a DC timebomb license.
Thanks!
Cheers,
Tobias
SEO keywords:
- Error in Web UI: “License Inconsistency: Your current license will not work with this version of Confluence.”
- Error in Setup Web UI: “The product license youre using is not legitimate. Contact your license issuer.” [sic]
- Errors in Logs:
com.atlassian.confluence.license.exception.LicenseException: Failed to retrieve license from storage.
retrieveFromStorage Unable to parse license string: Failed to verify license hash: missing property licenseHash
Unable to retrieve license. Your current license will not work with this version of Confluence. 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 (/fixonly/fixlicense.action) and restart.
PS: Visiting the page to fix the license also does not work for me:
3 Likes
Just adding my voice here that we’re seeing the same thing, both for atlas-run
and atlas-run-standalone
for Confluence 7.17.0 and 7.17.1. Working with Confluence 7.16.3. My SDK version:
ATLAS Version: 8.2.7
ATLAS Home: /Applications/Atlassian/atlassian-plugin-sdk-8.2.7
ATLAS Scripts: /Applications/Atlassian/atlassian-plugin-sdk-8.2.7/bin
ATLAS Maven Home: /Applications/Atlassian/atlassian-plugin-sdk-8.2.7/apache-maven-3.5.4
AMPS Version: 8.1.2
2 Likes
Has there been a solution to this? I need to test/release updates my apps for Confluence 7.18
To my knowledge, no. As a workaround, you could try placing an eval license in the confluence.cfg.xml
file in your Confluence home (which will be somewhere under target
if you use atlas-run{,standalone}
).
Maybe @bentley could tag the correct people that could look into this 
1 Like
Acknowledging that I saw this and have asked around. Will see if anyone can share more insight. No promises, a bit outside of my areas of pseudo-expertise 
5 Likes
Any word on this? I’m now trying to test my plugin for Confluence 7.19.0. I have a trial DC license and applied it to the copy of confluence.cfg.xml under the target subdirectory. The problem may be I removed the line feeds (should I have substituted CTRL-M?)
Soooo annoying… Atlassian is really not interested in helping app developers.
3 Likes
running into this just now with after setting Confluence 7.19 LTS as lowest supported version in my pom.xml. Any news on this topic?
I shipped around this topic now for quite some time, but this is really annoying. Is there any solution yet?
Aaaaand sure enough, suddenly I’m seeing this problem with 8.x, too. Already cleared everything (target dir, even the maven cache). Where does that d*mned license that is deployed initially even come from??? And why can’t you guys even fix the “Fix license” dialog???
Come on guys, it can’t be that hard to make life for developers just a tiny little bit easier.
[Begin Rant]
There is so much going on that makes on premise development hard with the 8.x line that I really get the impression atlassian is going to abandon the data center platform next - documentation is never updated, getting started guide is a total mess, there is zero guidance on how to develop for 7.x and 8.x in parallel etc etc. Right now, I cannot even install our plugin in the dev instance - something that has worked since confluence 6.x now suddenly fails because of dependency hell.
[End Rant]
2 Likes