bitbucket data center upgrade to 5.11.1

dheeraj June 13, 2018

We have upgraded Bitbucket Data Center from 5.4.1 to 5.11.1 in Dev env and while testing the upgrade we tried to push code to Repository and seeing below Perl error for all users

git push -u

Counting objects: 3, done.

Delta compression using up to 8 threads.

Compressing objects: 100% (2/2), done.

Writing objects: 100% (3/3), 288 bytes | 288.00 KiB/s, done.

Total 3 (delta 1), reused 0 (delta 0)

remote: Can't locate strict.pm in @INC (@INC contains: /usr/local/lib64/perl5 /u                        sr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /                        usr/lib64/perl5 /usr/share/perl5 .) at /usr/lib64/perl5/IO/Handle.pm line 261.

remote: BEGIN failed--compilation aborted at /usr/lib64/perl5/IO/Handle.pm line                         261.

remote: Compilation failed in require at /usr/lib64/perl5/IO/Socket.pm line 12.

remote: BEGIN failed--compilation aborted at /usr/lib64/perl5/IO/Socket.pm line                         12.

remote: Compilation failed in require at /data/bitbucket/bin/git-hooks/hook-call                        back.pl line 15.

remote: BEGIN failed--compilation aborted at /data/bitbucket/bin/git-hooks/hook-                        callback.pl line 15.

To ssh://stashdev.ba.ssa.gov/ptp/rep_1.git

! [remote rejected] mark-test -> mark-test (pre-receive hook declined)

error: failed to push some refs to 'ssh://git@stashdev.ba.ssa.gov/ptp/rep_1.git'

 

1 answer

1 accepted

0 votes
Answer accepted
Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 16, 2018

Hi @dheeraj,

 

Please make sure that a supported Perl version (see Bitbucket Server Supported platforms for details) is available.

 

I would suggest trying to re-install Perl in the attempt to resolve this.

 

Cheers,

Caterina - Atlassian

dheeraj June 16, 2018

Hi,

Yes some how when I did upgrade GIT libraries from 2.14.2 to 2.17.1 it corrupted Perl . Re-installed Perl and it resolved the issue.            

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events