Weird warnings for database schema scap2

Hi everybody.

I just finished buildin the 22.4 version of the GSA from source and everything seems to run properly. I’ve already scanned a bunch of hosts.

Though I’m getting a lot of these weird messages in the /var/log/gvm/gvmd.log file regarding a scap2 schema.

md manage:WARNING:2023-02-03 19h09.25 UTC:16500: sql_exec_internal: SQL: CREATE SCHEMA scap2;
md manage:WARNING:2023-02-03 19h09.25 UTC:16500: sqlv: sql_exec_internal failed
md manage:WARNING:2023-02-03 19h09.35 UTC:17048: update_scap: No SCAP db present, rebuilding SCAP db from scratch
md manage:WARNING:2023-02-03 19h09.35 UTC:17048: sql_exec_internal: PQexec failed: ERROR:  permission denied for database gvmd

Feed status also seems SCAP entries are fine.

Any ideas?