My Self-server don't upgrade. Edited

Hi, i have my self-server in digital ocean with a Linux Droppber ubuntu 14.4, i'm trying to intall everything with the -> atlassian-bitbucket-5.2.2-x64.bin

When i run the sudo command for install, it ask what kind of install i want, i said upgrade, and follow the instructions but when the install finish without 0 error's, my bitbucket still with 4.1 version.

What i'm doing wrong??? i did all said here:


When i'm trying to start se service got this: 15: [[: not found 35: pushd: not found 37: popd: not found 40: source: not found


Startup has been aborted


But when i do on the 4.1, runs without problem. Anyone? Please. 

2 answers

1 vote

Hi Luis,

It look like your system may not have some basic Linux commands installed or the $PATH environment variable may not be configured correctly to reflect where these commands are located.

You might need to work with Digital Ocean to get this resolved.



Premier Support Engineer


Seem's that Digital Ocean is not help me, is trying to say that the bitbutcket 5.0 maybe is not for ubuntu 16.6.


Did you recommend any service where i can set my Bitbucket Server 5.2 and works? 


Hi Luis,

This is just a personal recommendation, but I found that I've been able to get Bitbucket Server up and running on Amazon's Ubuntu images without any problem.



Premier Support Engineer


Chris thanks i just follow your recommendation i'm now in AWS with a E2 instance.

After several things i finally installed and running without any errro's but the bitbucket server just dont loading the page.


this is the running with

Starting bundled Elasticsearch

Hint: Run --no-search to skip starting Elasticsearch

Bundled Elasticsearch started successfully

The current open files limit is set to less than 4096

Attempting to increase limit...

Limit increased to 4096 open files

Starting Bitbucket webapp at http://localhost:7990

The Bitbucket webapp has been started.


And here is the Atlassian-bitbucket.log

. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
:: Spring Boot :: (v1.5.4.RELEASE)

2017-08-11 22:23:51,996 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on ip-172-31-41-65 with PID 3449 (/opt/atlassian/bitbucket/5.2.2/app/WEB-INF/classes started by atlbitbucket in /opt/atlassian/bitbucket/5.2.2/bin)
2017-08-11 22:23:51,996 INFO [main] c.a.b.i.b.BitbucketServerApplication No active profile set, falling back to default profiles: default
2017-08-11 22:23:54,448 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 5.2.2 (eb334ac built on Mon Jul 17 07:39:13 UTC 2017)
2017-08-11 22:23:54,448 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_102-b14
2017-08-11 22:23:57,909 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 10.84 seconds (JVM running for 17.807)
2017-08-11 22:24:04,249 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /var/atlassian/application-data/bitbucket
2017-08-11 22:24:15,646 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /var/atlassian/application-data/bitbucket/shared
2017-08-11 22:24:19,492 WARN [spring-startup] com.hazelcast.instance.Node []:5701 [atlbitbucket] [3.7.4-atlassian-43] No join method is enabled! Starting standalone.

and if i try to run my AWS by the website just dont loading:

Do you have idea if i'm missing something?.

Hi Luis.

You probably didn't configure the security groups for your EC2 instance to allow inbound traffic on port 7990. 



Premier Support Engineer


Thanks for the reply, i'm kind of new doing this, what do you mean for the $path environment variable.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

655 views 5 9
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