• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • P
    Polii123
    last edited by Jul 16, 2015, 1:49 PM

    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.

    W 1 Reply Last reply Jul 16, 2015, 4:09 PM Reply Quote 0
    • W
      Wolfbane8653 Developer
      last edited by Jul 16, 2015, 2:11 PM

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

      1 Reply Last reply Reply Quote 0
      • P
        Polii123
        last edited by Jul 16, 2015, 2:14 PM

        Sorry tottaly forgot, 3797.

        1 Reply Last reply Reply Quote 0
        • W
          Wolfbane8653 Developer
          last edited by Wolfbane8653 Jul 16, 2015, 8:41 AM Jul 16, 2015, 2:41 PM

          Confirmed in r3795 also…

          Thanks for reporting. Tom should get to it soon.

          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman @Polii123
            last edited by Jul 16, 2015, 4:09 PM

            @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
            • C
              cml Moderator
              last edited by Jul 16, 2015, 5:50 PM

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

              161

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project