image failed to restore and exited with exit code 0
-
@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. -
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 !
-
@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).
-
@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 inGeneral 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.
-
@Wayne-Workman and @afaure :
FOG Configuration Page->FOG Settings->General Settings->FOG_FORMAT_FLAG_IN_GUI
-
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.
-
@afaure You realize the change is 2-phase right? You enable the format flag, then you change the particular image’s format.
-
Hi @Wayne-Workman,
Yes, i have enabled the flag in the settings.
FOG Configuration Page->FOG Settings->General Settings->FOG_FORMAT_FLAG_IN_GUIIn 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 ?
-
@afaure The image must be corrupt then, as you guessed.
-
Thank you for your help.
Best regards.