/usr/local/freeswitch/bin/freeswitch -u freeswitch -g freeswitch
<param name="core-db-dsn" value="pgsql://host=localhost dbname=freeswitch user=freeswitch password='freeswitch' options='-c client_min_messages=NOTICE' application_name='freeswitch' sslmode=disable" />
2020-06-01 11:58:16.760201 [ERR] switch_pgsql.c:680 Error executing query:ERROR: relation "detailed_calls" does not existLINE 1: select * from detailed_calls where sent_callee_name=''^2020-06-01 11:58:16.760258 [DEBUG] switch_pgsql.c:439 Query (DROP VIEW detailed_calls) returned PGRES_FATAL_ERROR2020-06-01 11:58:16.760285 [ERR] switch_pgsql.c:680 Error executing query:ERROR: view "detailed_calls" does not exist2020-06-01 11:58:16.764675 [DEBUG] switch_pgsql.c:439 Query (select ikey from interfaces) returned PGRES_FATAL_ERROR2020-06-01 11:58:16.764688 [ERR] switch_pgsql.c:680 Error executing query:ERROR: relation "interfaces" does not existLINE 1: select ikey from interfaces^2020-06-01 11:58:16.764801 [DEBUG] switch_pgsql.c:439 Query (DROP TABLE interfaces) returned PGRES_FATAL_ERROR2020-06-01 11:58:16.764814 [ERR] switch_pgsql.c:680 Error executing query:ERROR: table "interfaces" does not exist2020-06-01 11:58:16.770480 [DEBUG] switch_pgsql.c:439 Query (select task_id, task_desc, task_group, task_runtime, task_sql_manager, hostname from tasks) returned PGRES_FATAL_ERROR2020-06-01 11:58:16.770512 [ERR] switch_pgsql.c:680 Error executing query:ERROR: relation "tasks" does not existLINE 1: ...k_group, task_runtime, task_sql_manager, hostname from tasks^2020-06-01 11:58:16.770567 [DEBUG] switch_pgsql.c:439 Query (DROP TABLE tasks) returned PGRES_FATAL_ERROR2020-06-01 11:58:16.770595 [ERR] switch_pgsql.c:680 Error executing query:ERROR: table "tasks" does not exist...
It seems that freeswitch is trying to create same index again in postgresql.2020-06-01 12:03:47.362395 [DEBUG] switch_pgsql.c:439 Query (create index uuindex on channels (uuid, hostname)) returned PGRES_FATAL_ERROR2020-06-01 12:03:47.362434 [ERR] switch_pgsql.c:680 Error executing query:ERROR: relation "uuindex" already exists2020-06-01 12:03:47.362681 [DEBUG] switch_pgsql.c:439 Query (create index uuindex2 on channels (call_uuid)) returned PGRES_FATAL_ERROR2020-06-01 12:03:47.362744 [ERR] switch_pgsql.c:680 Error executing query:ERROR: relation "uuindex2" already exists2020-06-01 12:03:47.363019 [DEBUG] switch_pgsql.c:439 Query (create index callsidx1 on calls (hostname)) returned PGRES_FATAL_ERROR2020-06-01 12:03:47.363058 [ERR] switch_pgsql.c:680 Error executing query:ERROR: relation "callsidx1" already exists2020-06-01 12:03:47.363303 [DEBUG] switch_pgsql.c:439 Query (create index eruuindex on calls (caller_uuid, hostname)) returned PGRES_FATAL_ERROR2020-06-01 12:03:47.363348 [ERR] switch_pgsql.c:680 Error executing query:ERROR: relation "eruuindex" already exists2020-06-01 12:03:47.363649 [DEBUG] switch_pgsql.c:439 Query (create index eeuuindex on calls (callee_uuid)) returned PGRES_FATAL_ERROR2020-06-01 12:03:47.363690 [ERR] switch_pgsql.c:680 Error executing query:ERROR: relation "eeuuindex" already exists2020-06-01 12:03:47.363949 [DEBUG] switch_pgsql.c:439 Query (create index eeuuindex2 on calls (call_uuid)) returned PGRES_FATAL_ERROR2020-06-01 12:03:47.363987 [ERR] switch_pgsql.c:680 Error executing query:ERROR: relation "eeuuindex2" already exists