I just upgraded Bitbucket Server from 4.0.1 to 4.1 and it lost its connection to the database (it comes up on the setup screen). The database is intact, so how do I tell Bitbucket where it is?
Hi Craig,
If that happens, it means you didn't point the installer (using the upgrade workflow) to your old BITBUCKET_HOME. Have you tried running the upgrade again pointing at the right home directory?
BITBUCKET_HOME
Hi Thiago. I did point the installer at the old BITBUCKET_HOME, I did use the upgrade workflow, and I did try running it again. I've discovered since I originally posted that everything works perfectly if I launch Bitbucket Server using the Windows bat file. I'm only experiencing a problem if I run it as a Windows service.
In that case, have a look at the article below:
How did you install the service? Did you choose to have the service installed as part of the installation process of 4.0.1?
Have you managed to find a pernament solution here? I have the same issue - well maybe similar. I have installed Bitbucket 4.8.5 and recently, after a server restart Bitbucket service woke up but was not able to restore database connection. It works fine when I start Bitbucket from .bat but not as Windows Service. I tried to reinstall service - did not help either...
I have not, unfortunately, and I've performed several upgrades since my initial post. I'm still launching from the BAT file, which works perfectly. It's extremely annoying but at least I have a workaround, especially since Atlassian has made no effort to follow up to my last post almost a year ago.
It looks like you're new here. Sign in or register to get started.