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

This widget could not be displayed.

Hi Marek,

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

https://confluence.atlassian.com/bitbucketserver/running-bitbucket-server-as-a-windows-service-776640048.html

Cheers,

WZ

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Friday in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

169 views 9 2
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