It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

The Stash installer for Linux does NOT install Stash as a service?

I am upgrading Stash from 3.2 to 3.8. On my test server stash installed the /etc/init.d/atlstash file. On the production system it does not install as a service.

Waht could be a reason for that? It does not give any install errors.

3 answers

1 accepted

1 vote
Answer accepted
ThiagoBomfim Atlassian Team Apr 08, 2015

Hi Mike,

Thanks for raising this.

After our internal discussion, we've decided to raise a Suggestion to cover your use case. For anyone hitting this, please refer to the JAC below:

Apologies I oversaw your initial report.

Kind regards,
Thiago Bomfim
Atlassian Support


0 votes
ThiagoBomfim Atlassian Team Apr 07, 2015

Hi Mike,

How are you upgrading Stash on your production system?

If you are using the installer to perform the upgrade as described on our Upgrade Guide, you will be prompted to decide if you want to install Stash as a service, which should place the /etc/init.d/atlstash script on your system.

Can you make sure you chose this option?


i am using the 64bit installer and i am not prompted for it.

I also have problems now starting Stash as atlstash, after manually copying the init script (it still runs a sroot).

ThiagoBomfim Atlassian Team Apr 07, 2015

You're supposed to run the script as root. The script takes care of changing the user for you.

i am running as root (su command blcoked): sudo ./atlassian-stash-3.8.0-x64.bin -c

ThiagoBomfim Atlassian Team Apr 07, 2015

One of the questions is about "Installing as a Service", Mike. I'd like to ask you to carefully reading the instructions again. If you still can't see it, please raise a support request and we will go from there.

{code} $ sudo ./atlassian-stash-3.8.0-x64.bin -c Unpacking JRE ... Starting Installer ... This will install Stash 3.8.0 on your computer. OK [o, Enter], Cancel [c] Please choose one of the following: Install a new Stash instance [1, Enter], Upgrade an existing Stash instance [2] 2 Where should Stash be installed? [/opt/atlassian/stash/3.8.0] Default location for Stash home directory The location for Stash data. Please provide the location of your existing Stash home directory, where your repositories, plugins, and other data are stored. Be sure to STOP your current Stash instance and create a backup before proceeding. [/var/atlassian/application-data/stash] <stash_home> Configure which ports Stash will use. Stash requires two TCP ports that are not being used by any other applications. The HTTP port is where users will access Stash through their browsers. The control port is used to start and stop Stash. HTTP Port Number [7990] Control Port Number [8006] Please review your Stash installation settings Installation Directory: /opt/atlassian/stash/3.8.0 Home Directory: /gitdata1/stash_home HTTP Port: 7990 Control Port: 8006 Install [i, Enter], Exit [e] Extracting files ... Installation of Stash is complete Would you like to launch Stash? Yes [y, Enter], No [n] n {code} Where is it?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Bitbucket

Contest: Share your custom Bitbucket Pipe and win

Announced in this blog, this holiday season we’re celebrating all things CI/CD and between now and the end of 2019 we’ll be showcasing content, use cases, feature announcements and more. One featur...

635 views 2 4
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you