Issues with FreeSwitch installation on Debian 12

Raven

New Member
Jul 9, 2019
7
1
3
41
On Debian running on PVE, I performed a fresh installation of PVE using the official Quick Install method. The installation completed successfully, and I am able to log in. However, there were some error messages during the installation process (see below). I have to restart nginx in order to login.

Created symlink /etc/systemd/system/multi-user.target.wants/email_queue.service → /etc/systemd/system/email_queue.service.
Created symlink /etc/systemd/system/multi-user.target.wants/event_guard.service → /etc/systemd/system/event_guard.service.
cp: cannot stat '/var/www/fusionpbx/core/websockets/resources/service/debian-websockets.service': No such file or directory
Failed to enable unit: Unit file websockets.service does not exist.
cp: cannot stat '/var/www/fusionpbx/app/active_calls/resources/service/debian-active_calls.service': No such file or directory
Failed to enable unit: Unit file active_calls.service does not exist.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
cron is already the newest version (3.0pl1-162).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
no crontab for root
After logging into the system, I noticed that app.lua could not be found, even though the file does exist. Similarly, FreeSWITCH is also unable to locate some files. The error messages are shown below.

opening entire file
2025-07-08 10:22:16.407776 0.00% [ERR] mod_lua.cpp:202 cannot open /usr/share/freeswitch/scripts/app.lua: No such file or directory
2025-07-08 10:22:16.407785 0.00% [ERR] mod_lua.cpp:269 LUA script parse/execute error!
2025-07-08 10:22:16.407840 0.00% [NOTICE] switch_loadable_module.c:389 Adding API Function 'console'
2025-07-08 10:22:16.408210 0.00% [ERR] mod_lua.cpp:202 cannot open /usr/share/freeswitch/scripts/app.lua: No such file or directory
2025-07-08 10:22:16.408219 0.00% [ERR] mod_lua.cpp:269 LUA script parse/execute error!
2025-07-08 10:22:16.408497 0.00% [DEBUG] switch_core_sqldb.c:1494 SQL ERR [no such table: members]
[select count(session_uuid) from members]
Auto Generating Table!
2025-07-08 10:22:16.408517 0.00% [DEBUG] switch_core_sqldb.c:1501 Ignoring SQL ERR [no such table: members]
[drop table members]
2025-07-08 10:22:16.408723 0.00% [DEBUG] switch_core_sqldb.c:1494 SQL ERR [no such table: agents]
[select count(ready_time) from agents]
Auto Generating Table!
2025-07-08 10:22:16.408741 0.00% [DEBUG] switch_core_sqldb.c:1508 SQL ERR [no such table: agents]
[alter table agents add ready_time integer not null default 0;alter table agents add reject_delay_time integer not null default 0;alter table agents add busy_delay_time integer not null default 0;]
2025-07-08 10:22:16.408759 0.00% [DEBUG] switch_core_sqldb.c:1494 SQL ERR [no such table: agents]
[select count(no_answer_delay_time) from agents]
Auto Generating Table!
2025-07-08 10:22:16.408773 0.00% [DEBUG] switch_core_sqldb.c:1508 SQL ERR [no such table: agents]
[alter table agents add no_answer_delay_time integer not null default 0;]
2025-07-08 10:22:16.408789 0.00% [DEBUG] switch_core_sqldb.c:1494 SQL ERR [no such table: agents]
[select count(ready_time) from agents]
Auto Generating Table!
2025-07-08 10:22:16.408803 0.00% [DEBUG] switch_core_sqldb.c:1501 Ignoring SQL ERR [no such table: agents]
[drop table agents]
2025-07-08 10:22:16.409001 0.00% [DEBUG] switch_core_sqldb.c:1494 SQL ERR [no such table: tiers]
[select count(queue) from tiers]
Auto Generating Table!
2025-07-08 10:22:16.409018 0.00% [DEBUG] switch_core_sqldb.c:1501 Ignoring SQL ERR [no such table: tiers]
[drop table tiers]
2025-07-08 10:22:16.409436 0.00% [NOTICE] switch_loadable_module.c:329 Adding Application 'callcenter'
2025-07-08 10:22:16.409450 0.00% [NOTICE] switch_loadable_module.c:329 Adding Application 'callcenter_track'
2025-07-08 10:22:16.409465 0.00% [NOTICE] switch_loadable_module.c:389 Adding API Function 'callcenter_config'
2025-07-08 10:22:16.409475 0.00% [NOTICE] switch_loadable_module.c:389 Adding API Function 'callcenter_break'
2025-07-08 10:22:16.409486 0.00% [NOTICE] switch_loadable_module.c:419 Adding JSON API Function 'callcenter_config'
2025-07-08 10:22:16.409934 0.00% [ERR] mod_lua.cpp:202 cannot open /usr/share/freeswitch/scripts/app.lua: No such file or directory
2025-07-08 10:22:16.409946 0.00% [ERR] mod_lua.cpp:269 LUA script parse/execute error!
2025-07-08 10:27:32.801762 0.00% [CRIT] switch_loadable_module.c:1754 Error Loading module /usr/lib/freeswitch/mod/mod_bv.so
**/usr/lib/freeswitch/mod/mod_bv.so: cannot open shared object file: No such file or directory**
2025-07-08 10:27:32.823340 0.00% [CRIT] switch_loadable_module.c:1754 Error Loading module /usr/lib/freeswitch/mod/mod_say_zh.so
**/usr/lib/freeswitch/mod/mod_say_zh.so: cannot open shared object file: No such file or directory**
2025-07-08 10:27:32.823368 0.00% [CRIT] switch_loadable_module.c:1754 Error Loading module /usr/lib/freeswitch/mod/mod_say_ru.so
**/usr/lib/freeswitch/mod/mod_say_ru.so: cannot open shared object file: No such file or directory**
2025-07-08 10:27:32.824244 0.00% [NOTICE] switch_loadable_module.c:651 Adding Say interface 'fr'
2025-07-08 10:27:32.824292 0.00% [CRIT] switch_loadable_module.c:1754 Error Loading module /usr/lib/freeswitch/mod/mod_say_th.so
**/usr/lib/freeswitch/mod/mod_say_th.so: cannot open shared object file: No such file or directory**
2025-07-08 10:27:32.824319 0.00% [CRIT] switch_loadable_module.c:1754 Error Loading module /usr/lib/freeswitch/mod/mod_say_he.so
**/usr/lib/freeswitch/mod/mod_say_he.so: cannot open shared object file: No such file or directory**
2025-07-08 10:27:32.824343 0.00% [CRIT] switch_loadable_module.c:1754 Error Loading module /usr/lib/freeswitch/mod/mod_say_pt.so
**/usr/lib/freeswitch/mod/mod_say_pt.so: cannot open shared object file: No such file or directory**
2025-07-08 10:27:32.824367 0.00% [CRIT] switch_loadable_module.c:1754 Error Loading module /usr/lib/freeswitch/mod/mod_say_de.so
**/usr/lib/freeswitch/mod/mod_say_de.so: cannot open shared object file: No such file or directory**
2025-07-08 10:27:32.824393 0.00% [CRIT] switch_loadable_module.c:1754 Error Loading module /usr/lib/freeswitch/mod/mod_say_it.so
**/usr/lib/freeswitch/mod/mod_say_it.so: cannot open shared object file: No such file or directory**
2025-07-08 10:27:32.824416 0.00% [CRIT] switch_loadable_module.c:1754 Error Loading module /usr/lib/freeswitch/mod/mod_say_nl.so
**/usr/lib/freeswitch/mod/mod_say_nl.so: cannot open shared object file: No such file or directory**
2025-07-08 10:27:32.825373 0.00% [NOTICE] switch_loadable_module.c:651 Adding Say interface 'es'
2025-07-08 10:27:32.825427 0.00% [CRIT] switch_loadable_module.c:1754 Error Loading module /usr/lib/freeswitch/mod/mod_say_hu.so
**/usr/lib/freeswitch/mod/mod_say_hu.so: cannot open shared object file: No such file or directory**
2025-07-08 10:27:32.825457 0.00% [CRIT] switch_loadable_module.c:1754 Error Loading module /usr/lib/freeswitch/mod/mod_flite.so
**/usr/lib/freeswitch/mod/mod_flite.so: cannot open shared object file: No such file or directory**
2025-07-08 10:27:32.825483 0.00% [CRIT] switch_loadable_module.c:1754 Error Loading module /usr/lib/freeswitch/mod/mod_tts_commandline.so
**/usr/lib/freeswitch/mod/mod_tts_commandline.so: cannot open shared object file: No such file or directory**
 
If this weren't a virtual machine environment, it would have worked. So it is very likely some permission or restriction that is part of PVE. Ensure you run the installation as root.
 
If this weren't a virtual machine environment, it would have worked. So it is very likely some permission or restriction that is part of PVE. Ensure you run the installation as root.
I tried installing it on a VPS (RackNerd, though I'm not sure if I can mention the provider's name), and encountered the same issue. I'll try again on a physical machine over the weekend to see if that helps.