[SOLVED] Can't locate PVE/API2Client.pm

tsumaru720

Renowned Member
May 1, 2016
66
2
73
45
Hi all

I've just updated proxmox (I don't have the old version, but it was maybe 2 months or so)

current:
Code:
pve-manager/4.4-13/7ea56165 (running kernel: 4.4.44-1-pve)

A third party script (librenms proxmox poller) is now showing error below (This was working before the update/reboot)

Code:
Can't locate PVE/API2Client.pm in @INC (you may need to install the PVE::API2Client module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .)

I did apt-get upgrade and apt-get dist-upgrade (There are no pending updates now) - Where would be a good place to start with this?
 
@elurex bit off topic for this forum as its librenms specific, but there's a pending Pull Reqest to fix it

I made the modifications in the PR manually. You can find the PR on github here with a copy of the fixed script here (I'm not the author):