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

    FOG Membership will not list

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    19
    3.3k
    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.
    • A
      ablohowiak
      last edited by

      This started with not being able to view Groups after an upgrading from 1.1.2 to trunk.

      The Group Management page would eventually time out. I decided to clear tables ‘groups’ and ‘groupMembers’. After this the Group Management page would come up and I was able to create groups and add members. Now ‘membership’ will not resolve. It doesn’t matter if it’s Group, Image, or Snapin management. The browser will just spin or timeout. The only thing I get from the apache log is an execution timeout:

      [Thu Jun 30 09:20:16.973125 2016] [:error] [pid 29294] [client ] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 55, referer: http://fog/fog/management/index.php?node=snapin&sub=edit&id=63
      [Thu Jun 30 09:20:48.414391 2016] [:error] [pid 29294] [client] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 236, referer: http://fog/fog/management/index.php?node=snapin&sub=edit&id=63

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

        What version are you running?

        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
        • A
          ablohowiak
          last edited by

          Running Version 8267

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

            Can you please update and try again?

            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

            A 1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              @ablohowiak Any news on this?

              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
              • A
                ablohowiak @Tom Elliott
                last edited by

                @Tom-Elliott

                Upgraded to 8479, but the issue continues whenever “membership” is clicked.

                PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogbase.class.php on line 215, referer: http://fog/fog/management/index.php?node=image&sub=edit&id=1901

                Is there something I can look for in the tables to check the consistency?

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

                  @ablohowiak How many hosts do you have? How many hosts are associated to that image?

                  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

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

                    @Tom-Elliott
                    It doesn’t seem to matter. The a group of 6 or 100 gives similar results.

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

                      @ablohowiak Can you try:

                      Deleteing the /var/www/fog and /var/www/html/fog directories (backing up any of your own custom additions if any.)

                      Then rerun the installer? With any luck it’s just something is impeding flow that i cannot guess on.

                      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

                      A 2 Replies Last reply Reply Quote 0
                      • A
                        ablohowiak @Tom Elliott
                        last edited by

                        @Tom-Elliott said in FOG Membership will not list:

                        Deleteing the /var/www/fog and /var/www/html/fog directories (backing up any of your own custom additions if any.)
                        Then rerun the installer? With any luck it’s just something is impeding flow that i cannot guess on

                        Will that affect the FTP password?

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

                          @ablohowiak No.

                          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
                          • Wayne WorkmanW
                            Wayne Workman @ablohowiak
                            last edited by Wayne Workman

                            @ablohowiak Groups in fog trunk version from 3 - 5 days ago had issues. Update and it should now work.

                            Also, the current installer ensures ftp credentials are correct for the machine it runs on.

                            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
                            • A
                              ablohowiak @Tom Elliott
                              last edited by

                              @Tom-Elliott
                              No luck. I removed both /var/www/fog and /var/www/html/fog. I downloaded and installed version 8533. Still when membership is clicked on in groups I eventually get a blank page. This was from a group with 6 members.

                              PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 44, referer: http://fog/fog/management/?node=group&sub=edit&id=1476

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

                                @ablohowiak We’re getting the exact same error on 8529

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

                                  @Wayne-Workman I don’t think you’re getting the “exact same message”.

                                  If I remember correctly, yours was occurring while trying to setup a tasking for all hosts in the group.

                                  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
                                  • Tom ElliottT
                                    Tom Elliott
                                    last edited by

                                    Hey all, please update and try again. I’ve not added the bits in “deploy” modes (as your issue was @Wayne-Workman ) however I did add some testing code bits for the “membership” tab. Hopefully all may work, though of course I suppose it probably won’t matter.

                                    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

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

                                      @Tom-Elliott
                                      Version 8603 did the trick!

                                      FYI, when results are first displayed on the page it looks like almost all hosts are returned. Then a second or two later just the members are displayed.

                                      A big THANK YOU to Tom and the rest of the team for the time and effort you all put into this project!

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

                                        @ablohowiak THe first list of “all hosts” you’re seeing is the “Hosts not in me.” jQuery, which hides those results, will only hide once all the data is returned and the website is loaded.

                                        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
                                        • Tom ElliottT
                                          Tom Elliott
                                          last edited by

                                          If you update again, I’ve taken (I think) a cleaner approach to showing the membership list information. It should still work, but also no longer timeout. It should even be “faster” than it was before.

                                          I’ve also heavily modified the deploy functionality from groups as well for a similar effect, but it is a little harsher on speed as it has to load the object in an iterative fashion, versus try to obtain all objects all at once.

                                          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
                                          • 1 / 1
                                          • First post
                                            Last post

                                          194

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project