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

tsumaru720

Well-Known Member
May 1, 2016
66
2
48
44
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):
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!