FreePBX / issue-tracker

The unified FreePBX issue tracker.
https://www.freepbx.org
GNU General Public License v3.0
5 stars 1 forks source link

[bug]: Showing dialog box which says "Daemons using outdated libraries" during asterisk switch from asterisk 21 to 20 #168

Open girishmani1992 opened 1 month ago

girishmani1992 commented 1 month ago

FreePBX Version

FreePBX 17

Issue Description

Hi,

I have a cloned freepbx v17 vm with asterisk 21. I'll execute asterisk-version-switch to change asterisk to v20. In between the installation, I'm getting this dialog box which says "Daemons using outdated libraries" and shows freepbx.service to be selected for restart. When I enter Ok, installation continues on.

Attached screen-shot

daemonrestartpic

Thanks

Operating Environment

freepbx 17

Relevant log output

No response

girishmani1992 commented 1 month ago

After selecting "Ok" ,then below log is displayed

`Restarting services... systemctl restart freepbx.service Job for freepbx.service failed because the control process exited with error code. See "systemctl status freepbx.service" and "journalctl -xeu freepbx.service" for details.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host. asterisk20 installed successfully.... ` After installing new asterisk version, output of "systemctl status freepbx" is given below.

`root@debian-pbx:~# systemctl status freepbx × freepbx.service - FreePBX VoIP Server Loaded: loaded (/lib/systemd/system/freepbx.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Thu 2024-05-16 15:39:45 IST; 3min 42s ago Duration: 19min 30.406s Main PID: 12449 (code=exited, status=1/FAILURE) CPU: 11.477s

May 16 15:39:45 debian-pbx fwconsole[12449]: [---------------->-----------] 32 secs May 16 15:39:45 debian-pbx fwconsole[12449]: In Start.class.php line 194: May 16 15:39:45 debian-pbx fwconsole[12449]: May 16 15:39:45 debian-pbx fwconsole[12449]: Unable to connect to Asterisk. Did it start? May 16 15:39:45 debian-pbx fwconsole[12449]: May 16 15:39:45 debian-pbx fwconsole[12449]: start [--pre] [--post] [--skipchown] [--] [...] May 16 15:39:45 debian-pbx systemd[1]: freepbx.service: Main process exited, code=exited, status=1/FAILURE May 16 15:39:45 debian-pbx systemd[1]: freepbx.service: Failed with result 'exit-code'. May 16 15:39:45 debian-pbx systemd[1]: Failed to start freepbx.service - FreePBX VoIP Server. May 16 15:39:45 debian-pbx systemd[1]: freepbx.service: Consumed 11.477s CPU time. `

Thanks