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

    7703 - Groups Bugged

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    9
    34
    9.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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      @URfog,

      Thanks for posting this.

      I’ve added this as a schema update as I think you’re correct in what the issue is.

      Hopefully this will help both of the users and it’s in the base code so no more “tricks” to try to get it to work.

      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
      • M
        mclapper68
        last edited by

        Thanks to the both of you (Tom and URfog) for the help. But I am not sure what I am to do to correct the problem. Do I need to update fog again or make a change to my fog database?

        1 Reply Last reply Reply Quote 0
        • U
          URfog
          last edited by URfog

          It’s just a revision update @mclapper68

          SERVER

          OS: Debian 9.6
          Fog version: FOG 1.5.5

          1 Reply Last reply Reply Quote 1
          • M
            mclapper68
            last edited by

            I updated to the latest revision 7853 then updated the database scheme. Deleted all my groups. Created a new test group and tried to add some hosts, but now it will not add any hosts to the groups.

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

              Just tested this on 7853 with Fedora 23, all seems fine for me.

              Since that’s the same version you tried, there is probably something wrong in the DB.

              Can you describe, click-for-click, how you are adding them to 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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

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

                Yeah, I need more information if possible.

                If it’s any help, I’ve now added two bits of information to update and help maintain and keep this from happening. If you’re doing the schema updates, and these aren’t happening properly. Is there any error’s reported in the gui when you ran the schema update?

                What happens if you change the DB schema to 218?

                mysql -u root fog
                UPDATE schemaVersion SET vValue=218 where vID=1;
                exit

                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
                • M
                  mclapper68
                  last edited by

                  I click on the Host Manager in the Fog gui. Then I select List All Hosts then check the ones I want to add to a goup then I choose Create New Group then enter the name. When I go to the Group Managemnet and List All Groups my group is membership is zero. I ran the db schema update to 218 and I did not receive any errors in the gui. I believe my problem maybe related to FogProject Topic 7360.

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

                    @mclapper68 Immediately after reproducing the problem, can you check for apache errors?
                    Web interface -> FOG Configuration -> Log Viewer -> Apache error log

                    Look at the timestamps on the entries and post any relevant ones.

                    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/

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

                      @Wayne-Workman Same problem here: since I upgraded to 7853 all groups are empty and no client can be added.
                      Also existing groups with members have been emptied.
                      Apache error log doesn’t shown any errors when attempting to add clients.
                      Updating to lastest trunk didn’t solve the problem.
                      Tried to delete all groups and set DB-Schema as Tom Elliot suggested. When doing a schema update i get the error message

                      PHP Strict Standards: Only variables should be passed by reference in /var/www/fog/lib/pages/schemaupdaterpage.class.php on line 48, referer: http://172.16.0.231/fog/management/?node=schema
                      
                      M 1 Reply Last reply Reply Quote 0
                      • G
                        goempie
                        last edited by

                        Same problem here

                        1 Reply Last reply Reply Quote 0
                        • M
                          michael_f @michael_f
                          last edited by

                          @michael_f The schema update is broken,the table groupMembers is missing in my DB

                          1 Reply Last reply Reply Quote 0
                          • Q
                            Quazz Moderator
                            last edited by

                            I wanted to see this for myself and I am experiencing the same issue of not being able to add members to groups.

                            Apache error when attempting this is :

                            [Thu May 26 14:01:46.904843 2016] [:error] [pid 16610] [client 192.168.1.154:60082] client denied by server configuration: /var/www/html/fog/status/getfiles.php
                            
                            1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott
                              last edited by

                              Found and confirmed. The auto increment part broke this. I’m sorry I missed the _ in AUTO_INCREMENT so the table failed to create.

                              I’ve pushed a fix for this. If you lost db, please use one of the sql files from before this change and you should be able to recover.

                              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

                              R M 2 Replies Last reply Reply Quote 3
                              • R
                                RLane @Tom Elliott
                                last edited by

                                @Tom-Elliott Can confirm working on latest release, thank you again!

                                1 Reply Last reply Reply Quote 0
                                • M
                                  mclapper68
                                  last edited by

                                  Thanks to everybody. The groups are working as they should now with the latest revision 7881. Case closed.

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

                                    Great stuff. Thanks guys for insisting on this not working properly. Thanks Tom for fixing it!

                                    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
                                    • M
                                      michael_f @Tom Elliott
                                      last edited by

                                      @Tom-Elliott Can also confirm groups are working againg.
                                      Thank you Tom!

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

                                      281

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project