• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 May 22, 2015, 5:55 AM

    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

    C 1 Reply Last reply May 22, 2015, 6:57 AM Reply Quote 0
    • C
      ch3i Moderator @luckysantiago
      last edited by May 22, 2015, 6:57 AM

      @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 May 22, 2015, 7:10 AM Reply Quote 0
      • L
        luckysantiago @ch3i
        last edited by May 22, 2015, 7:10 AM

        @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

        C 1 Reply Last reply May 22, 2015, 7:11 AM Reply Quote 0
        • C
          ch3i Moderator @luckysantiago
          last edited by May 22, 2015, 7:11 AM

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

          L 1 Reply Last reply May 22, 2015, 7:15 AM Reply Quote 0
          • L
            luckysantiago @ch3i
            last edited by May 22, 2015, 7:15 AM

            @ch3i said:

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

            I directly install the SVN version

            C 1 Reply Last reply May 22, 2015, 7:17 AM Reply Quote 0
            • C
              ch3i Moderator @luckysantiago
              last edited by May 22, 2015, 7:17 AM

              @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 May 22, 2015, 7:19 AM Reply Quote 0
              • L
                luckysantiago @ch3i
                last edited by May 22, 2015, 7:19 AM

                @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?

                C 1 Reply Last reply May 22, 2015, 7:20 AM Reply Quote 0
                • C
                  ch3i Moderator @luckysantiago
                  last edited by May 22, 2015, 7:20 AM

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

                  L 1 Reply Last reply May 22, 2015, 7:55 AM Reply Quote 0
                  • L
                    luckysantiago @ch3i
                    last edited by May 22, 2015, 7:55 AM

                    @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

                    C 1 Reply Last reply May 22, 2015, 7:58 AM Reply Quote 0
                    • C
                      ch3i Moderator @luckysantiago
                      last edited by May 22, 2015, 7:58 AM

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

                      L 1 Reply Last reply May 22, 2015, 8:00 AM Reply Quote 0
                      • L
                        luckysantiago @ch3i
                        last edited by May 22, 2015, 8:00 AM

                        @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.

                        C 1 Reply Last reply May 22, 2015, 8:03 AM Reply Quote 0
                        • C
                          ch3i Moderator @luckysantiago
                          last edited by May 22, 2015, 8:03 AM

                          @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 May 22, 2015, 9:32 AM Reply Quote 0
                          • T
                            Tom Elliott
                            last edited by May 22, 2015, 8:47 AM

                            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 May 22, 2015, 9:28 AM Reply Quote 0
                            • L
                              luckysantiago @Tom Elliott
                              last edited by May 22, 2015, 9:28 AM

                              @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 May 25, 2015, 1:01 PM Reply Quote 0
                              • L
                                luckysantiago @ch3i
                                last edited by May 22, 2015, 9:32 AM

                                @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 May 25, 2015, 1:01 PM

                                  @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
                                  • J
                                    Joseph Hales Testers
                                    last edited by May 25, 2015, 5:00 PM

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

                                    RTFM

                                    T 1 Reply Last reply May 25, 2015, 7:57 PM Reply Quote 0
                                    • T
                                      Tom Elliott @Joseph Hales
                                      last edited by May 25, 2015, 7:57 PM

                                      @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 May 25, 2015, 6:29 PM May 26, 2015, 12:27 AM

                                        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 May 26, 2015, 12:41 AM

                                          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 May 26, 2015, 12:59 AM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            7/21
                                            Last post

                                          166

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project