FreePBX 14 Fails with Update to Asterisk 16
-
Attempting to update FreePBX 14 to Asterisk 16. But when we do the update, we get this error and Asterisk cannot run.
Reloading FreePBX Error(s) have occured, the following is the retrieve_conf output: exit: 1
Currently running 15.7.2 since 16 did not work. FreePBX and the OS are fully up to date otherwise.
-
@scottalanmiller said in FreePBX 14 Fails with Update to Asterisk 16:
Attempting to update FreePBX 14 to Asterisk 16. But when we do the update, we get this error and Asterisk cannot run.
Reloading FreePBX Error(s) have occured, the following is the retrieve_conf output: exit: 1
Currently running 15.7.2 since 16 did not work. FreePBX and the OS are fully up to date otherwise.
How are you doing it? I've never had it fail using the built in version switch script.
asterisk-version-switch
Also, Asterisk 15.7.2 has a memory leak. I had to revert systems to 15.5.0.
-
@JaredBusch yeah, using the switch is how it failed.
-
Mine did that as well. I did this:
Try from SSH
fwconsole ma upgradeall
fwconsole reloadAnd it resolved it.
As per https://community.freepbx.org/t/rconffail-retrieve-conf-failed-config-not-applied/47699
-
@CCWTech said in FreePBX 14 Fails with Update to Asterisk 16:
Mine did that as well. I did this:
Try from SSH
fwconsole ma upgradeall
fwconsole reloadAnd it resolved it.
As per https://community.freepbx.org/t/rconffail-retrieve-conf-failed-config-not-applied/47699
That has nothing to do with switching Asterisk versions.
-
@JaredBusch said in FreePBX 14 Fails with Update to Asterisk 16:
@CCWTech said in FreePBX 14 Fails with Update to Asterisk 16:
Mine did that as well. I did this:
Try from SSH
fwconsole ma upgradeall
fwconsole reloadAnd it resolved it.
As per https://community.freepbx.org/t/rconffail-retrieve-conf-failed-config-not-applied/47699
That has nothing to do with switching Asterisk versions.
Just reporting what worked for me.
-
Customer system went to Asterisk 16 with no issues.
-
The FreePBX installer still recommends Asterisk 13, do you guys always run the current version?
-
@bnrstnr said in FreePBX 14 Fails with Update to Asterisk 16:
The FreePBX installer still recommends Asterisk 13, do you guys always run the current version?
More or less, yeah. I've found 13 to be a poor choice, 15 worked a bit better. Now that 16 is out, seems like the way to go. It's an LTS release, so while I'm not big on sticking to LTS releases, they are definitely the best option when they are both LTS and current at the same time.
-
Not to hijack this thread, but is there a specific upgrade path to get from 13 to 16? Do I need to hit all releases between?
-
@bnrstnr said in FreePBX 14 Fails with Update to Asterisk 16:
Not to hijack this thread, but is there a specific upgrade path to get from 13 to 16? Do I need to hit all releases between?
No need to go step by step. At least not normally. Just issue the switch command and pick the version that you want to go to. You can go up or down at will.
-
@CCWTech said in FreePBX 14 Fails with Update to Asterisk 16:
Mine did that as well. I did this:
Try from SSH
fwconsole ma upgradeall
fwconsole reload
And it resolved it.Did that, but no change. Same error.
-
Gives this error as well:
fclose(): 111 is not a valid stream resource
-
Okay, we got it. Doing the switch, then the fwconsole update, then rebooting, and running through it all again... eventually it fixed itself.