Looks like the freeswitch database module isn't loading correctly on a fresh Ubuntu 20.04 install:
Code:
2021-10-04 18:45:45.584687 [ERR] switch_core_db.c:241 SQL ERR [unable to open database file]
2021-10-04 18:45:45.584687 [CRIT] switch_core_sqldb.c:646 Failure to connect to CORE_DB pgsql://hostaddr=127.0.0.1 port=5432 dbname=fusionpbx user=fusionpbx password=removed options=''!
2021-10-04 18:45:45.584687 [ERR] freeswitch_lua.cpp:374 Connection failed. DBH NOT Connected.
2021-10-04 18:45:45.584687 [ERR] mod_lua.cpp:202 ...eeswitch/scripts/resources/functions/database/native.lua:27: assertion failed!
stack traceback:
[C]: in function 'assert'
...eeswitch/scripts/resources/functions/database/native.lua:27: in function 'new'
...hare/freeswitch/scripts/resources/functions/database.lua:87: in function <...hare/freeswitch/scripts/resources/functions/database.lua:86>
(...tail calls...)
...xml_handler/resources/scripts/configuration/acl.conf.lua:55: in main chunk
[C]: in function 'dofile'
/usr/share/freeswitch/scripts/app/xml_handler/index.lua:95: in main chunk
/usr/share/freeswitch/scripts/app.lua:48: in main chunk
2021-10-04 18:45:45.584687 [ERR] mod_lua.cpp:270 LUA script parse/execute error!
2021-10-04 18:45:45.584687 [INFO] mod_enum.c:884 ENUM Reloaded
2021-10-04 18:45:45.584687 [INFO] switch_time.c:1430 Timezone reloaded 530 definitions