My developers recently noticed some odd behavior. After the last restart of our Stash server we are getting the following when pushing / pulling to our Stash repositories:
git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin warning: unable to access '/root/.config/git/config': Permission denied warning: unable to access '/root/.gitconfig': Permission denied warning: unable to access '/root/.config/git/config': Permission denied warning: unable to access '/root/.gitconfig': Permission denied
Do you mind raising a support ticket and attaching your support zip with as much details about how Stash is running? It's most likely running as the wrong user, or with the wrong home or user. I don't think there's anything you can do about the warning until that is fixed - we don't have control over that directly.
For some unknown reason the init script that we've used since installing Stash no longer functioned as it should. The results of my ticket:
If your script is running this: <tt>/bin/su -m $USER -c "$CATALINA_HOME/bin/startup.sh &> /dev/null"</tt> the <tt>-m</tt> is preserving the environment from the calling user who appears to be root.
There are instructions for running Stash as a service that will serve you better. I would recommend using these if you can't get it running.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...
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