Hello
the server won't start.
- I don't have a clue where the log files are
- I'm only guessing where the home directory is (or at least how bitbucket is detecting it: from its current folder), as I know where the files are
- I cannot download the latest server version as the download link is "error 404" I, supposedly can only download a trial version, but I won't a regular version
Seems to be related to a JAVA update; the JAVA_HOME variable has been changed and it still won't start. I didn't find anything on the web
Thanks for your help
Xavier
Hello
the variable was defined for the current user, not the Atlassian Windows account.
The java update broke the whole thing as the installer uses the current value, java update changes the install folder and delete the all one.
Easy to understand once you've found the logs.
The question is still : how do we know where the log files are ? We found them thanks to the installer that displays the current log path...
Thanks
Xavier
Hello Xavier,
By logs I'm assuming that you are talking about the bitbucket logging service. If so here are the list of logs generated and how to read them. Usually they will be found in the logs directory in your bitbucket home directory
If you meant the contents of the home directory and the configuration files then you may want to check this.
Regards,
Sujay Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
the HOME DIRECTORY is what I was looking for. I can then find logs and understand.
That being said, every windows java update breaks the server. I don't think this is related to our configuration and could be nice if addressed
Thanks
Xavier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Xavier,
Thank you for your question.
We too suspect an element of JAVA_HOME issue on your system and it might need some extra validation. If you are on Linux please execute the following command and see if you receive an output:
Linux command line: # echo "$JAVA_HOME"
Windows command prompt: # SET JAVA_HOME
If the above command does not return anything, we might need to set up the java home as per this article (if you are on windows then use this article). Once that is done you shouldn't have any issues with java.
Too add to that, I'm also guessing you have followed the instructions for installing bitbucket on a Linux Server. Check this for Windows. If you are not familiar with the different files involved and you are installing a test instance you should try the installer since it will automate all the settings for you including creation of the bitbucket home directory.
Please let me know if you that helped.
Cheers,
Sujay Raj
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.