Offline Upgrade Will not Download pipfiles

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
watts58
Posts: 6
Joined: Wed Jan 08, 2020 12:28 pm

Offline Upgrade Will not Download pipfiles

Post by watts58 »

I have successfully made it to the last command on the online server, and it appears to successfully complete, but there is no output nor any pipfiles in the designated location. please see below:

sudo grep '\$pipbin install' upgrade | sed 's/\$pipbin install --upgrade/pip download -d \/var\/satellite\/nagios-upgrade\/pipfiles\//' | source /dev/stdin
[tsiluser@repo nagios-upgrade]$

cd pipfiles/
[tsiluser@repo pipfiles]$ ll
total 0
[tsiluser@repo pipfiles]$
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Offline Upgrade Will not Download pipfiles

Post by cdienger »

Try breaking it down a bit:

Code: Select all

grep 'pip install' upgrade
which should show you lines with 'pip install'

and then run:

Code: Select all

grep 'grep 'pip install' upgrade | sed 's/pip install --upgrade/pip download -d \/tmp\/pipfiles\//' 
which should show you what command(s) it will attempt to run to download the file. Use this output to try and run the pip command manually. I suspect there may be an issue with the command and the installed version of pip. Check the version with:

Code: Select all

pip --version
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked