More cluster#### with V17

Takes 2 mins to shutdown, WTAF? This is a real machine not a VPS, and removing quiet, and going over this again clearly points to fwconsole sticking in doing its thing.

Logfile grows huge by constant spewing of deprecated way to add console commands, blah blah, please use module.xml

unable to connect to AMI, unable to connect to asterisk - both of these eventually shut up 5 mins later (yes asterisk is running)

and dint get me started on the firewall logs filling with rhetoric as well.

backup and restore 14->17 doesnt save the backups that are clearly all in backup* database tables in the backup file, in fact on v17 the backup* tables dont even exist.

clearly v14 backups are not compatible with v17

Looking for debian experts who can tell us how to remove this abomination v17 and asterisk and all of its files, modules, everything, off the OS returning to vanilla debian 12 where I might consider a fresh install of it and manually start from scratch, its either that or I trash it entirely and consider 3cx again moving forward, I’ve already delayed this client a few days, whilst their v14 happily just chugs along without all this BS and drama 17 has introduced.

1 Like

You haven’t provided any real details, logs or any data of these issues so we could tell you what is happening. Perhaps even the machines specs being used.

Where are things hanging? What errors are happening with a backup restore?

systemd is issuing fwconsole stop on shutdown so you should see the same results by manually stopping FreePBX yourself with this command. When I run it, it takes about 15 seconds, and the place where it might stick a while is in shutting down asterisk, if asterisk has some active channels.

one can stop at any time :wink:

@BlazeStudios There are no details in stopping. fwconsole stop hangs for 2m35s every time on v17, and nothing is displayed even disabling quiet option which otherwise shows lot as expected, no logs show any reason either, on v14 as Bill says, 15s. I see this in several places on google but each instance seems related to VPS, not bare metal. I dont have access to firewall log at present its the weekend, but I guess thats a problem with restore, I’ve been too busy to do a fresh install of everything again to see if it occurs when not restoring, thats on my todo for next week time permitting.

@billsimon no channels are in use they were both restores of v14 to v17 in new hardware with no trunks enabled, and no extensions in use sitting on my bench not at the clients place. For the hell of it I rebuilt a v14 and restored the backup, as you say 15s tops to exit, but not on v17, so its not a hardware issue, even added one of my trunks to make absolute sure it works, and it did.

ok, waiting for movie to start I fired up wireguard, found this in journal

Nov 23 19:38:02 sip fwconsole[16193]: Stopped UCP Node Server
Nov 23 19:38:02 sip fwconsole[16193]: Shutting down Asterisk Gracefully. Will forcefully kill after 30 seconds.
Nov 23 19:38:02 sip fwconsole[16193]: Press C to Cancel
Nov 23 19:38:02 sip fwconsole[16193]: Press N to shut down NOW
Nov 23 19:38:02 sip fwconsole[16547]: stty: ‘standard input’: Inappropriate ioctl for device
Nov 23 19:38:02 sip fwconsole[16549]: stty: ‘standard input’: Inappropriate ioctl for device
Nov 23 19:39:02 sip fwconsole[16193]: [>---------------------------] < 1 sec
Nov 23 19:39:02 sip fwconsole[19408]: stty: ‘standard input’: Inappropriate ioctl for device
Nov 23 19:39:02 sip fwconsole[16193]: Killing asterisk forcefully.
Nov 23 19:39:03 sip fwconsole[16193]: Asterisk is still running and we can’t stop it!
Nov 23 19:39:03 sip systemd[1]: freepbx.service: Control process exited, code=exited, status=1/FAILURE
Nov 23 19:40:33 sip systemd[1]: freepbx.service: State ‘stop-sigterm’ timed out. Killing.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1830 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1837 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1840 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1843 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1847 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1848 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1849 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1851 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1852 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1853 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1854 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1855 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1880 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1881 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1882 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1883 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1884 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1886 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1887 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1888 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1889 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1893 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1894 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1895 (SIP) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1902 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1903 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1904 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1905 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1906 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1907 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1908 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1911 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1913 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1914 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1929 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1931 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1932 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1934 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 1935 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 2040 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 2076 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 2628 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 15420 (asterisk) with signal SIGKILL.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Killing process 16553 (n/a) with signal SIGKILL.
Nov 23 19:40:33 sip mariadbd[713]: 2024-11-23 19:40:33 820 [Warning] Aborted connection 820 to db:
‘asteriskcdrdb’ us>
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Failed with result ‘exit-code’.
Nov 23 19:40:33 sip systemd[1]: Stopped freepbx.service - FreePBX VoIP Server.
Nov 23 19:40:33 sip systemd[1]: freepbx.service: Consumed 2min 52.744s CPU time.
Nov 23 19:40:33 sip systemd[1]: Stopped target network-online.target - Network is Online.
Nov 23 19:40:33 sip systemd[1]: Stopping mariadb.service - MariaDB 10.11.6 database server…
Nov 23 19:40:34 sip systemd[1]: mariadb.service: Deactivated successfully.
Nov 23 19:40:34 sip systemd[1]: Stopped mariadb.service - MariaDB 10.11.6 database server.
Nov 23 19:40:34 sip systemd[1]: mariadb.service: Consumed 16.619s CPU time.