We recently upgraded our servers. We moved our the database and restored users. However we lost our repos in the transition. The repos still appear in bitbucket but I cannot delete because they are empty. When I click on them I get a 404 error. I cannot delete the old projects without deleting the repos first but are empty and go to a 404 page. How can I remove the projects?
Could you please let us know:
- if you have moved the $BITBUCKET_HOME/shared as well or did you leave it in the same place? This is the directory that stores the actual repository data.
- If you have moved the $BITBUCKET_HOME/shared did you update your new Bitbucket Server version to use the new directory? You need to update your $BITBUCKET_INSTALL/bin/set-bitbucket-home.sh (or set-bitbucket-home.bat) with the new path if that was the case.
Please also make sure the user running your Bitbucket Server process has the ownership of the whole $BITBUCKET_HOME directory.
This issue was the shared folder was not moved and so the repo had nothing to link to causing the 404 error.
We could never find a response on how to get around the 404 pages displaying and removing the old project.
I opened SQL Server Management and removed the old instances of the projects and repos from the database, which in turn removed the projects/repositories from Bitbucket.
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events