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?
Hi BeaconEducator,
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.
Cheers
Tomek
Atlassian
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.
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.