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

    Moving images directly from old (0.32) to svn version

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    21
    8.2k
    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.
    • L
      luckysantiago
      last edited by

      I previously have a fog 0.32 on Centos 5 on a physical server (ages ago) and decided to take them out so i did a backup. I have now fog latest svn trunk 1.2.0 (rev 3462) installed on centos 6.5 (vm) all goes well, dchp, compatibility and I have 1 host registered successfully.

      The next step i did is login to FOG gui create an image, then on the same image directory i put the image file saved on the backup from 0.32 directly via winscp, fixed premission and all.

      Then assign that image to my 1 registered host and iniate download task which i’ve succesfully created, then i boot the machine and the imaging started but i encouter the ff errors:
      11311760_10153047475214550_1711687638_n.jpg 11297735_10153047474784550_181091115_n.jpg

      ch3iC 1 Reply Last reply Reply Quote 0
      • ch3iC
        ch3i Moderator @luckysantiago
        last edited by

        @luckysantiago

        Hi,

        You can have some help here : https://wiki.fogproject.org/wiki/index.php/Upgrade_to_1.x.x at end of page “Old Images”.

        Regards,
        Ch3i.

        L 1 Reply Last reply Reply Quote 0
        • L
          luckysantiago @ch3i
          last edited by

          @ch3i Hi ch3i, thanks for this. Unfortunately when i imported the old sql from 0.32 i encounter a lot of errors. see attached. update_db_failed.txt

          ch3iC 1 Reply Last reply Reply Quote 0
          • ch3iC
            ch3i Moderator @luckysantiago
            last edited by

            @luckysantiago For your upgrade you have directly install SVN or before installed the 1.2 ?

            L 1 Reply Last reply Reply Quote 0
            • L
              luckysantiago @ch3i
              last edited by

              @ch3i said:

              @luckysantiago For your upgrade you have directly install SVN or before installed the 1.2 ?

              I directly install the SVN version

              ch3iC 1 Reply Last reply Reply Quote 0
              • ch3iC
                ch3i Moderator @luckysantiago
                last edited by

                @luckysantiago said:

                @ch3i said:

                @luckysantiago For your upgrade you have directly install SVN or before installed the 1.2 ?

                I directly install the SVN version

                Not sure, but I think you have to install 1.2 before, test if it’s OK and update after with SVN.

                L 1 Reply Last reply Reply Quote 0
                • L
                  luckysantiago @ch3i
                  last edited by

                  @ch3i said:

                  @luckysantiago said:

                  @ch3i said:

                  @luckysantiago For your upgrade you have directly install SVN or before installed the 1.2 ?

                  I directly install the SVN version

                  Not sure, but I think you have to install 1.2 before, test if it’s OK and update after with SVN.

                  Hmm… Ok so i will install the official 1.2 then upgrade the svn then restore db from 0.32?

                  ch3iC 1 Reply Last reply Reply Quote 0
                  • ch3iC
                    ch3i Moderator @luckysantiago
                    last edited by

                    @luckysantiago Install 1.2, import database, tests download, upgrade to SVN.

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      luckysantiago @ch3i
                      last edited by

                      @ch3i said:

                      @luckysantiago Install 1.2, import database, tests download, upgrade to SVN.

                      Still got an error after import and updating db schema. update_db_failed_0.32_to1.2.txt

                      ch3iC 1 Reply Last reply Reply Quote 0
                      • ch3iC
                        ch3i Moderator @luckysantiago
                        last edited by

                        @luckysantiago You have these errors when you import your database from “fog configuration” “configuration save” ?

                        L 1 Reply Last reply Reply Quote 0
                        • L
                          luckysantiago @ch3i
                          last edited by

                          @ch3i said:

                          @luckysantiago You have these errors when you import your database from “fog configuration” “configuration save” ?

                          No. import was success. This errors are after the update/install database schema which is usually prompted after the import.

                          ch3iC 1 Reply Last reply Reply Quote 0
                          • ch3iC
                            ch3i Moderator @luckysantiago
                            last edited by

                            @luckysantiago You have make a fresh install of 1.2 on your server or remove SVN and install 1.2 ?

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

                              There’s one step as you copied 0.32 images into a fresh install of svn. It currently thinks all images are partclone. We need to change the format so it knows to use 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

                              L 1 Reply Last reply Reply Quote 0
                              • L
                                luckysantiago @Tom Elliott
                                last edited by

                                @Tom-Elliott said:

                                There’s one step as you copied 0.32 images into a fresh install of svn. It currently thinks all images are partclone. We need to change the format so it knows to use partimage.

                                That means i can directly install the SVN and use just the image and not the old database from 0.32?

                                What would be the process of changing the format to make it work?

                                Just to add, i am not really interested using the data (db) from old 0.32, i just need the images to be used again.

                                Thanks in advance.

                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  luckysantiago @ch3i
                                  last edited by

                                  @ch3i said:

                                  @luckysantiago You have make a fresh install of 1.2 on your server or remove SVN and install 1.2 ?

                                  I just removed the svn (db,opt file,www file) and a fresh install 1.2

                                  1 Reply Last reply Reply Quote 0
                                  • L
                                    luckysantiago @luckysantiago
                                    last edited by

                                    @luckysantiago said:

                                    @Tom-Elliott said:

                                    There’s one step as you copied 0.32 images into a fresh install of svn. It currently thinks all images are partclone. We need to change the format so it knows to use partimage.

                                    That means i can directly install the SVN and use just the image and not the old database from 0.32?

                                    What would be the process of changing the format to make it work?

                                    Just to add, i am not really interested using the data (db) from old 0.32, i just need the images to be used again.

                                    Thanks in advance.

                                    Hi Tom, kindly advise how should i proceed on this. Thanks in advance.

                                    1 Reply Last reply Reply Quote 0
                                    • Joseph HalesJ
                                      Joseph Hales Testers
                                      last edited by

                                      It’s a drop down box in the image description gui.

                                      RTFM

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

                                        @Joseph-Hales Don’t forget to enable the option to change the format. This is found at:

                                        FOG Configuration->FOG Settings->General Settings->FOG_FORMAT_FLAG_IN_GUI

                                        Check the box and save. Then you can change the Format the images are in. You just need to update each image.

                                        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
                                        • L
                                          luckysantiago
                                          last edited by luckysantiago

                                          Hi Tom and Joseph,

                                          Thanks for your help, that worked! (and yes that option is not avail by default and needs to tick) Though during the download process i encounter some /dev/sda not found errors but still the procedure continued and completed.

                                          What’s the purpose of this Partition dropdown menu on the Image management.

                                          part.jpg

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

                                            It allows you to choose exactly what partitions you want to upload when you capture your image. I always choose “everything”, but there is probably a use for the others.

                                            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/

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

                                            198

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project