SOLVED freeswitch 1.11 upgrade question

yaboc

Member
Nov 23, 2017
78
5
8
35
hi
im trying to upgrade to the 1.11 freeswitch on fspbx 1.9.0 (ha).

fs upgrade switch completes

Code:
Existing backup found. Removing it...
FreeSWITCH v1.11 installed successfully!
Removing existing FreeSWITCH service...
FreeSWITCH systemd package is not installed. Skipping removal.
Installing new FreeSWITCH service...
Enabling FreeSWITCH service to start at boot...

but i do not see

Code:
Rebuilt vars.xml from the FS PBX database.
Flushed the FreeSWITCH XML cache.
FreeSWITCH variables and XML cache prepared successfully.

do i need to do these steps?

Preparation warning
If the script reports that automatic restart preparation was incomplete, do not restart FreeSWITCH yet:

  1. Open Advanced > Variables and click Sync XML.
  2. Open Status > SIP Status and click Flush Cache.
After these two actions succeed, continue with the service restart below.

because on 1 i'm getting

1782633677222.png

or just go ahead and

Code:
sudo systemctl daemon-reload
sudo systemctl restart freeswitch
 
Yes, those steps are important. You might need to reboot the server. it could be due to PHP not having access to those directories. Recent php versions have stricter access limitations.
 
  • Like
Reactions: yaboc
Yes, those steps are important. You might need to reboot the server. it could be due to PHP not having access to those directories. Recent php versions have stricter access limitations.
but if i reboot the server won't it essentially load the new 1.11 version ? meaning those reload / restart commands prior to sync/flush will be executed?

also i'm getting on status -> sip status (1.9.0)

1782663202524.png

so i just ran reloadxml from fs_cli

will run update to 1.9.3 to see if sip status page comes back! (EDIT: it did on 1.9.3)

thank you @pbxgeek
 
Last edited:
Now just make sure you can hit the reload XML button on the Variables page. If you rebooted the server it should work. Php should hopefully have the right permissions after the reboot. Otherwise you may experience issues in the future.

This is a large Freeswitch upgrade. All these small things keep coming up in different environments