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

    How to recover deleted image

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    24
    2.4k
    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.
    • J
      JackieJack @Tom Elliott
      last edited by

      @tom-elliott Yes.

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

        @jackiejack Do you have multiple storage nodes? If so, do the other nodes have the image available as well?

        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

        J 1 Reply Last reply Reply Quote 0
        • J
          JackieJack @Tom Elliott
          last edited by

          @tom-elliott no

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

            Can you give an image of the deploy process including the error?

            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

            J 1 Reply Last reply Reply Quote 0
            • J
              JackieJack @Tom Elliott
              last edited by

              @tom-elliott standby

              J 1 Reply Last reply Reply Quote 0
              • J
                JackieJack @JackieJack
                last edited by

                0_1530907408396_WhatsApp Image 2018-07-06 at 4.01.52 PM.jpeg

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

                  @JackieJack Just before that screen there usually is a blue partclone screen. Does that show an error? We need to know the error message partclone is giving you. Take a picture of that or even try taking a steady video. Put your smartphone on a pile of books in front of the screen to get a good non-blury video.

                  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

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    JackieJack @Sebastian Roth
                    last edited by

                    @sebastian-roth Will do first thing tomorrow.
                    A tall lad myself. Was so in a rush before lab closed Friday that I didn’t even think to sit down.

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      JackieJack @JackieJack
                      last edited by JackieJack

                      @jackiejack

                      working with image no. 4

                      0_1531143619604_Screenshot from 2018-07-09 09-22-55.png

                      Q 1 Reply Last reply Reply Quote 0
                      • Q
                        Quazz Moderator @JackieJack
                        last edited by

                        @jackiejack What’s the difference with no. 4? Is that a newly created one?

                        Assuming yes: my guess is that your original image was compressed much in the way that your BasicImage is, setting the Image Manager to the right value will hopefully restore functionality for that image definition.

                        J 1 Reply Last reply Reply Quote 1
                        • J
                          JackieJack @Quazz
                          last edited by

                          @quazz Yess image number 4 is a newly created on pointing to the /images/MasterImage folder. What happened was that I thought the image FOLDER name was MasterImage1803. But when I checked I see only MasterImage.

                          HOLY CRAP I CHANGED THE COMPRESSION THING AND THE IMAGING SEEMS TO BE GOING THROUGH!

                          Will let you know once target boots up.
                          (I did deploy that image on a machine once so I know it took)

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            JackieJack @JackieJack
                            last edited by JackieJack

                            @jackiejack Imaging went through perfect. THANK YOU QUAZZ.

                            To recover deleted image:

                            1. ls /images to find image name (du -h to find size of folders). Take note of the image folder name.
                            2. Recreate image definition. Make sure it is pointing to the right folder name (must be same path as the original one)
                            3. IF DEPLOYMENT PROBLEMS: Set compression of this image def to right value. Check your previous image before the deleted one. In my case my I put my new image definition to this previous value.*
                            4. Make sense to reassign this image to the original computers associated with this image (in my case it was only the master computer I was working on).
                            5. Think twice before deleting images!

                            *(Apparently when new image definition is created FOG may assign a different compression???)

                            Thanks to FOG devs for considering idiots like me!

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

                              @jackiejack What manager and compression setting did you need to set it to?

                              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

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                JackieJack @Tom Elliott
                                last edited by

                                @tom-elliott Image Manager Partclone Gzip

                                I was confused about what to choose. Because as you can see in the screen shot that the compression for basic image is Partclone Compressed. So I just went into that image definition and saw the Gzip.

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

                                190

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project