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))
-
This is already known about and fixed.
-
@Tom-Elliott Can we push rc-3 for this reason?
-
@Wayne-Workman no because it will only occur to those who have email on complete on. This is off by default.
-
@Wayne-Workman Tom posted a hot fix (i.e. you fix-it) for RC-2 here: https://forums.fogproject.org/topic/8172/if-email-when-complete-is-enabled-the-database-is-unable-to-clear-the-task/2