Running Stash in a VM Trying to set HOME_PATH to a Windows network share...

Hey guys,

On Linux I didn't have many issues with stash. Other than my VM got strange after a while and I am not a Linux guru so I wanted to see if it would run the same/better under Windows. Unfortunately my setup is a small VM very minimal Windows install. Not much spare disk space on the VM. So I've been trying to point the Stash install to either a Linux based, NAS unit or a physical hard drive connected to the host system. Unfortunately I still have to provide authentication to that drive because I'm using VMWare Desktop on that system. Is there a way to authenticate or pass a username and password through with the path so I can gain R/W access to the volume with Stash? I'm not using a domain controller so I need to pass machinename\username like credentials.

So far I've tried mapping a network drive, using VMWare's built in Shared Folder's feature, as well as UNC direct connection. I also tried changing the service to run under the logged in user which some how ended up renaming my user profile on reboot. (Really strange. Not sure how this happened.)

So the main question here is can I pass credentials through to Tomcat or something so that the service will authenticate with the network share and allow me to write to it?

Thanks,

 

Phantomwalker

 

2 answers

This widget could not be displayed.

I don't think any Tomcat install could do that.

This more a VM issue and not so much related to Atlassian products.

You could create a script to do this and then launch stash instead of using a service.

This widget could not be displayed.

Thanks for the suggestion Mike. I'll play around with this idea and see how it goes. I guess that makes sense. Just don't install it as a service.

If this works and I go with this I'll be sure to mark you as accepted answer. laugh

Thanks!

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 10, 2018 in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

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 ...

258 views 14 2
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you