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

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 vote

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?

Best,
Thiago

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).

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

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
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...

175 views 20 8
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