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

    Delete Host Problem, Host deleted but left overs still in DB

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    12
    2.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.
    • x23piracyX
      x23piracy
      last edited by x23piracy

      Hi,

      i crosslink another bug report where i also see wrong credentials while they are right:
      https://forums.fogproject.org/topic/10812/cannot-add-pushbullet-account-nothing-happens-when-i-click-on-add

      i’ve also tried to remove the host by menu (after i allready half deleted it via the web gui) then i get a chainload failed (reboot).

      ║▌║█║▌│║▌║▌█

      1 Reply Last reply Reply Quote 0
      • x23piracyX
        x23piracy
        last edited by x23piracy

        Hi,

        i could help myself with:

        mysql> DELETE FROM hostMAC WHERE hmMAC LIKE '%hostmac%';
        

        But something must be broken with the host deletion?

        Maybe this is also related: https://forums.fogproject.org/topic/10696/can-t-delete-host-with-empty-host-name-1-5-0-rc-7

        EDIT:

        omg whats happening here, after manual deletion of the host i ran another quick registration via the pxe menu, after that i try to give this host his old name but:

        Bild Text

        The name was it4434 (there must be still something in the db related with this name)

        When i search for it4434 there is nothing:

        Bild Text

        I have the feeling when i now delete the host again while his name is it’s mac that i cannot add it again.
        How can i delete that hostname left overs?

        Help! please

        ║▌║█║▌│║▌║▌█

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

          @x23piracy delete from hosts where hostname=‘it4434’

          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

          x23piracyX 1 Reply Last reply Reply Quote 0
          • x23piracyX
            x23piracy @Tom Elliott
            last edited by x23piracy

            @tom-elliott ok this worked i can name a new host it4434 again but do you see the bug?
            I will now try to remove that host again (regulary)…

            Ok when i try to remove the same happens again (not wondering):

            Bild Text

            Can find the host in the host list after that even when its telling me wrong credentials, something has been deleted but only partly. When i now boot into fog menu, its not telling me that the host is still registered, crazy before it told me host is registered.

            Bug?

            ║▌║█║▌│║▌║▌█

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

              @x23piracy I don’t see the bug in working branch, but that could be I noticed something last week and corrected around it already.

              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

              x23piracyX 1 Reply Last reply Reply Quote 0
              • x23piracyX
                x23piracy @Tom Elliott
                last edited by

                @tom-elliott i am on wokring branch but not updated, around 1 week old after you released, should i update an reinstall?

                ║▌║█║▌│║▌║▌█

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

                  @x23piracy I’d say git pull update. You are on working, not dev-branch?

                  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

                  x23piracyX 1 Reply Last reply Reply Quote 0
                  • x23piracyX
                    x23piracy @Tom Elliott
                    last edited by

                    @tom-elliott sorry sure its dev

                    ║▌║█║▌│║▌║▌█

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

                      @x23piracy Then you need to change from git checkout dev-branch to git checkout working

                      git checkout working
                      git pull
                      cd bin
                      ./installfog.sh -y
                      

                      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

                        Deleting the host item was working, I suspect a trailing piece was still around causing the issue. Now it seems all is working properly. I don’t think this had anything to do with working/dev-branch though either.

                        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
                        • x23piracyX
                          x23piracy
                          last edited by

                          Solved in working branch. Thanks Tom.

                          ║▌║█║▌│║▌║▌█

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

                          153

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.4k

                          Posts
                          Copyright © 2012-2024 FOG Project