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?
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.