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

    Image Import in fog

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    21
    8.9k
    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.
    • R
      raftor
      last edited by

      Good afternoon:

      My English is not very good.

      I tell my problem if you can help me.

      I copied an image of a stable version of fog 1.2.0 to SVN , I added the permissions of the image I attached a screenshot .
      When I deploy the image I get this error " pigz : skipping : < stdin > : corrupt - deflate invalid data (invalid code lengths set) pigz : abort : internal threads error" . I have seen previously a forum opened with this error was solved although you can help me .0_1458576505233_permissions.JPG

      Here I have added permissions within the folder image

      0_1458576609124_imagen.JPG
      The imagen is called “laprimera”.

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

        @raftor Please post a directory listing of that image ls -al /images/laprimera

        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

        R 1 Reply Last reply Reply Quote 0
        • R
          raftor
          last edited by

          0_1458577189410_upload-7097a9f2-4c87-47ff-b101-e8e18c508f95

          Thank you

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

            @raftor What about file /images/laprimera/*

            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
            • R
              raftor
              last edited by

              said:

              lease post a directory listing of that image

              0_1458580130003_upload-456d0079-779a-44ff-98c3-223cf3ef84d3
              thanks.

              Q 1 Reply Last reply Reply Quote 0
              • Q
                Quazz Moderator @raftor
                last edited by

                @raftor Please post the output of his new command, it’s different!

                1 Reply Last reply Reply Quote 1
                • R
                  raftor @Sebastian Roth
                  last edited by

                  @Sebastian-Roth said:

                  ls -al /images/laprimera

                  0_1458594727663_upload-e5072f13-2d11-4f36-8c71-4da0b931936d

                  Perdon with previous answers , I had problems with the browser

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

                    @raftor You posted the same picture again! What I would like to see is the output of the following command now: file /images/laprimera/*

                    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

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      raftor @Sebastian Roth
                      last edited by

                      @Sebastian-Roth Sorry

                      0_1458628728304_upload-c76cf09d-683b-4f36-b988-9bbe0ff2e755

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

                        @raftor The files don’t seam obviously damaged but from the error you see I am pretty sure they are. How did you transfer the files?

                        Please compare the file size (ls -al /images/laprimera see the numerical value e.g. 8561167 for d1p1.img) on both the old & new server and if those match exactly compare the MD5 sums as well (md5sum /images/laprimera/*)!

                        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

                        R 1 Reply Last reply Reply Quote 1
                        • R
                          raftor @Sebastian Roth
                          last edited by

                          @Sebastian-Roth This is the image on the old server

                          0_1458638182647_upload-27043937-61a3-4c1b-9d08-517cbf38230c

                          I have seen that there are differences in the source file and destination ( d1p2.img ) .¿Puede be wrong?

                          R Tom ElliottT 2 Replies Last reply Reply Quote 0
                          • R
                            raftor @raftor
                            last edited by

                            @raftor This is the image of the new server

                            0_1458638676362_upload-32372251-9276-4e7a-8d12-f5d35f45cd2a

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

                              @raftor as @Sebastian-Roth asked, how was the image copied over?

                              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
                              • S
                                Sebastian Roth Moderator
                                last edited by

                                @raftor Maybe try copying d1p2.img again?! The md5sums need to match on the old and new system! Otherwise the file got damaged somewhere along the way. Interesting to see that file sizes do match but mdsums don’t…

                                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

                                R 1 Reply Last reply Reply Quote 1
                                • R
                                  raftor @Sebastian Roth
                                  last edited by

                                  @Sebastian-Roth ok ok thank you very much’re the best.
                                  The copy image with winscp.

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

                                    @raftor said:

                                    ok ok thank you very much’re the best.

                                    You are welcome! Does that mean that deploy is working now??

                                    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

                                    R 1 Reply Last reply Reply Quote 0
                                    • R
                                      raftor @Sebastian Roth
                                      last edited by

                                      @Sebastian-Roth said:

                                      You are welcome! Does that mean that deploy is working now??

                                      If everything ok
                                      although I have to update the databases of images manually.

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

                                        @raftor WHat do you mean?

                                        Copying the images from one server to another does not mean the image will be in the DB. The definitions in the DB MUST be entered for FOG to recognize them. I’m not going to try scanning directories and building image definitions for people because I HAVE NO IDEA what you’re trying to use.

                                        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

                                        R 1 Reply Last reply Reply Quote 0
                                        • R
                                          raftor @Tom Elliott
                                          last edited by

                                          @Tom-Elliott
                                          I will not manually modifcar the BBDD me grace you have been of great help s just wanted to pass an image from one server to another and everything ok . If I misspoke forgiveness. I hope the google Traslate serve.

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

                                            @raftor You’re fine.

                                            All I’m trying to say is “importing / transferring” images from one server to the other works fine. You will still have to make the definition if you don’t import the original database though.

                                            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

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

                                            275

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project