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

    Cannot update location association in group

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    9
    1.1k
    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.
    • K
      kafluke
      last edited by

      FOG version 1.5.4

      I’m trying to update a group with a location association. Here’s the message I get when I hit “update” after selecting the proper location:

      {“msg”:“Group updated!”,“title”:“Group Update Success”}

      When I go back to that same screen next to “Location” it says " - Please select an option -"

      In other words, it didn’t apply.

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

        @kafluke can you look in the apache error logs for errors from the time when you tried? If you find any, please post them here in a code box.

        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
        • K
          kafluke
          last edited by

          Can you tell me where I can find that info? I looked through the logs at /var/log/httpd/access_log (CentOS) but I couldn’t identify any errors related to this.

          Sorry I’m a Windows guy so I don’t know where to look for this info.

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

            Can you verify that the hosts do or do not have the location associated in the first place?

            I have said this many times in the past. While I do try to have groups show information that applies to all hosts, this does not mean I’m very good at it. If it finds a single host in the group that doesn’t have the location applied, the whole thing will look like it’s not set. This could, potentially, include “non-real” hosts as they wouldn’t get any information associated to them.

            There’s any number of reasons why this would not display accurately, but the display on groups is just that, a display. Have you checked the hosts in the group do/do not have the location associated?

            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

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

              @tom-elliott This is my first group. I’m just getting started with groups and just barely made my first one. As of right now there aren’t even any hosts associated with this group. I was just trying to get it ready to start putting hosts in there. I was just going through the various tabs for the group setting each section up and it won’t let me assign a location to this group.

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

                @kafluke and there inlies the issue. Groups affect hosts. If you have no hosts no data is stored.

                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

                K 1 Reply Last reply Reply Quote 1
                • K
                  kafluke @Tom Elliott
                  last edited by

                  @tom-elliott Great that fixed the location issue. Not to hijack my own thread but in further experimenting with groups I noticed that every printer that I automatically gets added to the group. Also it doesn’t seem to matter what changes I make on the printer tab, nothing is sticking. When I come back to the same tab after trying to remove printers or update settings its all back to defaults again.

                  I do have one host assigned to this group so I’m not sure what could be causing this issue.

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

                    @kafluke I don’t track printers or snapins so that’s to be . Groups do not store Info to themselves. All groups do is mass update hosts. Text fields and singular set items are tracked to some extent

                    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

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

                      @tom-elliott Getting one host to work as expected in the group seems to have fixed all my issues. Now the changes I make are sticking after I leave the page. Thanks for your help.

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

                      152

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project