Upgrade 15>16

Everything went well but Asterisk would not connect.

If I did service asterisk start it would say that it started but would disconnect a second later.

I tried downloading using the asterisk-version-switch but the same thing happened on Asterisk 16.

I took a snapshot first so it was simple to go back to 15 but I would really like to upgrade.

Any ideas?

Don’t ever use ‘service asterisk start’ on a FreePBX system. Use fwconsole start|stop|restart

Is asterisk starting and then crashing or failing to start at all? If it’s crashing do you see any errors in the asterisk full log as to cause? I assume you’re not using the Digium Phones module since it’s not supported on 16, but asking to be sure.

That you for you response.

It was starting and then crashing. I don’t use the Digium Phone module.

I will try to upgrade again and see if I see anything in the full log.

I’ve already reverted because it’s a PBX that is in use.

I’ll also remember to use fwconsole in future

==> /var/log/asterisk/full <==
[2021-11-21 12:29:02] ERROR[25034] loader.c: *** Failed to load module extconfig
[2021-11-21 12:29:02] ERROR[25034] loader.c: Failed to load extconfig.
[2021-11-21 12:29:02] ERROR[25034] asterisk.c: Module initialization failed. ASTERISK EXITING!

[2021-11-21 12:29:02] VERBOSE[25034] manager.c: Manager unregistered action DBGet
[2021-11-21 12:29:02] VERBOSE[25034] manager.c: Manager unregistered action DBPut
[2021-11-21 12:29:02] VERBOSE[25034] manager.c: Manager unregistered action DBDel
[2021-11-21 12:29:02] VERBOSE[25034] manager.c: Manager unregistered action DBDelTree
[2021-11-21 12:29:03] VERBOSE[25043] asterisk.c: Remote UNIX connection
[2021-11-21 12:29:03] VERBOSE[25064] asterisk.c: Remote UNIX connection disconnected

Does the file extconfig_custom.conf exist? If not you can create it with:

touch /etc/asterisk/extconfig_custom.conf
fwconsole chown