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

Snapins removed from Previously registered hosts

Scheduled Pinned Locked Moved Solved
FOG Problems
3
10
1.8k
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.
  • A
    adukes40
    last edited by Sep 20, 2016, 12:28 PM

    Since the snapin hash issue of last week. I noticed that all the hosts we have registered, have lost the assigned snapins they used to have. Is there a way to get those settings back from a backup? or do we need to reassigned snapins to 3000 hosts?

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Sep 20, 2016, 1:19 PM

      What do you mean not assigned? Snapin tasks were cleaned up, but we didn’t touch associations at all. You can recover from backup or you can reassign via groups.

      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

      A 1 Reply Last reply Sep 20, 2016, 1:23 PM Reply Quote 0
      • A
        adukes40 @Tom Elliott
        last edited by adukes40 Sep 20, 2016, 7:28 AM Sep 20, 2016, 1:23 PM

        @Tom-Elliott Correct, all the associations have been blown out. How would I restore them from the backup?

        Also I did not get around to updating the nodes until the weekend, so the nodes are on version 39, but master on 33. Would that cause it?

        T 1 Reply Last reply Sep 20, 2016, 1:37 PM Reply Quote 0
        • T
          Tom Elliott @adukes40
          last edited by Sep 20, 2016, 1:37 PM

          @adukes40 no. There is no code that removes associations unless the associations are invalid or somebody goes and removes the associations. There should be a backup db on the fog server. If you can get it on your machine you can upload it straight through the GUI.

          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

          A 1 Reply Last reply Sep 20, 2016, 1:50 PM Reply Quote 0
          • A
            adukes40 @Tom Elliott
            last edited by Sep 20, 2016, 1:50 PM

            @Tom-Elliott Which would I choose

            0_1474379400809_upload-f4623672-e5e8-4d3a-a74b-c41a44e4c548

            W 1 Reply Last reply Sep 20, 2016, 3:19 PM Reply Quote 0
            • W
              Wayne Workman @adukes40
              last edited by Sep 20, 2016, 3:19 PM

              @adukes40 Those files have date/time stamps and versions. When were things correct last?

              The nomenclature for the backups is:
              fog_sql_version_yyyymmdd_hhmmss.sql

              so year-month-day__hour-minute-second
              Don’t go further back than you need.

              You can restore the files via CLI like this:

              mysql < file

              If a user/pass is needed just include those before the < file part.

              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/

              A 1 Reply Last reply Sep 20, 2016, 3:22 PM Reply Quote 0
              • A
                adukes40 @Wayne Workman
                last edited by Sep 20, 2016, 3:22 PM

                @Wayne-Workman Tom was working on my system on the 16th, which has two entries, but I just noticed them missing, so not sure when it went missing. The one for the 13th is 0 in size, so not sure how far to go.

                W 1 Reply Last reply Sep 20, 2016, 3:26 PM Reply Quote 0
                • W
                  Wayne Workman @adukes40
                  last edited by Wayne Workman Sep 20, 2016, 9:27 AM Sep 20, 2016, 3:26 PM

                  @adukes40 Well, I’d say make a new backup first so that you can go back if needed. Like this:

                  mysqldump fog > /root/fogDB.sql

                  Or via the web interface. But CLI is more reliable.

                  Then I’d try to restore the one called fog_sql_35 first. If that isn’t good I’d go to the 33 next, which appears to have a little more data in 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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  A 1 Reply Last reply Sep 20, 2016, 3:27 PM Reply Quote 0
                  • A
                    adukes40 @Wayne Workman
                    last edited by Sep 20, 2016, 3:27 PM

                    @Wayne-Workman OK, I will give that shot.

                    A 1 Reply Last reply Sep 20, 2016, 8:05 PM Reply Quote 0
                    • A
                      adukes40 @adukes40
                      last edited by Sep 20, 2016, 8:05 PM

                      @Wayne-Workman I was able to get it rolled back. It is looking like the snapins are back now. thanks for the help

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

                      155

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.3k

                      Posts
                      Copyright © 2012-2024 FOG Project