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

Sorry, but I could not find gunzip in path. Aborting. Bitbucket (Server)

Almatrodi July 11, 2016

Hi,

I am trying to install Bitbucket (Server). I already installed Git 2.8.0 and Per 5.16.3

This what I didi:

wget https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-4.7.1-x64.bin
sh atlassian-bitbucket-4.7.1-x64.bin

The download is completed. But I got this error:

Sorry, but I could not find gunzip in path. Aborting.

gunzip is installed.

I am using CentOS 7.2

 

Please any help.

Regards

3 answers

1 accepted

0 votes
Answer accepted
Almatrodi July 12, 2016

Dear @Yogesh Mude[Jira]

I am still having the same problem. When I issue

./atlassian-bitbucket-4.3.2-x64.bin

 

I got "Sorry, but I could not find gunzip in path. Aborting.".

Btw, I am the root and having JIRA Software installed already.

Looking for help, please.

 

Regards

Yogesh Mude[Jira]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 12, 2016

HI,

make sure you have gunzip installed and then fix it by editing the file with vi atlassian-bitbucket-4.3.2-x64.bin and remove the following lines.

 

gunzip -V  > /dev/null 2>&1
if [ “$?” -ne “0” ]; then
  echo “Sorry, but I could not find gunzip in path. Aborting.”
  exit 1
fi


Almatrodi July 13, 2016

Thanks ...

2 votes
Xabier Davila September 12, 2016

Since you mentioned you have gunzip installed, make sure you also have which.

If you look at the line that checks for gunzip:

(...) which gunzip > /dev/null (...)
Steven Ventimiglia June 30, 2018

Thank you for the actual solution.

It has absolutely nothing to do with removing lines in the .bin file via vi, which baffles me why someone would attempt that on a binary file when you would end up corrupting it.

Typing:

sudo yum install which

...resolves the issue, and installs the gunzip dependency, "which".

0 votes
Yogesh Mude[Jira]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 11, 2016

Hi @Abdurahman Almatrodi

follow these docs install-bitbucket-server and how-to-install-atlassian-bitbucket-server

may be you  will get some help from this.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events