error in script file line: 303330 java.io.IOException: org.hsqldb.HsqlException: Value too long

ksk jira February 16, 2016

Hi,  

we are getting the following issue after JIRA restarted.. we are not able to login. 

if any body has such situation and fix ..please share.

Thanks. 

Pavan 

 

 

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 17, 2016

Your  dev/test database is damaged, and may not be recoverable.  I'd get a clean JIRA install and get a copy of your production data and restore that into it.  If the error occurs again, then you'll probably want to shift to using a proper database (ideally the same as the production one, so you can use a database dump to make the copies)

ksk jira February 17, 2016

Hi Nic,

 

Thanks for the reply..its happened on the PROD, do we have any other alternative to  recover or need fresh install and configurations ? 

since we have other plugins i am looking for the up and running the existing one. 

Thanks,

Pavan

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 17, 2016

You are repeatedly told NOT to use HSQL for production systems during installation and in the admin screens, and this is one of the reasons why.  You could easily have lost everything in here. 

You might be able to rescue this, but there's no guarantee.  Go to the database directory and find the file jiradb.script - copy it to make sure there is a backup, then open the original in a text editor.  Go to line 303330 in there and shorten the data in the field you find.  Start JIRA back up and see if that works.  If it does, then you should run the XML export of the system and shut it down again.  Then set up a new system with a proper database and import the XML.

Suggest an answer

Log in or Sign up to answer