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

    Capture Error

    FOG Problems
    3
    13
    3831
    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
      arduinoAndMore last edited by

      I’m receiving an error from FOG when I try to capture an image. I captured this image once last week and realized I forgot to add a config file to the machine, so I tried to capture again after I added the file. Now I am receiving the following error:

      Partclone fail, please check /var/log/partclone.log !

      An error has been detected!
      Failed to complete upload (savePartition)
      Args Passed: /dev/sda1 1 /images/0015c547b279 all

      Computer will reboot in 1 minute

      Other notes: I am capturing a single partition which has Lubuntu 15. I’m on a dedicated imaging network running FOG 7589. The image type is currently multiple partition single disk. I have tried the others, and raw is the only format that works currently. That’s not what I want to use of course. Image size should be around 2-5GB or so. If I’ve left any details out, let me know.

      Like I said, this worked once last week, and I haven’t done anything drastic since then. I assume the fix should be pretty simple. I just haven’t found it yet. Thank you for any help you can give.

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

        @arduinoAndMore Well, something screwed up your first partition I’d say. Good to hear that you got this solved by a simple filesystem check!

        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
        • A
          arduinoAndMore last edited by arduinoAndMore

          UPDATE: I wound up having the same issue again trying to capture an updated image under the same conditions. I set the folder permissions again and tried to capture before running a check from a live USB stick. This also failed, which means that permissions were not the problem (important, but not the cause of this issue)

          I booted to Slacko Puppy Linux and ran gparted and did right-click /dev/sda1 and clicked check. It takes a few seconds and then everything works. Hope that helps.

          Bottom line: Do a check on the drive from a live USB

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

            Wow! From what we see in the picture this is happening on upload/capture (source /dev/sda1)!

            @arduinoAndMore Did you ever try to shrink the partitions on that disk? Possibly something went wrong there. Partition being smaller than the filesystem on it?!?

            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 Workman
              Wayne Workman @arduinoAndMore last edited by

              @arduinoAndMore said in Capture Error:

              I also discovered that the directory I had created to save the image to on my server (inside /images) was owned by someone besides root. I chowned it to root and tried again. The image seems to be going up just fine now. I hope this is useful to someone down the line.

              It’s in our wiki already, but spamming it all over the forums is a good thing. People seem to not know how to Google search very well.
              https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP#Permissions
              https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_NFS#Permissions

              Let us know if anything changes when you try to deploy.

              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
              • A
                arduinoAndMore @arduinoAndMore last edited by arduinoAndMore

                @Wayne-Workman Here’s what I did: I booted to Puppy (live) and tried to check the drive. It didn’t take more than 10 seconds and it returned nothing. I’m not sure it actually did anything useful. (Might have, just no confirmation)

                I also discovered that the directory I had created to save the image to on my server (inside /images) was owned by someone besides root. I chowned it to root and tried again. The image seems to be going up just fine now. I hope this is useful to someone down the line.

                sudo chown root:root /images/<imagename>
                
                Wayne Workman 1 Reply Last reply Reply Quote 0
                • Wayne Workman
                  Wayne Workman @arduinoAndMore last edited by

                  @arduinoAndMore Well, the image doesn’t need rebuilt. I’m just suggesting doing some disk integrity checking and then re-uploading.

                  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
                  • A
                    arduinoAndMore @Wayne Workman last edited by

                    @Wayne-Workman This is my golden machine, so it would take some effort to redo the image. I suppose that might be best at this point. It’s better than hacking this one into working and then spreading problems further by imaging. Thanks for the help. I’ll plan to redo the image.

                    Wayne Workman A 2 Replies Last reply Reply Quote 0
                    • Wayne Workman
                      Wayne Workman @arduinoAndMore last edited by Wayne Workman

                      @arduinoAndMore I’ve found some information on that error, they all refer to inconsistencies on the drive, unmounting issues, inaccurate detection of how big the drive is, or other issues related to malware/viruses.

                      https://sourceforge.net/p/clonezilla/discussion/Help/thread/de8ea4fe/
                      https://sourceforge.net/p/clonezilla/bugs/167/
                      http://serverfault.com/questions/438243/cloning-bitmap-free-count-err-on-proxmox-drive
                      http://ubuntuforums.org/showthread.php?t=2082868
                      http://www.saetechnologies.com/clonezilla-bitmap-error-at-group/

                      My advise to you is to re-upload the image and try again.

                      Also, is this a Windows image or an OSX/Linux image? If it’s windows, do a checkdisk. OSX also has some filesystem fixing things too, just can’t remember their names.

                      Ah, just read this is Lubuntu.

                      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 1
                      • A
                        arduinoAndMore @Wayne Workman last edited by

                        @Wayne-Workman Everything looks perfectly happy until that first screenshot in my last response. Hope that helps

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

                          @arduinoAndMore Thank you for the screen shots! Definitely helps, but I was asking about the things displayed before partclone even starts. Any errors there?

                          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
                            arduinoAndMore last edited by arduinoAndMore

                            @Wayne-Workman https://onedrive.live.com/redir?resid=BD4D5D336B75EB86!12042&authkey=!AIebEm7G2UuGnWI&v=3&ithint=photo%2Cjpg

                            That message pops up briefly before receiving the following:

                            https://onedrive.live.com/redir?resid=BD4D5D336B75EB86!12043&authkey=!ALF3ccl2Vs2wGgc&v=3&ithint=photo%2Cjpg

                            Thanks

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

                              Are there any “Failed!” messages before the PartClone screen shows?

                              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
                              • 1 / 1
                              • First post
                                Last post

                              179
                              Online

                              10.4k
                              Users

                              16.4k
                              Topics

                              150.5k
                              Posts

                              Copyright © 2012-2023 FOG Project