Menu

Latest raspbx fails

Jay Mee
2016-09-03
2016-12-04
  • Jay Mee

    Jay Mee - 2016-09-03

    Latest raspbx fails, it boots then i can ssh into this and set timezone but when i access via the browser the page comes up with tonnes of errors, i can fix the 1st 1 with a chown command but then another error comes up for something else related to the database this time (first error was just a log file permission issue) so the latest upload is actually pointless and should be taken offline until it is fixed and is then ready for public use in my opinion! there is no other way to fix this, even if a fix for these errors are made available this is not good practice to put things out that require patching! please sort all these errors out relating to the web part of the raspbx (admin section).

    i have tried both not upgrading and upgrading same errors:

    1. Exception
      /­var/­www/­html/­admin/­libraries/­utility.functions.php196
    2. die_freepbx
      /­var/­www/­html/­admin/­libraries/­BMO/­Database.class.php83
    3. PDOException
      /­var/­www/­html/­admin/­libraries/­BMO/­Database.class.php80
    4. PDO __construct
      /­var/­www/­html/­admin/­libraries/­BMO/­Database.class.php80
    5. FreePBX\Database __construct
      /­var/­www/­html/­admin/­libraries/­BMO/­FreePBX.class.php69
    6. FreePBX __construct
      /­var/­www/­html/­admin/­bootstrap.php141
    7. require_once
      /­etc/­freepbx.conf9
    8. include_once
      /­var/­www/­html/­admin/­config.php103

    Exception (2002)

    SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)::SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

    UPDATE:
    The latest raspbx fails even when using ip in url instead of the hostname however the previous version
    seems to be showing error only when using the hostname in the url, but when ip is used it all seems to be fine!

    and updating the previous raspbx fails to update / upgrade correctly!

    after 5 - 10 mins it starts to work as it should...

    this bug is anoying!

     

    Last edit: Jay Mee 2016-09-03
  • Jay Mee

    Jay Mee - 2016-09-20

    And again it fails to work after a reinstall, it only seems to work for a while and then it stops after powering off and on again please fix this ?

     
  • Jon Harris

    Jon Harris - 2016-10-18

    Hi

    I have a similar issue. It seemed to get broken by updating with apt-get as well as raspbx-upgrade. I did notice the mysql.sock file is actually in /run/mysqld/mysqld.sock (not /var/run...) I got passed this, by editing the mysql.cnf but I am still seing "MySQL server has gone away", if I try and access the administration. I'd really like a fix for this too.

     
  • Sam Badihi

    Sam Badihi - 2016-12-04

    I have this problem too. I get it when I update via raspbx-update and also when I update via Admin Modules of FreePBX.

     

Log in to post a comment.