Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Attempting to run the 7.19.2 installer on Linux presents (java.net.SocketException)

muradkhan786 December 23, 2021

[root@bitbucket]# /tmp/atlassian-bitbucket-7.19.2-x64.bin
Starting Installer ...

Bitbucket 7.19.2 installation wizard
Would you like to install or upgrade an instance?
Install a new instance [1, Enter], Upgrade an existing instance [2]
2021-12-23 19:57:48,276 INFO [Thread-4] o.a.http.impl.execchain.RetryExec I/O exception (java.net.SocketException) caught when processing request to {s}->https://www.atlassian.com:443: Connection reset
2021-12-23 19:57:48,279 INFO [Thread-4] o.a.http.impl.execchain.RetryExec Retrying request to {s}->https://www.atlassian.com:443
2021-12-23 19:57:48,320 INFO [Thread-4] o.a.http.impl.execchain.RetryExec I/O exception (java.net.SocketException) caught when processing request to {s}->https://www.atlassian.com:443: Connection reset
2021-12-23 19:57:48,320 INFO [Thread-4] o.a.http.impl.execchain.RetryExec Retrying request to {s}->https://www.atlassian.com:443
2021-12-23 19:57:48,364 INFO [Thread-4] o.a.http.impl.execchain.RetryExec I/O exception (java.net.SocketException) caught when processing request to {s}->https://www.atlassian.com:443: Connection reset
2021-12-23 19:57:48,364 INFO [Thread-4] o.a.http.impl.execchain.RetryExec Retrying request to {s}->https://www.atlassian.com:443
^C
Rolling back changes ...
[root@bitbucket]#

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 23, 2021

Welcome to the Community!

This log chunk is saying that the install process cannot connect to Atlassian.com to go fetch stuff it might need.

In our all-connected world, we're all moving to "go get it from the internet", but you have systems that are blocking that.

You will need to get your network admins to allow that access, or use the installer that does not need any network access.

muradkhan786 December 24, 2021

Most kind. Thanks. 

What do you mean by "use the installer that does not need any network access"?

muradkhan786 December 24, 2021

Also, what's the deal with BITBUCKET_BASE and BITBUCKET_HOME. My 7.18.1 install is using BITBUCKET_BASE, and all the upgrade documentation for 7.19.2 references BITBUCKET_HOME

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 24, 2021

Bitbucket_base is used in some places to hold the bitbucket base URL for their functions, it's not a Bitbucket variable itself.  Bitbucket_home is the root of the directories that Bitbucket will keep its working files in on its server.

When you go to download Bitbucket, it will ask you if you want an installer for Mac, Linux or Windows, but there are two other options - tar.gz and .zip versions.  Those two are local installs that will not go out to atlassian.com when you install them.  But they are a bit more fiddly to use.

muradkhan786 December 27, 2021

Thanks again Nic.

I think i figured it out. BITBUCKET_BASE was set in the .bash_profile of the user account used to run BB. The pervious person that setup BB 7.18 did that, i think just, to append to the PATH. I found the BITBUCKET_HOME he set in set-bitbucket-home.sh of the old install location, and it is set to, as you said, the location where the application keeps its working files. In  $BITBUCKET_HOME/shared is bitbucket.properties that contains a bunch of jdbc and server settings.  So it seems like I need to extract out the tar ball to a parallel location to where 7.18 presently sits, and modify the set-user, set-home, and set-jre mirroring what he setup for 7.18 and I should be good to go. Will also need to modify the etc/init.d startup scripts and the user profile of course.


However, one last question. In BITBUCKET_HOME, I also see a home.properties file. Seems to have a comment line with a date/time stamp and the following. I'm guessing its something the application writes out but not sure.

home.build=7.18.1
home.layout=12.0.0

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events