09-13-2020 05:47 AM
Dear Team ;
i'm looking for any experience , upgrading PI3.4 to PI 3.7 (Physical Appliance)
what the best recommendation to do it , it's the first time that i do it
anyone here has done this upgrade , any suggestion
Thanks in advance
Solved! Go to Solution.
09-16-2020 04:02 AM
- It must be hampering the upgrade and is located somewhere ; to find out - become root on the appliance as was also shown to remove the logwatch files, then run the command, as root updatedb. Then use the locate command followed by one of the long-backup-filenames to find their 'native-linux-location' on the appliance , then you also have the option to transfer/remove them from the appliance which simpler means such as ftp and or scp. rm command can then be used to remove them from the particular directory.
M.
09-13-2020 06:04 AM
PI 3.4 to 3.7 straight upgrade. is this HA or standalone?
check the checklist :
1. take the complete back up and store out of the box.
2. Make sure read the release notes :
3.- Make sure you check the device matrix compatibility and upgrade guide.
it takes a long time and you need to have physical kit access.
09-13-2020 07:57 PM
The most "painless" method:
09-15-2020 01:51 AM
Dear Team ;
thanks for all for your help
i start the upgrade but unfortunately i get this error
Initiating Application Upgrade...
Stage 1 of 7: Transferring file ...
-- complete.
Stage 2 of 7: Unpacking file ...
-- complete.
Stage 3 of 7: Executing pre-install ...
ERROR : Please run the application upgrade from the system console to
monitor upgrade progress. Use system monitor, serial terminal or a virtual console
to initiate the upgrade.
WARNING : It is strongly recommended to copy the latest backups to an
external repository before proceeding with the upgrade.
% Pre-install step failed. Please check the logs for more details.
2020-09-15T09:21:10.583411+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[245] [admin]: Install initiated with bundle - PI-Upgrade-31x_32x_33x_34x_to_3.7.0.0.159.tar
.gz, repo - defaultRepo
2020-09-15T09:21:10.619580+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[271] [admin]: Stage area - /storeddata/Installing/.1600158070
2020-09-15T09:21:10.620199+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[275] [admin]: Getting bundle to local machine
2020-09-15T09:21:10.620217+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: locks:file: lock.c[431] [admin]: Absolute path of the SemaFile: /tmp/adeos-repos-mgr.semafile
2020-09-15T09:21:10.620223+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: locks:file: lock.c[432] [admin]: Creating a non blocking exclusive lock on /tmp/adeos-repos-mgr.semafile
2020-09-15T09:21:10.620249+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: transfer: cars_xfer.c[68] [admin]: local copy in of PI-Upgrade-31x_32x_33x_34x_to_3.7.0.0.159.tar.gz requested
2020-09-15T09:21:18.941123+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[290] [admin]: Got bundle at - /storeddata/Installing/.1600158070/PI-Upgrade-31x_32x_33x_34x
_to_3.7.0.0.159.tar.gz
2020-09-15T09:21:18.941437+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[300] [admin]: Unbundling package PI-Upgrade-31x_32x_33x_34x_to_3.7.0.0.159.tar.gz
2020-09-15T09:23:11.413783+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[336] [admin]: Unbundling done. Verifying input parameters...
2020-09-15T09:23:11.413827+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[358] [admin]: Manifest file is at - /storeddata/Installing/.1600158070/manifest.xml
2020-09-15T09:23:11.414078+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[368] [admin]: Manifest file appname - NCS
2020-09-15T09:23:11.414300+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[462] [admin]: Manifest file pkgtype - CARS
2020-09-15T09:23:11.414346+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[474] [admin]: Verify dependency list -
2020-09-15T09:23:11.414389+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[486] [admin]: Verify app license -
2020-09-15T09:23:11.414435+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[496] [admin]: Verify app RPM's
2020-09-15T09:23:11.414477+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[504] [admin]: No of RPM's - 1
2020-09-15T09:23:11.414517+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[515] [admin]: Disk - 50
2020-09-15T09:23:11.414562+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[325] [admin]: Disk requested = 51200 KB
2020-09-15T09:23:11.414697+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[345] [admin]: More disk found Free = 1302122496, req_disk = 51200
2020-09-15T09:23:11.414733+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[526] [admin]: Mem requested by app - 300
2020-09-15T09:23:11.414777+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[369] [admin]: Mem requested = 307200
2020-09-15T09:23:11.415155+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[384] [admin]: Found MemFree = MemFree: 41429924 kB
2020-09-15T09:23:11.415199+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[390] [admin]: Found MemFree value = 41429924
2020-09-15T09:23:11.415239+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[393] [admin]: Found Inactive = Inactive: 8258560 kB
2020-09-15T09:23:11.415280+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[399] [admin]: Found Inactive MemFree value = 8258560
2020-09-15T09:23:11.415349+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[409] [admin]: Sufficient mem found
2020-09-15T09:23:11.415386+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[415] [admin]: Done checking memory...
2020-09-15T09:23:11.415440+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[539] [admin]: Verifying preinstall zip...
2020-09-15T09:23:11.415489+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[548] [admin]: Verifying RPM's...
2020-09-15T09:23:11.415536+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[557] [admin]: Verifed all RPM's in bundle and manifest
2020-09-15T09:23:11.415572+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[560] [admin]: Verifying postinstall zip...
2020-09-15T09:23:11.415618+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[577] [admin]: Executing preinstall steps...
2020-09-15T09:23:11.424022+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[603] [admin]: Executing preinstall script preinstall.sh from preinstall.zip
2020-09-15T09:23:13.006838+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[611] [admin]: App (NCS) Preinstall script preinstall.sh failed; /storeddata/Installing/.160
0158070/preinstall.sh: line 57: $OUTPUTFILE: ambiguous redirect#012/storeddata/Installing/.1600158070/preinstall.sh: line 58: $OUTPUTFILE: ambiguous redirect#012
2020-09-15T09:23:14.725188+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install install_cli.c[214] [admin]: error message: Pre-install step failed. Please check the logs for more details
.
2020-09-15T09:23:14.725202+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install install_cli.c[218] [admin]: Error while Installing - Application bundle: PI-Upgrade-31x_32x_33x_34x_to_3.7
.0.0.159.tar.gz Repository: defaultRepo ErrorCode: -635
2020-09-15T09:23:49.984661+01:00 SRP-01-PRIM010 debugd[2638]: [3079]: logging: logutils_cli.c[369] [admin]: Got cfg: Server localhost location /var/log/ade/ADE.log loglevel 6 islocal 1
09-15-2020 03:41 AM
- Start by applying and or executing this advisory :
Please run the application upgrade from the system console to.....
M.
09-15-2020 06:32 AM
hi @marce1000
i get the same issue when trying to upgrade from console
09-15-2020 07:04 AM
- Exactly which issue ?
M.
09-15-2020 07:07 AM
% Pre-install step failed. Please check the logs for more details.
2020-09-15T15:01:46.521432+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[245] [admin]: Install initiated with bundle - PI-Upgrade-31x_32x_33x_34x_to_3.7.0.0.159.ta
r.gz, repo - defaultRepo
2020-09-15T15:01:46.529175+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[271] [admin]: Stage area - /storeddata/Installing/.1600178506
2020-09-15T15:01:46.529207+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[275] [admin]: Getting bundle to local machine
2020-09-15T15:01:46.529306+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: locks:file: lock.c[431] [admin]: Absolute path of the SemaFile: /tmp/adeos-repos-mgr.semafile
2020-09-15T15:01:46.529340+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: locks:file: lock.c[432] [admin]: Creating a non blocking exclusive lock on /tmp/adeos-repos-mgr.semafile
2020-09-15T15:01:46.529580+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: transfer: cars_xfer.c[68] [admin]: local copy in of PI-Upgrade-31x_32x_33x_34x_to_3.7.0.0.159.tar.gz requested
2020-09-15T15:01:52.049063+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[290] [admin]: Got bundle at - /storeddata/Installing/.1600178506/PI-Upgrade-31x_32x_33x_34
x_to_3.7.0.0.159.tar.gz
2020-09-15T15:01:52.049087+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[300] [admin]: Unbundling package PI-Upgrade-31x_32x_33x_34x_to_3.7.0.0.159.tar.gz
2020-09-15T15:03:37.274412+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[336] [admin]: Unbundling done. Verifying input parameters...
2020-09-15T15:03:37.274463+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[358] [admin]: Manifest file is at - /storeddata/Installing/.1600178506/manifest.xml
2020-09-15T15:03:37.274720+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[368] [admin]: Manifest file appname - NCS
2020-09-15T15:03:37.274943+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[462] [admin]: Manifest file pkgtype - CARS
2020-09-15T15:03:37.274991+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[474] [admin]: Verify dependency list -
2020-09-15T15:03:37.275035+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[486] [admin]: Verify app license -
2020-09-15T15:03:37.275081+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[496] [admin]: Verify app RPM's
2020-09-15T15:03:37.275124+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[504] [admin]: No of RPM's - 1
2020-09-15T15:03:37.275163+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[515] [admin]: Disk - 50
2020-09-15T15:03:37.275210+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[325] [admin]: Disk requested = 51200 KB
2020-09-15T15:03:37.275334+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[345] [admin]: More disk found Free = 1302433792, req_disk = 51200
2020-09-15T15:03:37.275372+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[526] [admin]: Mem requested by app - 300
2020-09-15T15:03:37.275416+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[369] [admin]: Mem requested = 307200
2020-09-15T15:03:37.275533+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[384] [admin]: Found MemFree = MemFree: 41709132 kB
2020-09-15T15:03:37.275578+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[390] [admin]: Found MemFree value = 41709132
2020-09-15T15:03:37.275619+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[393] [admin]: Found Inactive = Inactive: 8022264 kB
2020-09-15T15:03:37.275668+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[399] [admin]: Found Inactive MemFree value = 8022264
2020-09-15T15:03:37.275731+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[409] [admin]: Sufficient mem found
2020-09-15T15:03:37.275801+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[415] [admin]: Done checking memory...
2020-09-15T15:03:37.275839+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[539] [admin]: Verifying preinstall zip...
2020-09-15T15:03:37.275870+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[548] [admin]: Verifying RPM's...
2020-09-15T15:03:37.275900+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[557] [admin]: Verifed all RPM's in bundle and manifest
2020-09-15T15:03:37.275923+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[560] [admin]: Verifying postinstall zip...
2020-09-15T15:03:37.275952+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[577] [admin]: Executing preinstall steps...
2020-09-15T15:03:37.282882+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[603] [admin]: Executing preinstall script preinstall.sh from preinstall.zip
2020-09-15T15:03:38.724771+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[611] [admin]: App (NCS) Preinstall script preinstall.sh failed; /storeddata/Installing/.16
00178506/preinstall.sh: line 57: $OUTPUTFILE: ambiguous redirect#012/storeddata/Installing/.1600178506/preinstall.sh: line 58: $OUTPUTFILE: ambiguous redirect#012
2020-09-15T15:03:40.445150+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install install_cli.c[214] [admin]: error message: Pre-install step failed. Please check the logs for more detail
s.
2020-09-15T15:03:40.445216+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install install_cli.c[218] [admin]: Error while Installing - Application bundle: PI-Upgrade-31x_32x_33x_34x_to_3.
7.0.0.159.tar.gz Repository: defaultRepo ErrorCode: -635
2020-09-15T15:03:57.739151+01:00 SRP-01-PRIM010 debugd[2638]: [27305]: logging: logutils_cli.c[530] [admin]: ADE Got cfg: Server localhost location /var/log/ade/ADE.log loglevel 6 islocal 1
09-15-2020 07:31 AM
- As stated earlier by provided error message(s0 -> make sure the upgrade is tried from the appliance console 2) make sure to stop Prime first with ncs stop command before trying your upgrade command.
M.
09-15-2020 07:42 AM
1) i was used the keyboard and monitor to access appliance
2) i type the command ncs stop
3) i type command application upgrade PI-Upgrade-31x_32x_33x_34x_to_3.7.0.0.159.tar.gz defaultRepo
unfortunately upgrade fails
09-15-2020 07:52 AM
- Make sure that no disk partitions especially defaultRepo are nearly full , check with show disk command , if not have sanity reboot (also) and try again. But after reboot don't forget to issue ncs stop command first.
M.
11-26-2022 10:33 PM
From ssh:
run ncs stop
ncs clean
it takes a while but clears this error. You will need to upload all the .GZ and .UBFs but, it works
09-15-2020 11:25 AM
thank you for help
show disks
disk: 6% used (12942944 of 259255604)
temp. space 2% used (36372 of 2031952)
Internal filesystems:
all internal filesystems have sufficient free space
also after reboot the upgrade fails
09-16-2020 12:06 AM
- Make sure to logon as asmin (ssh) then issue the following :
shell
sudo su -
cd /var/cache/logwatch/
rm -rf logwatch.*
Afterwards, try again,
M.
09-16-2020 01:41 AM
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