I tried to upgrade our PI to v3.1 today, but it fails:
Pre-install step failed. Please check the logs for more details.
And the log says:
Install initiated with bundle - PI-Upgrade-3.0.X_to_22.214.171.124.132.tar.gz, repo - defaultRepo
Stage area - /storeddata/Installing/.1461331009
Getting bundle to local machinelocal copy in of PI-Upgrade-3.0.X_to_126.96.36.199.132.tar.gz requested
Got bundle at - /storeddata/Installing/.1461331009/PI-Upgrade-3.0.X_to_188.8.131.52.132.tar.gz
Unbundling package PI-Upgrade-3.0.X_to_184.108.40.206.132.tar.gz
Unbundling done. Verifying input parameters...
Manifest file is at - /storeddata/Installing/.1461331009/manifest.xml
Manifest file appname - NCS
Manifest file pkgtype - CARS
Verify dependency list -
Verify app license -
Verify app RPM's
No of RPM's - 1
Disk - 50
Disk requested = 51200 KB
More disk found Free = 462446592, req_disk = 51200
Mem requested by app - 300
Mem requested = 307200
Found MemFree = MemFree: 54764 kB
Found MemFree value = 54764
Found Inactive = Inactive: 4894892 kB
Found Inactive MemFree value = 4894892
Sufficient mem found
Done checking memory...
Verifying preinstall zip...
Verifed all RPM's in bundle and manifest
Verifying postinstall zip...
Executing preinstall steps...
Executing preinstall script preinstall.sh from preinstall.zip
App (NCS) Preinstall script preinstall.sh failed;
error message: Pre-install step failed. Please check the logs for more details.
Error while Installing - Application bundle: PI-Upgrade-3.0.X_to_220.127.116.11.132.tar.gz Repository: defaultRepo ErrorCode: -635
What does that mean?
Memory and disk space seems to be sufficient
PI v3.0 has all patches and device packs already in place.
What platform are you using?
Are you doing the installation from a VMware console session if it's a VM?
Did you clear your defaultRepo of any existing backups first?
It is a VM, so when I used the VMWare console, I saw the real error: NCS had to be stopped manually first.
After that, the upgrade worked fine.
I am late to this party. I am getting the same error message when trying to upgrade to 3.1. When you say you manually stopped NCS, do you mean "NCS stop"? I am running that and still am unable to get past this error.
I had this error too, jeffyplezia. Doing the upgrade from the VM console sorted it. When attempting it from an SSH session I got the pre-install step failed error.
A bit late to the party myself, but this is actually expected behavior.
The PI 3.1 upgrade involves upgrading the OS as well, which is why the process cannot be done from a regular SSH session.
This is briefly documented in the PI 3.1 Quick Start Guide below. Look at Step 11:
I'm on 3.0.3 trying the PI-Upgrade-3.0.X_to_18.104.22.168.0.132.tar.gz upgrade, and getting the same error ON the console.
How do I get the error logs to share with TAC?
ona prev call I remember logging into ROOT, and i did a more install.log and see:
warning: libgcc-4.1.2-54.e15: Header v3 DSA signature: NOKEY, key id xxxxxx
does that mean that the problem is with this file? Do I just need to do a backup and restore on a parallel VM?
Please, could you say to me the name of the log file in which I can find the information related to the upgrade proccess (and the path of these files)?