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

    Data missing from the database after host is imaged.

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    14
    1.5k
    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.
    • Greg PlamondonG
      Greg Plamondon Testers @george1421
      last edited by Greg Plamondon

      @george1421

      It’s not removing the host. its removing data from the inventory section of the database.

      You are currently running version: 1.5.2.10
      

      did you watch the video?

      1 Reply Last reply Reply Quote 0
      • Greg PlamondonG
        Greg Plamondon Testers @george1421
        last edited by

        This post is deleted!
        Greg PlamondonG 1 Reply Last reply Reply Quote 0
        • Greg PlamondonG
          Greg Plamondon Testers @Greg Plamondon
          last edited by

          @greg-plamondon said in Data missing from the database after host is imaged.:

          @george1421

          if i comment out this section…

                 case $othertag in
                      BAY)
                          . ${postdownpath}fog.log
                          . ${postdownpath}fog.bay_replace-files
                          . ${postdownpath}fog.drivers
                          . ${postdownpath}fog.ad
                          ;;
                      MPMI)
                          . ${postdownpath}fog.log
                          . ${postdownpath}fog.canada_replace-files
                          . ${postdownpath}fog.drivers
                          . ${postdownpath}fog.ad
                          ;;
                      JET)
                          . ${postdownpath}fog.log
                          . ${postdownpath}fog.jet_replace-files
                          . ${postdownpath}fog.drivers
                          . ${postdownpath}fog.ad
                          ;;	
                      *)
                          . ${postdownpath}fog.log
                          . ${postdownpath}fog.replace-files
                          . ${postdownpath}fog.drivers
                          . ${postdownpath}fog.ad
                          ;;
                  esac
          

          the data remains after imaging.

          I take that back… The data doesn’t persist regardless if I comment it out.

          1 Reply Last reply Reply Quote 0
          • Greg PlamondonG
            Greg Plamondon Testers
            last edited by

            Ok, it doesn’t matter what I do with the scripts. the Othertag data is removed after I image the PC.

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @Greg Plamondon
              last edited by

              @greg-plamondon So just for clarity, if you disable your fog post install script from running (from the master script) the Othertag data is removed from the database?

              I could see if you might have altered Othertag data it might happen.

              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!

              Greg PlamondonG 1 Reply Last reply Reply Quote 0
              • Greg PlamondonG
                Greg Plamondon Testers @george1421
                last edited by Greg Plamondon

                @george1421 said in Data missing from the database after host is imaged.:

                @greg-plamondon So just for clarity, if you disable your fog post install script from running (from the master script) the Othertag data is removed from the database?

                I could see if you might have altered Othertag data it might happen.

                Yes, the othertag is removed. Interesting enough I am able to use the “Other Tag #2” ie “iOtherTag1” field fine.

                I also reverted back to fog 1.5.2 and I am having the same issue.

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

                  @greg-plamondon I’ve yet to hear of imaging causing a change on the other tags. Only during registration does this happen. I’ll take a look at the inventory update script, maybe I missed something?

                  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

                  Greg PlamondonG 1 Reply Last reply Reply Quote 0
                  • Greg PlamondonG
                    Greg Plamondon Testers @Tom Elliott
                    last edited by

                    @tom-elliott said in Data missing from the database after host is imaged.:

                    @greg-plamondon I’ve yet to hear of imaging causing a change on the other tags. Only during registration does this happen. I’ll take a look at the inventory update script, maybe I missed something?

                    I have found a work around using the “Other Tag #2” for now.
                    Thanks!

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

                      Found it.

                      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

                      Greg PlamondonG 1 Reply Last reply Reply Quote 0
                      • Greg PlamondonG
                        Greg Plamondon Testers @Tom Elliott
                        last edited by

                        @tom-elliott said in Data missing from the database after host is imaged.:

                        Found it.

                        WOW that was fast

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

                          Fixed in working.

                          Basically what was happening was the other1 field is used to send emails. That part still can happen (as any value that’s not an email will just not receive an email), but it was clearing the field after it sent the email out.

                          I just commented out the line as I cannot remember exactly why I was clearing it to begin with.

                          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

                          Greg PlamondonG 1 Reply Last reply Reply Quote 2
                          • Greg PlamondonG
                            Greg Plamondon Testers @Tom Elliott
                            last edited by

                            @tom-elliott said in Data missing from the database after host is imaged.:

                            Fixed in working.

                            Basically what was happening was the other1 field is used to send emails. That part still can happen (as any value that’s not an email will just not receive an email), but it was clearing the field after it sent the email out.

                            I just commented out the line as I cannot remember exactly why I was clearing it to begin with.

                            Thanks Tom!

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

                            164

                            Online

                            12.2k

                            Users

                            17.3k

                            Topics

                            155.5k

                            Posts
                            Copyright © 2012-2024 FOG Project