Windows service does not start after upgrade

I followed the upgrade instructions for Bitbucket but despite that the old Stash Windows service was not uninstalled and replaced with a new Bitbucket service as I would have expected. Or at least I would think that the old service will be starting the new version. However, to run Bitbucket currently on my server I have to manually stop the old service and then run the startup_bitbucket.bat from the installation directory to make it run. Jira service works correctly as before the upgrade.

2 answers

1 accepted

Hi Marek,

May I ask you, if you tried to do the steps that are listed in this documentation?



Hi Marek,

you might have a look at the service itself. I had the same problem and solved it by deregistering the service and register the service again - as the old service still used tomcat7 instead of tomcat8 ...

Thanks Johannes. That was part of the problem. For some reason, I'm having, on that particular system, problems with server variables set to JDK as opposed to JRE or vice versa. I'm running 4 Atlassian products on that machine and it seems that much earlier in time they did not like sitting next to each other too much. :) I usually have to fiddle with the environment variables as well as reinstalling the services manually. But since I do not have 2 days to play with this every time I upgrade I do upgrade at most once a year and by then I can't even remember what was wrong before. And since I do not know much about JAVA I usually need help unfortunately. Once again, thanks for yours. We solved it with the help of Atlassian Support.

We had recently also a lot of problems with messed up JAVA_PATHes and pointers to wrong JVMs . We also resolved it with the help of support - maybe this allowed the support to solve your problems faster ... Have fun!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

655 views 5 9
Read article

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