Stash Administration settings

Hi

I would like to make an unattended installation of Stash 1.2.2 via scripts, so Stash is up and running with the rights settings when starting.

How can I modify the Administration settings in Stash like BaseURL, Database settings. Ldap repository etc. without typing them manually.

Can I modify property file(s) or is there another way ?

1 answer

1 accepted

0 vote
Jason Hinch Atlassian Team Sep 10, 2012

It is possible to script some of those operations but not all of them.

The database configurations can be set via a properties by following the old documentation. https://confluence.atlassian.com/display/STASH011/Connecting+Stash+to+an+external+database. Stash 1.2+ have an in-app database migrator but you can still set up using the old way.

In terms of the BaseURL this cannot be set programmatically short of modifying the database directly

Im not sure able setting up LDAP

hi Jason

If I use the stash-config.properties approach to connect to a database before start. I can change BaseURL, LDAP connection etc, via SQL scripts. As far as I can see these values are in the external database e.g. BaseURL is in APP_PROPERTY table, instance.url prop_key.

Don't you think that will work ?

Jason Hinch Atlassian Team Sep 10, 2012

You would be able to set the base url up via the method described. Within setup you are also required to create an admin user and set your license. Neither of these cannot be scripted currently.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,323 views 26 12
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