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

    Bug with SNAPIN

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    8
    2.0k
    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.
    • D
      danilopinotti
      last edited by

      Well, going directly to the point, when I create a snapin, I associate it to a computer and then delete it, he continues, like a ghost, linked to the computer.
      0_1456180596814_Captura de tela de 2016-02-22 19-36-06.png

      I use FOG 6323
      Ubuntu Server 14.04

      Att, Danilo Pinotti

      Fog 1.3.0-RC-7
      Ubuntu Server 14.04 LTS

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

        What do you mean by “he continues, like a ghost, linked to the computer”?

        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
        • D
          danilopinotti
          last edited by

          If I click to run all snap-ins from the computer where it was linked, it loads that, but with all the attributes blank, as if erase all information of this snapin but not the registration line.

          Att, Danilo Pinotti

          Fog 1.3.0-RC-7
          Ubuntu Server 14.04 LTS

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

            @danilopinotti I’m confused, what’s the actual Snapin general information look like?

            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

            D 1 Reply Last reply Reply Quote 0
            • D
              danilopinotti @Tom Elliott
              last edited by

              @Tom-Elliott said:

              I’m confused, what’s the actual Snapin general information look like?

              I tried to give an example in the database. Is like the snapin was deleted but the row in database remains.
              In general, I delete a snapin from the system and it continues. Look the print. “- (3)” and “- (4)” is deleted snapins

              Att, Danilo Pinotti

              Fog 1.3.0-RC-7
              Ubuntu Server 14.04 LTS

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

                @danilopinotti how are you deleting the snapin? Are you completely removing through snapin page?

                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

                M 1 Reply Last reply Reply Quote 0
                • M
                  mp12 @Tom Elliott
                  last edited by

                  @Tom-Elliott also having some “Ghostsnapins”.

                  I could replicate the error by creating a snapin, add the snapin to a host and then delete the snapin by marking the checkbox and push “delete all selected snapins?”
                  It seems that the snapin is deleted but still associated to the host (mysql table snapinAssoc). I removed the row in the table snapinAssoc and it’s done.

                  By the way. The delete button next to the edit button seems to work fine.

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

                    Found, confirmed, and fixed plus a little.

                    Snapin associations weren’t being deleted for whatever reason, so I’ve added code to ensure it will do so now.

                    To fix the systems that currently believe it’s already broken, we do the same thing.

                    I check the associations, check the valid ID’s, and delete associations that are no longer valid when compared to the two primary tables.

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

                    165

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project