05-29-2020 04:37 AM - edited 05-29-2020 04:40 AM
I have a working on-prem smart software manager, version 7-201907. I'm trying to upgrage to 7-202001. I downloaded the files and then uploaded to them to the server (directory: /var/files/patches).
Files:
SM_On-Prem_7-202001.sh
SSM_On-Prem_7-202001.sh.sha256
The error I get when I try to run the upgrade is below. Any idea why this is happening?
Invalid patch file given!ssm, on-prem, upgrade
[admin@172 ~]$ onprem-console
SSM On-Prem Console
>>
>> upgrade SSM_On-Prem_upgrade-7-202001.sh
Invalid patch file given!
>>
EDIT: I just noticed there's a version 8 available now so I might try that today. Still curious why the upgrade to the later version 7 fails. Maybe the upgrade to 8 will fail as well, but we'll see.
Solved! Go to Solution.
05-29-2020 05:01 AM
UPDATE:
Cisco's document for doing the upgrade is wrong. I found the correct command in the version 8 upgrade documents. You need to add the word patches with : after it and then the file name and that works. For example: upgrade patches:SSM_On-Prem_8-202004_Upgrade.sh
Bad:
[admin@172 ~]$ onprem-console
SSM On-Prem Console
>>
>>
>> upgrade SSM_On-Prem_8-202004_Upgrade.sh
Invalid patch file given!
Good:
>> upgrade patches:SSM_On-Prem_8-202004_Upgrade.sh
Upgrading system from patch file ... /var/files/patches/SSM_On-Prem_8-202004_Upgrade.sh
[sudo] password for admin:
Verified OK
Creating directory /var/tmp/ssms_patch-8-202004
Verifying archive integrity... 100% All good.
Uncompressing SSM On-Prem 6.X.X to 8-202004 Upgrade Patch
05-29-2020 05:01 AM
UPDATE:
Cisco's document for doing the upgrade is wrong. I found the correct command in the version 8 upgrade documents. You need to add the word patches with : after it and then the file name and that works. For example: upgrade patches:SSM_On-Prem_8-202004_Upgrade.sh
Bad:
[admin@172 ~]$ onprem-console
SSM On-Prem Console
>>
>>
>> upgrade SSM_On-Prem_8-202004_Upgrade.sh
Invalid patch file given!
Good:
>> upgrade patches:SSM_On-Prem_8-202004_Upgrade.sh
Upgrading system from patch file ... /var/files/patches/SSM_On-Prem_8-202004_Upgrade.sh
[sudo] password for admin:
Verified OK
Creating directory /var/tmp/ssms_patch-8-202004
Verifying archive integrity... 100% All good.
Uncompressing SSM On-Prem 6.X.X to 8-202004 Upgrade Patch
11-01-2020 04:31 AM
i used win scp to copy tthe files to SSMS /var/files/patches/
then used below commend to give the upgrade files the rights
admin@SSMS ~]$ cd /var/files/patches/
[admin@SSMS patches]$ chmod +x SSM_On-Prem_upgrade-8-202008.sh
[admin@SSMS patches]$ chmod +x SSM_On-Prem_upgrade-8-202008.sh.sha256
onprem-console
upgrade patches:SSM_On-Prem_upgrade-8-202008.sh
And then put password
Ahmed Fathi CCIE#50164
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide