Recently I attempted to upgrade a Stash instance to the latest version of BitBucket. The upgrade process "succeeded" but most of the repositories are no longer showing up. Before the upgrade there were 12 repos in Stash. After the upgrade only 2 show up in BitBucket. The repo files are still in the folder, and the 10 missing repos are still listed in the database when I perform the query:
select * from repository;
The database being used is MySQL. The upgrade was from Stash 2.12.0 to BitBucket 5.5.1. There were no errors or warnings in atlassian-bitbucket.log that related to the missing repos.
I'd prefer not to recreate the repos through git as was suggested to a user who was migrating to a new server. How can I point BitBucket to the repositories that already exist both within the database and on disk?