1.3.0 RC-2 Updating Database ... failed



  • After updating to RC-2 fog is failing to update the database after deploying the image.
    Apache erro log says this:

    ...
    [Mon Jul 25 16:18:17.898030 2016] [:error] [pid 10381] [client 192.168.94.96:49980] PHP Fatal error: Call to a member function get() on boolean in /var/www/html/fog/lib/reg-task/taskqueue.class.php on line 59
    [Mon Jul 25 16:18:17.940798 2016] [:error] [pid 4731] [client 192.168.94.96:49982] PHP Fatal error: Call to a member function get() on boolean in /var/www/html/fog/lib/reg-task/taskqueue.class.php on line 59
    [Mon Jul 25 16:18:17.992086 2016] [:error] [pid 4735] [client 192.168.94.96:49984] PHP Fatal error: Call to a member function get() on boolean in /var/www/html/fog/lib/reg-task/taskqueue.class.php on line 59
    ...
     PHP Warning:  PDOStatement::execute(): MySQL server has gone away in /var/www/html/fog/lib/db/pdodb.class.php on line 169
    [Mon Jul 25 16:08:25.699657 2016] [:error] [pid 4734] [client 192.168.94.24:58220] PHP Warning:  PDOStatement::execute(): Error reading result set's header in /var/www/html/fog/lib/db/pdodb.class.php on line 169
    [Mon Jul 25 16:08:28.821533 2016] [:error] [pid 4732] [client 192.168.94.24:58222] PHP Warning:  PDO::__construct(): MySQL server has gone away in /var/www/html/fog/lib/db/pdodb.class.php on line 32
    [Mon Jul 25 16:08:31.974460 2016] [:error] [pid 4735] [client 192.168.94.24:58224] PHP Warning:  PDO::__construct(): MySQL server has gone away in /var/www/html/fog/lib/db/pdodb.class.php on line 32
    ...
    

    After reboot the server starts to deploy the image again.

    • the rights and the owner of /images seems to be ok
    • ftp://[IP] works
    • the mysql password is correct (mysql was updated to the latest via apt-get upgrade (14.04.4))

  • Moderator


  • Senior Developer

    @Wayne-Workman no because it will only occur to those who have email on complete on. This is off by default.


  • Moderator

    @Tom-Elliott Can we push rc-3 for this reason?


  • Senior Developer

    This is already known about and fixed.


Log in to reply
 

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.