Stash config file missing

Hi ,

I just installed Stash 2.9.3 and I cannot locate the stash-config.properties file anywhere on the server.

It's installed on a Windows 2012 box and running as a service using a local account.

The reason I am trying to locate the file is because I am unable to get Stash connected to a MS SQL database. It keeps on saying "The configuration entered is not valid..." although I have confirmed the details are correct using a .udl file. So I was going to manually enter it in the file. At the moment it's running on an INTERNAL database.

Any help is appreciated.

Thanks

4 answers

1 accepted

This widget could not be displayed.

Hi Milan,

The stash-config.properties file isn't created until it is needed, but you can manually create it if you need. Just put it in STASH_HOME/stash-config.properties.

Here's sample content from a mysql connection:

jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/mysql_stash?autoReconnect=true&characterEncoding=utf8&useUnicode=true&sessionVariables=storage_engine%3DInnoDB
jdbc.user=stash
jdbc.password=stash

Cheers,

Michael

Hi Michael,

That worked, I was able to get it connected to the database by entering the details in the config file.

Thanks for your help.

Milan

This widget could not be displayed.

How to get the .udl file?

This widget could not be displayed.

Any advise?

This widget could not be displayed.

Create a blank text file and just rename it to test.udl

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 10, 2018 in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

288 views 15 2
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