switch_core_sqldb.c:646 Failure to connect to CORE_DB pgsql:

Status
Not open for further replies.

czbg

Member
Sep 27, 2018
33
1
8
Hi,

problem after upgrading to FS 1.10. Alredy solved in this thread, which is closed:
https://www.pbxforums.com/threads/cant-connect-to-db.3434/

I will just leave here instructions for CentOS 7 + FS from Okay repo:
Code:
cat << 'EOF' > /etc/freeswitch/autoload_configs/pre_load_modules.conf.xml
<configuration name="pre_load_modules.conf" description="Modules">
  <modules>
    <!-- Databases -->
    <!-- <load module="mod_mariadb"/> -->
    <load module="mod_pgsql"/>
  </modules>
</configuration>
EOF
yum install freeswitch freeswitch-database-pgsql
systemctl restart freeswitch.service
 

czbg

Member
Sep 27, 2018
33
1
8
just another important thing regarding upgrades on CentOS. Default FPBX install script for centos installs freeswitch-config-vanilla, whoes content gets deleted in the next steps.

When upgrading, this package is installed again, which breaks everything.

On new installs, /usr/src/fusionpbx-install.sh/centos/resources/switch/package-release.sh must be changed, so that freeswitch-config-vanilla is deleted from yum install line.

On existing installs, backup /etc/freeswitch, delete freeswitch-config-vanilla package and restore /etc/freeswitch
 
Status
Not open for further replies.