Hi,
after setingup new JIRA service on own server I'm unable to restore DB. There we no backups from JIRA made, only MySQL DB.
java.lang.RuntimeException: org.apache.jasper.JasperException: com.atlassian.extras.decoder.api.LicenseDecoderNotFoundException: Could not find any valid decoders in [com.atlassian.extras.decoder.v2.Version2LicenseDecoder@5a2a6697, com.atlassian.extras.decoder.v1.Version1LicenseDecoder@4d5979b4] for license string <>
JIRA version is:
6.4.1
The error you are seeing here is in regards to an invalid license for Jira. At least Jira can't seem to decode the license that you have here.
Are you sure that the database backup you have is from a Jira 6.4.1 version? If it was, then you technically don't need to apply a new license key if you had a commercial key applied to that instance when the backup was made.
Jira is storing the license in the database. However if all you have is the database backup, you should only have to apply a new license key if both
Meaning, you don't need to apply a new license key as long as you are not doing an upgrade to Jira AND your database backup had a valid license key applied at the time the backup was created. Even if your old key is expired in that database backup, you should still be able to complete the 6.4.1 provided your license was not an evaluation license, and Jira 6.4.1 was released before the expiration date of your license.
I would be interested to learn if you followed the database setup steps in Connecting Jira to MySQL. I would still expect this to be followed for new installations, even if you are then still planning to do a database restore to that empty database shell. Just because we have a pretty specific set of collation/encoding types that are supported for the Jira database, and if you happen to choose an unsupported one, weird/unexpected stuff can happen.
The other part I would be interested in is learning what license key you are using here to apply to the system and what license key is in the database backup. You can find the latter following the steps in this KB: How to Get and Update JIRA License String from the Database.
If you want to post back the license keys to this thread feel free, I can obscure them after the fact. If you are not comfortable with that, just let me know and we can find another way to obtain that info.
After some investigation I've found out that problem is connected with displaying projects and issues from my previous DB. I've tried to access restored version using user which doesn't have administrative access and everything is working fine.
Also after investigation of the backup file, I've found that JIRA was installed as 6.2.1 and then upgrated to 6.4.1, maybe it is some how connected?
Another question if it is possible to find which resources aren't avaliable?
Right now I'm getting:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also maybe it is possible to downgrade backup file to previous version? maybe it would be possible to restore file on 6.2.1?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would try to restore this to a 6.2.1 version first instead. If you can get this restored there and working, then from there you should be able to update the license key for Jira. Doing it this way will then allow you to create a new XML backup, one with an updated license key.
This way you can more likely avoid this kind of error when upgrading later on. Provided the XML backup has a license key that still has a future expiration date, then you should be able to update that version.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yeah, after installing 6.2.1 and importing whole MySQL DB backup everything is running fine. Thx!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.