Unable to connect to Asterisk after upgrading from fpbx 10.13.66 to SNG7


(Rs264) #1

Hi,
I just upgraded my freepbx box using the instructions from a post in this forum
titled upgrading 10.13.66 to SNG7.

After the upgrade finished I could not access my GUI using a web browser I followed the instructions on the bottom of the page to troubleshoot using the wget command (site wont let me post because it has a link in the command.)
This did not help the situation and now when I login to the system and try to run ‘fwconsole start’ I get the following:


| | __ ___ | _ | __ ) / /
| |
| '
/ _ / _ \ |
) | _ \ /
| || | | __/ __/ __/| |) /
|
| |
| _|_|| |__//_\

NOTICE! You have 6 notifications! Please log into the UI to see them!

Current Network Configuration
±----------±------------------±--------------------------+
| Interface | MAC Address | IP Addresses |
±----------±------------------±--------------------------+
| eth0 | F0:92:1C:DC:7B:E4 | 192.168.0.15 |
| | | fe80::f292:1cff:fedc:7be4 |
±----------±------------------±--------------------------+

Please note most tasks should be handled through the GUI.
You can access the GUI by typing one of the above IPs in to your web browser.

±-----------------------------------------------------------+
| Your system is currently up to date! |
| Your PBX is up to date. |
| Also 57 Disabled modules and 6 Uninstalled modules. |
| Warning: There are 23 Broken modules! |
±-----------------------------------------------------------+
[root@localhost ~]# fwconsole start
Running FreePBX startup…
Taking too long? Customize the chown command, See
Setting Permissions…
Setting base permissions…Done
Setting specific permissions…
56895 [============================]
Finished setting permissions
Running Asterisk pre from Dahdiconfig module
Wanrouter: No valid Sangoma Hardware found, if you have no Sangoma cards this is OK
Starting DAHDi for Digium Cards
DAHDi Started
Running Asterisk pre from Firewall module
Running Asterisk pre from Sysadmin module
Running Sysadmin Hooks
Restarting fail2ban
fail2ban Restarted
Updating License Information for 29849611
Checking Vpn server
Starting Asterisk…
[--------------->------------] 1 min

[Exception]
Unable to connect to Asterisk. Did it start?

start [–pre] [–post] [–skipchown] [-

I’ve read different posts on this forum concerning the same issue and still haven’t found an answer.
Any help would be much appreciated!!


#2

Check the asterisk log at /var/log/asterisk

The current logfile is called full, the older logs have the date on the name after full


(Rs264) #3

I looked through the current logfile and this is error came up:
[2020-12-14 12:43:45] NOTICE[1607] manager.c: 127.0.0.1 failed to authenticate as ‘admin’

How do I fix this?


(Rs264) #4

I made a full backup before I did the upgrade. Would it just be faster to reinstall freepbx and then restore the backup?


#5

You need to enter the correct AMI password on FreePBX’s advanced settings page


(Itzik) #6

I’ve seen it a couple of times, most of the times you just need to go to the advanced settings page, click submit and then it’ll work fine.


(Rs264) #7

I can’t access the fpbx page since the upgrade. The only access I have is through ssh in to a command shell.


(Rs264) #8

I’ve tried a couple of different browsers and each time I get ‘page can’t be displayed’ http 500 error. I would then ssh in to a shell and issue a fwconsole start command and I’ve stated in the first post the console won’t open and an error states ‘unable to connect to Asterisk.’


(Lorne Gaetz) #9

https://community.freepbx.org/t/upgrading-from-freepbx-10-13-66-to-sng7-failed-down-hard/71629/2?u=lgaetz