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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,656
Community Members
 
Community Events
176
Community Groups

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

[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

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.

Most kind. Thanks. 

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

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

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.

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

Atlassian Community Events