I've setup a demonstration setup of Git Stash, attached to a Postgres SQL database. Setup went fine, and I created a new user, a single project, and a single repository in that project.
After pushing my repository to the server, the web interface still thinks the repository is empty:
To get started you will need to run these commands in your terminal.
I tried cloning the repository and verified that all the files were successfully pushed and pulled. So, the git part of the server seems to work fine, it's only the web interface that does not think it has files.
git ls-remote origin also verifies that the HEAD is the same both locally and on the server.
Possibly related: The "Audit log" tab under the project level settings and repository settings will never load. The "Pull Requests" tab will also not load.
It turned out the Stash application was starting up as the wrong user. I ditched my own script and used the init.d linux script suggested in the documentation, corrected the permissions on the stash-home directory, and everything ended up working after a reboot!
If you haven't already I would suggest raising a ticket at https://support.atlassian.com so that we can take a look at your logs and perform further diagnosis.
From the sounds of it it seems like the post-receive hooks installed into the repository by stash are not being executed.
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
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!
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