FOG Project

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

    Solved Upgrade fog 1.2.0 to the svn version 3737.

    FOG Problems
    5
    9
    2808
    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.
    • F
      frenk last edited by

      Hello
      I wanted tried to upgrade my fog 1.2.0 to the svn version 3737.
      May at the time of the update of database page it blocks.
      I have this error in /var/log/apache2/error.log:

      [Fri Jul 10 11:24:07 2015] [error] [client 192.168.33.222] PHP Warning:  mysqli::poll(): No stream arrays were passed in /var/www/fog/lib/db/MySQL.class.php on line 67, referer: http://fogserver.gtr.iut-velizy.uvsq.fr/fog/management/index.php?node=schemaupdater
      [Fri Jul 10 11:24:07 2015] [error] [client 192.168.33.222] PHP Warning:  mysqli::poll(): No stream arrays were passed in /var/www/fog/lib/db/MySQL.class.php on line 67, referer: http://fogserver.gtr.iut-velizy.uvsq.fr/fog/management/index.php?node=schemaupdater
      [Fri Jul 10 11:24:07 2015] [error] [client 192.168.33.222] PHP Warning:  mysqli::poll(): No stream arrays were passed in /var/www/fog/lib/db/MySQL.class.php on line 67, referer: http://fogserver.gtr.iut-velizy.uvsq.fr/fog/management/index.php?node=schemaupdater
      ..........
      

      I tried installs since the beginning

      [Fri Jul 10 12:18:30 2015] [error] [client 192.168.33.222] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 59, referer: http://fogserver.gtr.iut-velizy.uvsq.fr/fog/management/index.php?node=schemaupdater
      [Fri Jul 10 12:18:30 2015] [error] [client 192.168.33.222] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 59, referer: http://fogserver.gtr.iut-velizy.uvsq.fr/fog/management/index.php?node=schemaupdater
      [Fri Jul 10 12:18:30 2015] [error] [client 192.168.33.222] PHP Warning:  mysqli::real_escape_string(): Couldn't fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 147, referer: http://fogserver.gtr.iut-velizy.uvsq.fr/fog/management/index.php?node=schemaupdater
      [Fri Jul 10 12:18:30 2015] [error] [client 192.168.33.222] PHP Warning:  mysqli::real_escape_string(): Couldn't fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 147, referer: http://fogserver.gtr.iut-velizy.uvsq.fr/fog/management/index.php?node=schemaupdater
      

      Thanks.

      1 Reply Last reply Reply Quote 0
      • Tom Elliott
        Tom Elliott last edited by

        I’m solving this thread. It was caused simply because I overlooked a while loop. What was a while loop should’ve simply been an if statement. Basically it was looping as long as poll was invalid, which if the connection is dropped (such as the case during an upload task to change from one checkin to another element) would cause it to loop repeatedly forever because the array no longer existed.

        This should now be solved and I’m sorry. Version 4264.

        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 0
        • S
          sebastian0000000 last edited by

          I’m having the exact same issue.

          1 Reply Last reply Reply Quote 0
          • F
            frenk last edited by

            the password must be correct because it performs well alterations on the basis.
            and if I reinstall from scratch, it happens to create me a table.

            1 Reply Last reply Reply Quote 0
            • Wayne Workman
              Wayne Workman @frenk last edited by

              @frenk Do you have the correct mysql username and password specified in the /opt/fog/.fogsettings file? If not, correct that and then reinstall FOG.

              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/

              1 Reply Last reply Reply Quote 0
              • F
                frenk last edited by

                Debian wheezy

                root@fogserver /opt # cat /etc/debian_version
                7.8
                root@fogserver /opt # php -v
                PHP 5.6.10-1~dotdeb+7.3 (cli) (built: Jun 15 2015 07:22:09)
                Copyright (c) 1997-2015 The PHP Group
                Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
                    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
                
                1 Reply Last reply Reply Quote 0
                • ch3i
                  ch3i Moderator @frenk last edited by

                  @frenk said:

                  yes for user root and fog

                  Which OS do you use and php version ?

                  1 Reply Last reply Reply Quote 0
                  • F
                    frenk last edited by

                    yes for user root and fog

                    ch3i Wayne Workman 2 Replies Last reply Reply Quote 0
                    • Wayne Workman
                      Wayne Workman last edited by

                      @frenk Do you have a MySQL password set?

                      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/

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

                      149
                      Online

                      10.2k
                      Users

                      16.3k
                      Topics

                      149.9k
                      Posts

                      Copyright © 2012-2020 FOG Project