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

    This is not partclone image

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    15
    5.8k
    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.
    • D
      Dark000
      last edited by

      I have updated fog from 0.32 to 1.1.1 and than to 1.1.2. All the images on the server were created with 0.32. Now when trying to deploy with 1.1.2 i get this error (Partclone>This is not partclone image.).

      I get it that because image was created with older version of fog now it can’t deploy. How can i solve this, besides from obvious uploading all the images with new version of fog. Thank you.

      1 Reply Last reply Reply Quote 0
      • J
        jmeyer
        last edited by

        You need to enable FOG_FORMAT_FLAG_IN_GUI in General Settings and set image to partimage instead of partclone.

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

          Go to:

          FOG Configuration (? icon) -> FOG Settings -> General Settings -> Enable FOG_LEGACY_FLAG_IN_GUI or FOG_FORMAT_FLAG_IN_GUI and check the box and save settings. Go to the Image Management page and select the image or images you need to edit. Edit the Image Type flag from Partclone to 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! 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
          • D
            Dark000
            last edited by

            Ok i checked the box for FOG_FORMAT_FLAG_IN_GUI i did not find the FOG_LEGACY_FLAG_IN_GUI. Image type was already Partimage i changed it back and forth to be sure but it still somehow goes to Partclone.

            1 Reply Last reply Reply Quote 0
            • J
              jmeyer
              last edited by

              If it’s a 0.32 image, it’s partimage.
              Partclone is only used since version 1.0 of Fog

              1 Reply Last reply Reply Quote 0
              • D
                Dark000
                last edited by

                I see, but when deploying it still goes to same error (partclone), despite being partimage in image type.

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

                  Are you uploading or downloading?

                  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
                  • JunkhackerJ
                    Junkhacker Developer
                    last edited by

                    if this is a download job that you created before you enabled that setting, you will need to cancel it and recreate the job.

                    signature:
                    Junkhacker
                    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                    1 Reply Last reply Reply Quote 0
                    • D
                      Dark000
                      last edited by

                      Yes i am downloading and i have recreated the job multiple times.

                      1 Reply Last reply Reply Quote 0
                      • JunkhackerJ
                        Junkhacker Developer
                        last edited by

                        if you create a download task, and go to [url]http://<fog-server>/fog/service/boot.php?mac=XX:XX:XX:XX:XX:XX[/url] for the mac address of the computer you are trying to image, what do you see?

                        signature:
                        Junkhacker
                        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                        1 Reply Last reply Reply Quote 0
                        • D
                          Dark000
                          last edited by

                          At [url]http://<fog-server>/fog/service/ipxe/boot.php?mac=XX:XX:XX:XX:XX:XX[/url] i see:
                          [code]#!ipxe
                          kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=“MYDNS” keymap= web=“FOGIP”/fog/ consoleblank=0 loglevel=4 mac=xx:xx:xx:xx:xx:xx ftp=“FOGIP” storage=“FOGIP”:/images/ storageip=“FOGIP” web=“FOGIP”/fog/ osid=5 loglevel=4 consoleblank=0 irqpoll chkdsk=0 img=win7master imgType=mpa imgid=1 imgLegacy= PIGZ_COMP=-9 hostname=hptst type=down
                          imgfetch init_32.xz
                          boot[/code]

                          1 Reply Last reply Reply Quote 0
                          • JunkhackerJ
                            Junkhacker Developer
                            last edited by

                            you said this image was made in fog 0.32, but you do not have this image set to partimage format

                            signature:
                            Junkhacker
                            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                            1 Reply Last reply Reply Quote 0
                            • D
                              Dark000
                              last edited by

                              It was for sure i also tried another image, same result. As i said in Image Management under Image Manager it is set as PartImage. What else can i do.

                              This is first deployment that i tried after upgrade. Maybe something went wrong when upgrading. Evertyhing went well other than updating database from 1.1.1 to 1.1.2 i had to use [URL=‘http://fogproject.org/forum/threads/fog-upgrade-1-1-1-1-1-2-database-error.10956/#post-31683’]this [/URL]soulution.

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

                                For a partimage image the imgType should read as:
                                [code]imgLegacy=1[/code] If it is set to 1 then the image is partimage. My, best guess, is that it’s not working because we had to push 1.1.2 out quickly due to a rather large bug. Check the /var/www/fog/lib/fog/BootMenu.class.php file and make sure the references to imgLegacy are changed to imgFormat. Looking at the source code shows that imgLegacy is not set in there, but I did have to retag and regenerate the tar.gz files, so it’s possible you got one that was broken with regards to the imgFormat/imgLegacy setting.

                                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
                                • D
                                  Dark000
                                  last edited by

                                  Just to update with the solution. I downloaded 1.1.2 files again and than I ran 1.1.2 setup again; nothing more and now it works, thank you for pointing me in the right direction.

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

                                  171

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project