Stash install not working.

I've just succesfuly installed Confluence and JIRA, but I can't install Stash. I got through the process and get

Success! You can now use Stash at the following address:

http://localhost:7990/

However, after unblocking that port and navigating to the URL, I never get anything back. I've tried changing the java version from OpenJDK to Oracle's Java. Same symptoms. Any advice?

3 answers

1 accepted

This widget could not be displayed.

AH! I know this one!

You're using Java 1.8 (early access?), and Stash doesn't support it yet. You need to use Java 1.6 or 1.7 (ideally 1.7).

See https://confluence.atlassian.com/display/STASH/Supported+platforms

Jason Hinch Atlassian Team Mar 28, 2014

There is an open feature request for Java 8. We are hoping to add support for it soon.

This widget could not be displayed.

"Never get anything back" - timeout? Blank screen?

Have you checked the SELinux settings? What does the log file say?

Blank screen. There seems to be no activity associated with the port, so it takes about 2 secs to return "Cannot connect." I'll look at the SELinux now.

SE is disabled on the server.

Hmm, so it can't be serving up anything over that port. Does netstat -a tell us it's actually listening?

What does the log file say?

ss -ln doesn't show 7990 listening. Which log file would you be referring to?

The stash directory home that I gave it in the config is completely empty.

Ok, so if 7990 isn't listening, the service isn't really starting. Definitely need to look at the stash application log file.

Where is that? Like I mentioned, nothing is being put in the directory I created and configured as Stash's home.

Stash installation directory has logs as well, /log/catalina.out says anything?

There is no catalina file in log directory.

My mistake. I was looking in /var/logs/. catalina.out reads:

Error: Could not find or load main class Products.atlassian-stash-2.11.4.lib.native:.var.atlassian.application-data.stash.lib.native
Java HotSpot (TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Error: Could not find or load main class Products.atlassian-stash-2.11.4.lib.native:.var.atlassian.application-data.stash.llib.native

Convert your last comment @Nic and I'll tag it as the approved answer.

Installing Java 1.7 worked. I appreciate the help. I ran into another problem as soon as I got stash responding on 7990.

:-)

No harm in trying 8, but if in doubt!

This widget could not be displayed.

I'm installing on CentOS.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,303 views 8 11
Read article

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