The TCA-CP services are not functional after upgrading to TCA 2.3.
2.1, 2.1.1, 2.2
After upgrading a restored TCA-CP appliance, the Postgres service can fail to start due to incorrect permissions applied to the /commn/pgsql
and /var/log/postgres
folders.
This issue can arise under the following scenario:
Note: There is no problem noticed for systems that are upgraded without undergoing the backup-restore process.
Stop the tcf-manager
and postgres
services, apply the correct permissions, and restart the TCA-CP appliance.
Workaround:
admin
to the affected TCA-CP applianceroot
and run the following commands:systemctl stop tcf-manager
systemctl stop postgres
userdel ztp
userdel postgres
groupdel postgres
groupadd -g 1012 -r postgres
usermod -aG postgres admin
useradd -g 1012 -u 1012 postgres
Note: Subsequent backup-restore / upgrade operations will work as expected.