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

    Can't delete Host from Group

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    6
    2.2k
    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.
    • Polii123P
      Polii123
      last edited by

      Hi

      I just noticed that i can’t delete a host from a group. If i edit the group an go to Membership and click on remove selected Hosts nothing happens.

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • W
        Wolfbane8653 Developer
        last edited by

        Need version to see if this is already fixed in newest upgrade.

        1 Reply Last reply Reply Quote 0
        • Polii123P
          Polii123
          last edited by

          Sorry tottaly forgot, 3797.

          1 Reply Last reply Reply Quote 0
          • W
            Wolfbane8653 Developer
            last edited by Wolfbane8653

            Confirmed in r3795 also…

            Thanks for reporting. Tom should get to it soon.

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

              @Polii123 If you’re desperate and can’t wait: https://forums.fogproject.org/topic/5479/invalid-host-id-0-has-name-and-imageid-no-mac-address

              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
              • cmlC
                cml Moderator
                last edited by

                This ran in mysql will remove the hosts from the group. All you have to do is swap in your host and group names (leave the quotes).

                I also advise always backing up before you make any mysql changes.

                DELETE FROM groupMembers WHERE gmHostID = (SELECT hostId FROM hosts WHERE hostName="HOSTNAME") AND gmGroupID = (SELECT groupID FROM groups WHERE groupName="GROUPNAME");
                
                1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post

                183

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project