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
Hi Tim,
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.
Charles
Thanks @Charles. The behavior of the init script we've used since we started using Stash changed. No idea why but it is fixed. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.