Knowledge Base

Bitte , um Beiträge und Themen zu erstellen.

default PostgreSQL version is not that is required by libgvmd error

[>] Starting PostgreSQL service
[-] ERROR: The default PostgreSQL version (13) is not 14 that is required by libgvmd
[-] ERROR: Use pg_upgradecluster to update your PostgreSQL cluster

 

One of the most probable reasons what may be preventing the service start is the port configuration - the following changes have to be done:

  1. sudo nano /etc/postgresql/newversion/main/postgresql.conf - search for port and change it to 5432;
  2. sudo nano /etc/postgresql/oldversion/main/postgresql.conf - check whether the port is the same as in the config. file above - if so, change it to e.g. 5433 (this must be different!)
  3. run sudo systemctl restart postgresql
  4. (re)run sudo gvm-setup and wait for the procedure to end (updating the GVM feeds may take a while).