GUI fails to restart after upgrade of all other GPFS packages on SLES 15 SP3

This issue might occur as a result of version conflicts in PostgreSQL packages.

Try the following procedure to resolve version conflicts and successfully restart the GUI.
  1. Delete all PostgreSQL packages from the node.
  2. Install the PostgreSQL modules by specifying the specific version. For example,
    # zypper install postgresql-13-8.30.noarch
    # zypper install postgresql-contrib-13-8.30.noarch
  3. Issue the following command to check that the installed packages do not have any conflict in versions. For example,
    # rpm -qa | grep "postgresql
    If there is a version conflict in the installed packages, the output displays the details as shown in the following example:
    postgresql13-contrib-13.6-5.25.1.s390x
    postgresql13-server-13.6-5.25.1.s390x
    postgresql-server-14-10.6.2.noarch
    postgresql13-13.6-5.25.1.s390x
    postgresql-contrib-14-10.6.2.noarch
    postgresql-14-10.6.2.noarch
    In the following example the output indicates there is no conflict mismatch:
    postgresql13-contrib-13.6-5.25.1.s390x      
    postgresql13-server-13.6-5.25.1.s390x        
    postgresql-server-13-8.30.noarch             
    postgresql13-13.6-5.25.1.s390x               
    postgresql-contrib-13-8.30.noarch            
    postgresql-13-8.30.noarch
  4. If the GUI service failed to validate the checkpoint record then issue the following command to reset the transaction logs.
     # pg_resetwal -f /usr/local/var/postgres/
    Note: If the pg_resetwal: error: cannot be executed by "root" error occurs then issue the command in sudo mode. For example,
    su postgres
  5. Issue the following commands to clean up the data, initialize the database and start the PostgreSQL service.
     # rm -rf /var/lib/pgsql/data
     # su postgres -c 'initdb -D /var/lib/pgsql/data'
     #systemctl start postgresql
  6. Issue the following command to check if the service status is in running state.
    # systemctl status postgresql
  7. Issue the following command to restart the GUI service.
    # systemctl restart gpfsgui