The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to clone git repo - remote: Can't locate IO/Socket.pm:

kanagaraj pandian p s
June 2, 2023

Currently our bitbucket server is hosted on RHEL 8.7. We started getting the issue as we upgraded from RHEL 7.9 to RHEL 8.7. When I am trying to clone git repo from our bitbucket server, I am getting the below error:

$ git clone -v https://bitbucket.com/scm/pythoncode.git
Cloning into 'pythoncode'...
POST git-upload-pack (185 bytes)
POST git-upload-pack (212 bytes)
remote: Can't locate IO/Socket.pm: /usr/local/lib64/perl5/IO/Socket.pm: Permission denied at /appbin/atlassian/application-data/bitbucket/bin/git-hooks/hook-callback.pl line 15.
remote: BEGIN failed--compilation aborted at /appbin/atlassian/application-data/bitbucket/bin/git-hooks/hook-callback.pl line 15.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

Can you please let me know how this issue can be resolved?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Aron Gombas _Midori_
Community Champion
June 2, 2023

The error suggests that the repositories on the server-side are broken. I mean the  bare repositories that are in the filesystem of the server that runs Bitbucket.

You should check if the /application-data directory in the Bitbucket home was moved correctly.

kanagaraj pandian p s
June 2, 2023

Hi @Aron Gombas _Midori_ , thanks for the reply.

Can you please elaborate on the '/application-data directory in the Bitbucket home was moved correctly.'? I am not able to understand clearly as we have done the OS update and not bitbucket update.

TAGS
AUG Leaders

Atlassian Community Events