Cannot access GUI

Hello there,

I’m using FreePBX on a Rapberry PI as raspbx and I’m very happy with it! Thanks for your great work!

Unfortunately I cannot access anymore the webinterface. Do you have any ideas how to reset it without destroying the config because it is in an working environment?

Thanks a lot!

‘cannot access the web interface’ is a bit of a vague error.

Is Apache not running? Or, is it running and you’re getting a blank white page?

If apache is not running, then there’s not really much I can do to help you. If you’re getting a white page, then a good place to start is here:

http://wiki.freepbx.org/display/GHWF/Providing+Great+Debug

Thanks for your glue. Apache is running and I’m getting a white page.
It could be sth. with MySQL, but the PBX is working.

I hope the logs are helping:

[2015-Mar-03 02:39:14] [INFO] (bin/module_admin:481) - no repos specified, using: [standard,extended,unsupported] from last GUI settings
[2015-Mar-03 02:39:14] [INFO] (bin/module_admin:482) - 
[2015-Mar-03 02:39:49] [UPDATE] (BMO/Notifications.class.php:461) - [NOTIFICATION]-[freepbx]-[NEWUPDATES] - There are 17 modules available for online upgrades (backup 12.0.14 (current: 12.0.8)
callrecording 12.0.2.5 (current: 2.11.0.8)
cdr 12.0.16 (current: 12.0.5)
conferences 12.0.14 (current: 12.0.8)
core 12.0.24 (current: 12.0.2)
dashboard 12.0.23 (current: 12.0.20)
featurecodeadmin 12.0.1 (current: 12.0.0)
framework 12.0.40 (current: 12.0.6)
infoservices 12.0.1 (current: 2.11.0.3)
ivr 2.11.0.10 (current: 2.11.0.6)
queues 12.0.16 (current: 12.0.11)
recordings 12.0.5 (current: 12.0.3)
ringgroups 12.0.3.2 (current: 12.0.1)
sipsettings 12.0.9 (current: 12.0.4)
ucp 12.0.9 (current: 12.0.0beta34)
userman 12.0.26 (current: 12.0.11)
voicemail 12.0.32 (current: 12.0.17)
)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:609) - Module              Version           Status
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:613) - ------------------- ----------------- ------------------- 
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - accountcodepreserve                   Not Installed (Available online: 2.11.0.0)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - announcement        2.11.0.4          Enabled and up to date
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - arimanager                            Not Installed (Available online: 12.0.3)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - asterisk-cli                          Not Installed (Available online: 2.11.0.3)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - asteriskinfo        12.0.1            Enabled and up to date
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - backup              12.0.8            Online upgrade available (12.0.14)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - blacklist                             Not Installed (Available online: 12.0.1)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - builtin                               Enabled; Not available online
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - bulkdids                              Not Installed (Available online: 2.11.1.4)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - bulkextensions                        Not Installed (Available online: 2.11.0.7)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - callback                              Not Installed (Available online: 2.11.0.4)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - callforward                           Not Installed (Available online: 12.0.7)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - callrecording       2.11.0.8          Online upgrade available (12.0.2.5)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - callwaiting                           Not Installed (Available online: 12.0.3)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - campon                                Not Installed (Available online: 2.11.0.2)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - cdr                 12.0.5            Online upgrade available (12.0.16)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - certman                               Not Installed (Available online: 12.0.4)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - cidlookup           2.11.1.11         Enabled and up to date
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - conferences         12.0.8            Online upgrade available (12.0.14)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - contactmanager                        Not Installed (Available online: 12.0.2)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - core                12.0.2            Online upgrade available (12.0.24)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - customappsreg       2.11.0.2          Enabled and up to date
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - customcontexts                        Not Installed (Available online: 2.11.0.1)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - cxpanel                               Not Installed (Available online: 3.1.9)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - dahdiconfig                           Not Installed (Available online: 2.11.51)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - dashboard           12.0.20           Online upgrade available (12.0.23)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - daynight                              Not Installed (Available online: 2.11.0.4)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - dictate                               Not Installed (Available online: 2.11.0.3)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - digium_phones                         Not Installed (Available online: 2.11.2.2)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - digiumaddoninstaller                  Not Installed (Available online: 2.11.0.6)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - directory                             Not Installed (Available online: 12.0.2)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - disa                                  Not Installed (Available online: 12.0.2)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - donotdisturb                          Not Installed (Available online: 12.0.3)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - dundicheck                            Not Installed (Available online: 2.11.0.3)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - endpointman                           Not Installed (Available online: 2.11.8)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - extensionsettings                     Not Installed (Available online: 2.11.0.2)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - fax                                   Not Installed (Available online: 12.0.7)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - featurecodeadmin    12.0.0            Online upgrade available (12.0.1)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - findmefollow                          Not Installed (Available online: 12.0.11)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - framework           12.0.6            Online upgrade available (12.0.40)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - fw_ari              12.0.7            Disabled
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - fw_langpacks                          Not Installed (Available online: 2.11.2)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - hotelwakeup                           Not Installed (Available online: 2.11.3)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - iaxsettings         2.11.0.3          Enabled and up to date
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - infoservices        2.11.0.3          Online upgrade available (12.0.1)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - irc                                   Not Installed (Available online: 2.11.0.4)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - ivr                 2.11.0.6          Online upgrade available (2.11.0.10)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - javassh                               Not Installed (Available online: 2.11.2)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - languages                             Not Installed (Locally available)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - languagestatus      2.10.0.0          Enabled; Not available online
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - logfiles            12.0.6            Enabled and up to date
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - manager             12.0.2            Enabled and up to date
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - miscapps                              Not Installed (Available online: 2.11.0.2)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - miscdests                             Not Installed (Available online: 2.11.0.4)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - motif                                 Not Installed (Locally available)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - music               12.0.1            Enabled and up to date
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - outroutemsg                           Not Installed (Available online: 2.11.0.2)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - paging                                Not Installed (Available online: 12.0.12)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - parking                               Not Installed (Available online: 12.0.8)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - pbdirectory                           Not Installed (Available online: 2.11.0.2)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - phonebook                             Not Installed (Available online: 2.11.0.2)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - phpagiconf                            Not Installed (Available online: 2.11.0.0)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - phpinfo                               Not Installed (Available online: 2.11.0.1)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - pinsets                               Not Installed (Available online: 2.11.0.9)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - presencestate                         Not Installed (Available online: 12.0.16)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - printextensions                       Not Installed (Available online: 2.11.0.1)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - queuemetrics                          Not Installed (Available online: 2.11.0.1)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - queueprio                             Not Installed (Available online: 2.11.0.2)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - queues              12.0.11           Online upgrade available (12.0.16)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - recordings          12.0.3            Online upgrade available (12.0.5)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - restart                               Not Installed (Available online: 12.0.1)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - ringgroups          12.0.1            Online upgrade available (12.0.3.2)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - setcid                                Not Installed (Available online: 2.11.0.4)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - sipsettings         12.0.4            Online upgrade available (12.0.9)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - sipstation                            Not Installed (Available online: 12.0.4)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - sms                                   Not Installed (Available online: 12.0.19)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - speeddial                             Not Installed (Available online: 2.11.0.2)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - superfecta                            Not Installed (Available online: 2.11.16)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - timeconditions                        Not Installed (Available online: 12.0.6)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - tts                                   Not Installed (Available online: 2.11.0.10)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - ucp                 12.0.0beta34      Online upgrade available (12.0.9)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - userman             12.0.11           Online upgrade available (12.0.26)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - vmblast                               Not Installed (Available online: 12.0.1)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - voicemail           12.0.17           Online upgrade available (12.0.32)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - weakpasswords                         Not Installed (Available online: 12.0.2)
[2015-Mar-03 02:39:49] [INFO] (bin/module_admin:665) - webrtc                                Not Installed (Available online: 12.0.1)
[2015-Mar-03 21:16:11] [INFO] (bin/freepbx_setting:39) - trying to run as user asterisk:
[2015-Mar-03 21:16:11] [INFO] (bin/freepbx_setting:40) - 
[2015-Mar-03 21:16:12] [INFO] (bin/freepbx_setting:76) - [FPBXDBUGDISABLE] changed from previous value: [1] to new value: [0]
[2015-Mar-03 21:16:12] [INFO] (bin/freepbx_setting:77) - 
[2015-Mar-03 21:44:29] [INFO] (bin/freepbx_setting:39) - trying to run as user asterisk:
[2015-Mar-03 21:44:29] [INFO] (bin/freepbx_setting:40) - 
[2015-Mar-03 21:44:30] [INFO] (bin/freepbx_setting:61) - [FPBXDBUGDISABLE] already set to [0]
[2015-Mar-03 21:44:30] [INFO] (bin/freepbx_setting:62) - 
[2015-Mar-03 22:06:14] [INFO] (bin/freepbx_setting:39) - trying to run as user asterisk:
[2015-Mar-03 22:06:14] [INFO] (bin/freepbx_setting:40) - 
[2015-Mar-03 22:06:15] [INFO] (bin/freepbx_setting:61) - [FPBXDBUGDISABLE] already set to [0]
[2015-Mar-03 22:06:15] [INFO] (bin/freepbx_setting:62) - 

[email protected]:/var/log/asterisk# tail -n 200 freepbx_debug 
2014-Nov-17 15:07:03    /usr/share/php/DB/mysql.php:240
[WARNING]: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2014-Nov-17 15:07:04    /var/www/html/admin/libraries/utility.functions.php:200
[NOTICE]: Undefined index: DIE_FREEPBX_VERBOSE

2014-Nov-17 15:08:03    /usr/share/php/DB/mysql.php:240
[WARNING]: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2014-Nov-17 15:08:03    /var/www/html/admin/libraries/utility.functions.php:200
[NOTICE]: Undefined index: DIE_FREEPBX_VERBOSE

2014-Nov-17 15:09:03    /usr/share/php/DB/mysql.php:240
[WARNING]: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2014-Nov-17 15:09:03    /var/www/html/admin/libraries/utility.functions.php:200
[NOTICE]: Undefined index: DIE_FREEPBX_VERBOSE

2015-Mar-03 21:26:03    /usr/share/php/DB/mysql.php:240
[WARNING]: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2015-Mar-03 21:26:03    /var/www/html/admin/libraries/utility.functions.php:200
[NOTICE]: Undefined index: DIE_FREEPBX_VERBOSE

2015-Mar-03 21:27:03    /usr/share/php/DB/mysql.php:240
[WARNING]: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2015-Mar-03 21:27:03    /var/www/html/admin/libraries/utility.functions.php:200
[NOTICE]: Undefined index: DIE_FREEPBX_VERBOSE

2015-Mar-03 21:28:04    /usr/share/php/DB/mysql.php:240
[WARNING]: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2015-Mar-03 21:28:04    /var/www/html/admin/libraries/utility.functions.php:200
[NOTICE]: Undefined index: DIE_FREEPBX_VERBOSE

2015-Mar-03 21:29:03    /usr/share/php/DB/mysql.php:240
[WARNING]: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2015-Mar-03 21:29:03    /var/www/html/admin/libraries/utility.functions.php:200
[NOTICE]: Undefined index: DIE_FREEPBX_VERBOSE

2015-Mar-03 21:30:02    /usr/share/php/DB/mysql.php:240
[WARNING]: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2015-Mar-03 21:30:02    /var/www/html/admin/libraries/utility.functions.php:200
[NOTICE]: Undefined index: DIE_FREEPBX_VERBOSE

2015-Mar-03 21:31:02    /usr/share/php/DB/mysql.php:240
[WARNING]: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2015-Mar-03 21:31:02    /var/www/html/admin/libraries/utility.functions.php:200
[NOTICE]: Undefined index: DIE_FREEPBX_VERBOSE

2015-Mar-03 21:32:03    /usr/share/php/DB/mysql.php:240
[WARNING]: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2015-Mar-03 21:32:03    /var/www/html/admin/libraries/utility.functions.php:200
[NOTICE]: Undefined index: DIE_FREEPBX_VERBOSE

2015-Mar-03 21:33:03    /usr/share/php/DB/mysql.php:240
[WARNING]: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

2015-Mar-03 21:33:03    /var/www/html/admin/libraries/utility.functions.php:200
[NOTICE]: Undefined index: DIE_FREEPBX_VERBOSE

I’m assuming you’ve figured out the problem by yourself? 8)

I guess so.

I didn’t expect that because I thought asterisk also depends on MySQL but I was wrong. I’ll try to reconnect FreePBX with the MySQL server.

Thanks for your help!

1 Like