The TCA-CP services are not functional after upgrading to TCA 2.3.
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.
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.