While upgrading the existing developer portal instance from version 5.2.3 to version 5.3.1, there's a point where we want to install the patch Layer7_API_PlatformUpdate_Debian-12_2024-10-09.L7P & Layer7_API_PMS_Debian_v2.0.0-20240722103829.L7P
However, there are issues when applying these patches.
Layer7_API_PlatformUpdate_Debian-12_2024-10-09.L7P seems to have an issue with the patch. Properties not being signed.
Patch install of Layer7_API_PMS_Debian_v2.0.0-20240722103829.L7P causes a linkage error in the PMS logs.
API Portal 5.3.1
The patch can not be applied because the sudo to root is failing due to a expired root password. To resolve this, do the following:
1. login using portal or using your custom account to logon to the portal ova
2. run command: sudo -s
3. run command: chage -l root
This should show the root expiration date
Last password change : Dec 19, 2024
Password expires : JAN 10, 2025
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 60
Number of days of warning before password expires : 7
4. run the following command to make the root pw to never expire: chage -E -1 -M -1 -I -1 -m 0 root
5. run the following command again to check the account is not expired: chage -l root
6. install the patch again