• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    1.3.0 RC-2 Updating Database ... failed

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    5
    2.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      Oleg
      last edited by Oleg

      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))
      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        This is already known about and fixed.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman @Tom Elliott
          last edited by

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

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @Wayne Workman
            last edited by

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

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 1
            • george1421G
              george1421 Moderator @Wayne Workman
              last edited by

              @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

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              180

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project