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.
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
this is how i did my upgrade
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i am using the 64bit installer and i am not prompted for it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also have problems now starting Stash as atlstash, after manually copying the init script (it still runs a sroot).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Mike, are you using the UI, console or unattended mode? Ref: https://confluence.atlassian.com/display/STASH/Running+the+Stash+installer#RunningtheStashinstaller-modes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
console
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're supposed to run the script as root. The script takes care of changing the user for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i am running as root (su command blcoked): sudo ./atlassian-stash-3.8.0-x64.bin -c
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
{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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.