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

    image failed to restore and exited with exit code 0

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    19
    4.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.
    • Wayne WorkmanW
      Wayne Workman @afaure
      last edited by

      @afaure From your last post, your permissions are messed up on your images now. I assume that’s from manually copying over your backups. You can fix it with these commands:

      chown -R fog:root /images
      chmod -R 777 /images
      

      Then they might work.
      What could be happening here is your FOG server’s HDD is failing - just a possibility.

      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 Reply Quote 0
      • A
        afaure @Wayne Workman
        last edited by

        @Wayne-Workman,

        It doesn’t work 😞

        The format is PartClone for all working images.
        On the other hand, the format of images is Partimage and doesn’t work.

        How i can change this format to test ?
        The new version of FOG is compatible with Partimage ?

        Thank you again !

        Tom ElliottT Wayne WorkmanW 2 Replies Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @afaure
          last edited by

          @afaure What isn’t working?

          Permissions are not the casue of the exit code 0. This still feels/seems like a problem with the actual image, not a problem with permissions.

          You could, possibly, try ensuring it’s got root permissions too:

          sudo chown -R root:root /images && sudo chmod -R 777 /images

          However, it isn’t going to fix the exit code 0 problem.

          There are, however, cases where I’ve heard of this and it’s specific to the hard drive.

          maybe try a debug deploy and manually wipe the disk? (Just a thought).

          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
          • Wayne WorkmanW
            Wayne Workman @afaure
            last edited by

            @afaure said in image failed to restore and exited with exit code 0:

            The format is PartClone for all working images.
            On the other hand, the format of images is Partimage and doesn’t work.
            How i can change this format to test ?

            @Tom-Elliott please correct me on this, I’ve not had to use it but,

            @afaure there is an option somewhere inside of Web Interface -> FOG Configuration probably in General Settings but I could be wrong (no access to fog server right now). The option is to turn on image management something or another, it’s an option that enables choosing the image management (partclone or partimage) for each image you have. Look around in there and you will find the option, enable it, and then you will be able to switch images to partclone or partimage as you please.

            Keep in mind, if an image was captured with partclone, it must be deployed with partclone, and vice versa with partimage.

            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/

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

              @Wayne-Workman and @afaure :

              FOG Configuration Page->FOG Settings->General Settings->FOG_FORMAT_FLAG_IN_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 Reply Quote 1
              • A
                afaure @Tom Elliott
                last edited by

                Hi,

                Thank you for your reply.

                I have changed this settings.
                I have the same thing…

                My image is corrupt, i guess.
                I think do a new image of this computer.

                Thanks for your help.

                Best regards.

                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @afaure
                  last edited by

                  @afaure You realize the change is 2-phase right? You enable the format flag, then you change the particular image’s format.

                  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 Reply Quote 0
                  • A
                    afaure @Wayne Workman
                    last edited by

                    Hi @Wayne-Workman,

                    Yes, i have enabled the flag in the settings.
                    FOG Configuration Page->FOG Settings->General Settings->FOG_FORMAT_FLAG_IN_GUI

                    In the second time i have changed the format of my image.
                    I have changed my image format of PartImage for PartClone.

                    The result is the same.

                    Do you want a screenshot of my image settings ?

                    Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman @afaure
                      last edited by

                      @afaure The image must be corrupt then, as you guessed.

                      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 Reply Quote 0
                      • A
                        afaure @Wayne Workman
                        last edited by

                        Thank you for your help.

                        Best regards.

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

                        156

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project