• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • A
    afaure @Wayne Workman
    last edited by afaure Dec 8, 2016, 3:42 AM Dec 8, 2016, 8:08 AM

    Hi @Wayne-Workman,

    I tried with other image.
    It’s works !!

    But, I do not understand … I used this image several times this year…

    I have a copy in my external hard drive… But, i tried and it doesn’t works…
    Do you have a solution to fix this image ?

    Thank you

    Edit:

    I don’t understand…

    The image ThinkPadEdgeWin7 work and the image Optiplex380 doesn’t work…

    root@DeploiementFOG:/images# ls -la
    total 124
    drwxrwxrwx 28 fog         root         4096 déc.   8 10:07 .
    drwxr-xr-x 26 root        root         4096 déc.   7 09:52 ..
    drwx------  2 utilisateur utilisateur  4096 août  11  2015 DellLatitudeE6400
    drwx------  2 utilisateur utilisateur  4096 févr.  6  2015 DellLatitudeE7240RDC
    drwx------  2 utilisateur utilisateur  4096 janv. 18  2016 DellOptiplex7010
    drwx------  2 utilisateur utilisateur  4096 févr.  6  2015 DELLPRECISIONM2800
    drwx------  2 utilisateur utilisateur  4096 févr. 12  2016 DELLPRECISIONM28002016
    drwx------  2 utilisateur utilisateur  4096 févr.  4  2015 DELLPRECISIONM4800
    drwx------  2 utilisateur utilisateur  4096 août  11  2015 DellVostro430
    drwxrwxrwx  2 fog         root         4096 sept. 29 14:43 dev
    drwx------  2 utilisateur utilisateur  4096 févr.  2  2015 LatitudeE5250
    drwx------  2 utilisateur utilisateur  4096 janv. 21  2015 LatitudeE5440
    drwx------  2 utilisateur utilisateur  4096 août  11  2015 LatitudeE5500SEVEN
    drwx------  2 utilisateur utilisateur  4096 août  11  2015 LatitudeE5500XP
    drwx------  2 utilisateur utilisateur  4096 août  11  2015 LatitudeE5510SEVEN
    drwx------  2 utilisateur utilisateur  4096 août  11  2015 LenovoB560SEVEN
    drwx------  2 utilisateur utilisateur  4096 déc.  24  2014 LenovoE530
    drwx------  2 utilisateur utilisateur  4096 févr. 12  2015 LenovoL520
    drwxrwxrwx  2 fog         root        16384 déc.   2 10:51 lost+found
    -rwxrwxrwx  1 fog         root            0 déc.   2 17:10 .mntcheck
    drwx------  2 utilisateur utilisateur  4096 sept. 29 14:43 Optiplex3020_2014
    drwx------  2 utilisateur utilisateur  4096 août  11  2015 Optiplex3020MT
    drwx------  2 utilisateur utilisateur  4096 août  11  2015 Optiplex380
    drwx------  2 utilisateur utilisateur  4096 août  11  2015 optiplex755
    drwxrwxr-x  7 utilisateur utilisateur  4096 déc.   7 18:00 PI
    drwxrwxrwx  2 fog         root         4096 janv. 21  2015 postdownloadscripts
    drwx------  2 utilisateur utilisateur  4096 janv. 14  2016 PrecisionT3500
    drwx------  2 utilisateur utilisateur  4096 mai   19  2015 ThinkpadEdgeWin7
    drwxrwxrwx  5 fog         utilisateur  4096 déc.   2 15:55 .Trash-1000
    
    root@DeploiementFOG:/images# cd Optiplex380/
    root@DeploiementFOG:/images/Optiplex380# ls -la
    total 8679772
    drwx------  2 utilisateur utilisateur       4096 août  11  2015 .
    drwxrwxrwx 28 fog         root              4096 déc.   8 10:07 ..
    -rw-------  1 utilisateur utilisateur        512 déc.   2  2014 d1.mbr
    -rw-------  1 utilisateur utilisateur    8729067 déc.   2  2014 d1p1.img
    -rw-------  1 utilisateur utilisateur 8870642916 déc.   2  2014 d1p2.img
    
    root@DeploiementFOG:/images/Optiplex380# cd ../ThinkpadEdgeWin7/
    root@DeploiementFOG:/images/ThinkpadEdgeWin7# ls -la
    total 11318296
    drwx------  2 utilisateur utilisateur        4096 mai   19  2015 .
    drwxrwxrwx 28 fog         root               4096 déc.   8 10:07 ..
    -rw-------  1 utilisateur utilisateur         512 mai   19  2015 d1.mbr
    -rw-------  1 utilisateur utilisateur     8797910 mai   19  2015 d1p1.img
    -rw-------  1 utilisateur utilisateur 11569786942 mai   19  2015 d1p2.img
    root@DeploiementFOG:/images/ThinkpadEdgeWin7# 
    

    0_1481188236889_list_image.png

    I can do something ?

    Thank you.

    W 1 Reply Last reply Dec 8, 2016, 1:53 PM Reply Quote 0
    • W
      Wayne Workman @afaure
      last edited by Dec 8, 2016, 1:53 PM

      @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 Dec 8, 2016, 2:59 PM Reply Quote 0
      • A
        afaure @Wayne Workman
        last edited by Dec 8, 2016, 2:59 PM

        @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 !

        T W 2 Replies Last reply Dec 8, 2016, 3:14 PM Reply Quote 0
        • T
          Tom Elliott @afaure
          last edited by Dec 8, 2016, 3:14 PM

          @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
          • W
            Wayne Workman @afaure
            last edited by Dec 8, 2016, 6:27 PM

            @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
            • T
              Tom Elliott
              last edited by Dec 8, 2016, 11:20 PM

              @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 Dec 12, 2016, 5:07 PM Reply Quote 1
              • A
                afaure @Tom Elliott
                last edited by Dec 12, 2016, 5:07 PM

                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.

                W 1 Reply Last reply Dec 13, 2016, 12:43 AM Reply Quote 0
                • W
                  Wayne Workman @afaure
                  last edited by Dec 13, 2016, 12:43 AM

                  @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 Dec 13, 2016, 8:42 AM Reply Quote 0
                  • A
                    afaure @Wayne Workman
                    last edited by Dec 13, 2016, 8:42 AM

                    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 ?

                    W 1 Reply Last reply Dec 13, 2016, 2:01 PM Reply Quote 0
                    • W
                      Wayne Workman @afaure
                      last edited by Dec 13, 2016, 2:01 PM

                      @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 Dec 14, 2016, 4:41 PM Reply Quote 0
                      • A
                        afaure @Wayne Workman
                        last edited by Dec 14, 2016, 4:41 PM

                        Thank you for your help.

                        Best regards.

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

                        160

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project