Upgrade 4.3.4 to 5.1.1 problems with invalid column name

This is with Linux connecting to an MSSQL server.

Upgrade goes well until I try to connect to the service. Then it gives a stack trace complaining about "invalid column 'disabled'". I disabled the autoexport and it gives "invalid column 'WATCHES'" while trying to upgrade.

I found a mention of both these issues by a guy named Marcel in this https://confluence.atlassian.com/display/JIRA/JIRA+4.4+Upgrade+Notes upgrade note. His proposed solution, "add <schema-name>dbo</schema-name> to dbconfig.xml" does not help (either replacing the existing schema-name or adding as an additional line)(The schema is verified to be "jira" on the SQL server).

I have read through the upgrade notes but see no answer. As far as I can tell, this is a valid upgrade path

Binary is atlassian-jira-5.1.1-x64.bin

dbconfig looks like this:

<?xml version="1.0" encoding="UTF-8"?>

<jira-database-config>
<name>defaultDS</name>
<delegator-name>default</delegator-name>
<database-type>mssql</database-type>
<schema-name>jira</schema-name>
<jdbc-datasource>
<url>jdbc:jtds:sqlserver://not.the.real.fqdn:1433/jira434</url>
<driver-class>net.sourceforge.jtds.jdbc.Driver</driver-class>
<username>jira</username>
<password>notthepassword</password>
<pool-size>50</pool-size>
</jdbc-datasource>
</jira-database-config>

Any help much appreciated.

2 answers

This widget could not be displayed.

Thinking this might be being caused by the jira user not having permissions to modify the database. Will look into.

This widget could not be displayed.

Increasing the permissions for the Jira user in the database allowed it to add the columns and the upgrade proceeded without issue (I also re-enabled the auto-export).

Given that the "unable to add column" error was present in the log, perhaps it would be better if this was what the displayed fatal error was on the webpage since it is the root cause of the problem.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

580 views 25 15
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you