Unable to select SQL server from config --console

Yuriy Bush November 21, 2017

platform Debian 8 with Oracle java 1.8 and jtds

----------------------
JIRA Configurator v1.1
----------------------

--- Main Menu ---
[H] Configure JIRA Home
[D] Database Selection
[W] Web Server (incl. HTTP/HTTPs configuration)
[A] Advanced Settings
[S] Save and Exit
[X] Exit without Saving

Main Menu> D

--- Database Selection ---
Database Type : H2
Instance : (unused)
Connect As : sa / (no password)

* [H] H2 (not for production use)
[M] MySQL
[O] Oracle
[P] PostgreSQL
[S] SQL Server (MS-SQL)

[X] Return to Main Menu

Database Selection [H]> S
Unknown command 'S'

1 answer

1 accepted

3 votes
Answer accepted
Maurice
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 21, 2017

Hi Yuriy,

You are running into a known bug, JRASERVER-40971 - MSSQL Selection in config.sh Broken (CLI)

 

There is a workaround in the bug report, referencing this documentation: Manually configuring JIRA with MS-SQL Server:

Manual Configuration

  1. Locate the dbconfig.xml file at the root of your JIRA Home Directory.
    • If this file does not exist, create the file, copy and paste the example XML code ( shown below ) into this file.
  2. Update the file, as described in the Database connection fields section below. Escape any '&' characters by adding 'amp;' to the end of each one.
    • Note, the <database-type/> element must specify your type of database, e.g. mssql. If you forget to do this and you start JIRA, your database tables may be created incorrectly. See Incorrect database type specified if this happens to you.
  3. Save the file and restart JIRA.



Best regards,
Brian

Yuriy Bush November 21, 2017

Hi Brian,

Thanks a lot.

Regards,

Yuriy

Suggest an answer

Log in or Sign up to answer