This article the CTPView 7.3R7 ISO file is used to create a new VM it will fail to complete during the password change script.
If the CTPView 7.3R7 ISO file is used to create a new VM, it will fail to complete during the password change script, which is at the end of the VM creation process. While assigning passwords to the CTPView well known users, the following error will be seen:
You will now be asked for the password of the PostgreSQL Administrator account:
Password for user postgres:
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432”?
===== ERROR => The CTPView password for default user Juniper could not be updated. =====
This error will prevent the installation from completing. If you reboot the server, the script will run again after boot up is complete and the same issue will occur.
The problem occurs because the PostgreSQL service is not running at the time of password creation. In the case of upgrading an existing 7.3R6 CTPView to 7.3R7, the PostgreSQL service is already running and no issue is seen.
This issue will be fixed and available in 7.3R7-S1.
Meanwhile, as a workaround, if you need to create a new VM with CTPView 7.3R7, you would need to employ a two-step upgrade process. Create the CTPView VM by using the CTPView 7.3R6 ISO file, and then upgrade it to CTPView 7.3R7 by using the ctpview_complete_centos_7.3R7_201030.tgz
file. If you upgrade an existing CTPView that is running 7.3R6 to 7.3R7, it will complete as expected.
Note: If your CTPView is not on 7.3R6, you will need to upgrade it to CTPView 7.3R6 first, and then upgrade it again to 7.3R7. The issue only occurs when creating a new VM with the 7.3R7 ISO file.