So, I upgraded my server, but it specified that a few files were needed for the upgrade; setenv.sh server.xml web.xml and the like, so I moved those into position and attempted to stop the server to restart it. It is now specifying that it can't find java_home.
As I used the bin file to install this, I had expected Java to be installed along side the jira app. If that is the case, I need to know where and how to point the jira app at the installed java_home. If that isn't the case, suggestions on what java to get, and where to implement a change so jira is happy again would be appreciated!
@admin admin Can you please check, what does below line prints,
$ echo $JAVA_HOME
If it prints noting, I think you need to set $JAVA_HOME manually in /etc/environment something like this,
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/atlassian/jira/jre/bin"
JAVA_HOME="/opt/atlassian/jira/jre/bin" # Add link to packaged JRE.
Then apply it and see if this time it prints JAVA_HOME,
$ source /etc/environment
$ echo $JAVA_HOME
/opt/atlassian/jira/jre/bin
You are good to run Jira now.
I resolved this by entering it into the /etc/environment file
I am still unable to log in now however, but I will open another ticket for that, thank-you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.