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

    Data Migration form FOG 0.32 to 1.2

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    39
    12.5k
    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.
    • W
      Wolfbane8653 Developer
      last edited by

      To be honest I found earlier this past summer it was easier just to start over from scratch but new developments have really helped the situation to upgrading from 0.32 to 1.x.x

      I would suggest to use the export and imports for hosts, then download the old images to the appropriate machines and re-upload to the new server. Also, verify that your environment is correct for iPXE boots. [url]http://www.fogproject.org/wiki/index.php/IPXE[/url].

      With the images you could also try to push them over to the new server with ftp to the correct location but you will need to check the legacy images in Fog settings. Also, you will need to correct the permissions on those folders. Images created in 0.32 were created with partimage and now with 0.33b+ 1.x.x we use partclone.

      Edit: corrected partimage and partclone part sorry for the mix up.

      Its just not 100% easy to upgrade from 0.32 to 1.x.x.

      [url]http://www.fogproject.org/wiki/index.php/Upgrade_to_1.0.0[/url]
      [url]http://www.fogproject.org/wiki/index.php/Upgrade_to_trunk[/url]

      1 Reply Last reply Reply Quote 0
      • M
        Mathieu Cohen
        last edited by

        hmm sounds like it would be preferable to simply point my new server to the NFS shared already there, get rid of the old image and get in new ones.

        Can you tell me how to relocate the default image upload location in 1.2?

        1 Reply Last reply Reply Quote 0
        • W
          Wolfbane8653 Developer
          last edited by

          Is still exactly the same!
          [CODE]/images[/CODE]

          If you are willing to run both why not use the new server as the primary and install the storage node to the old server. This way this hardware is still usable.

          1 Reply Last reply Reply Quote 0
          • M
            Mathieu Cohen
            last edited by

            They are both VMs ;).

            Let me specify, Im looking for the config.php file to modify the image upload location, it does not show up in the newest installation. Is it called something else? as per [URL=‘http://www.fogproject.org/wiki/index.php/Change_NFS_location’][U][COLOR=#0066cc]http://www.fogproject.org/wiki/index.php/Change_NFS_location[/COLOR][/U][/URL], it should show up in var/www/fog/commons/config.php… but it isn’t.

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

              Changing the value in the Config will have no effect.

              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
              • M
                Mathieu Cohen
                last edited by

                then I am lost, I wasn’t the one who configured the first FOG server couple years ago… how can I redirect this new 1.2 server for its images to be uploaded to a remote windows server with NFS share?

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

                  You would need to create a storage node that points it’s info relative to what you need.

                  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
                  • W
                    Wolfbane8653 Developer
                    last edited by

                    AH that is different!

                    [url]http://www.fogproject.org/wiki/index.php/Windows_Storage_Node[/url]

                    BUT this is only as a storage node NOT the primary but. You can make this the PRIMARY in the Storage management group.

                    1 Reply Last reply Reply Quote 0
                    • M
                      Mathieu Cohen
                      last edited by

                      well now its becoming more complex than I first expected… I probably failed the DHCP settings during installation and chose FOG to act as one instead of using mine because PXE boot isn’t working, even though I modified my DHCP server settings… jesus, I`ll have to start all over again -_-

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

                        [quote=“Wolfbane8653, post: 39912, member: 3362”]…Images created in 0.32 were created with [B]partimage[/B] and now with 0.33b+ 1.x.x we use [B]partclone.[/B]
                        [/quote]

                        ftfy

                        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
                        • M
                          Mathieu Cohen
                          last edited by

                          and even the node isn’t working… can’t connect. Is there anything else to do besides pointing towards it and providing it with the user/password who has full access to that share? maybe a specific syntax…

                          1 Reply Last reply Reply Quote 0
                          • M
                            Mathieu Cohen
                            last edited by

                            And I can`t uninstall it? what the hell… I really feel like an idiot now, trying to follow the tutos on your websites but any files they tell me to modify delete edit copy whatever you like… doesn’t exist.

                            How old are those tutorials?

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

                              I guess I’m lost.

                              Mathieu,

                              FOG Is designed to be run on Linux systems. That’s not to say you can’t install elements on other OS’s but I don’t think Windows NFS Shares are going to allow FOG to get the file size information. This isn’t for a lack of my trying, but rather a limitation of the differences in commands and data gather between linux and Windows.

                              I can’t walk you through all the possibilities that you may encounter. All I can do is lead you in the right directions based on the information you’re providing.

                              For what it’s worth, the Config file used to be located in /var/www/{,html/}fog/commons/config.php. 1.2.0 moved this same config file to: /var/www/{,html/}fog/lib/fog/Config.class.php

                              The information in Config.class.php is really only used to connect to the database. The extra lines in the file (at the bottom below the database stuff) is really for the very first install of fog, and simply used to setup the database initial items. Once it’s in the database, it’s no longer used at all and has no impact on the running of FOG.

                              Adding storage nodes is a very simple thing, but when trying to do “custom” things it may entail some more work. There’s nothing I can do to help make it any simpler. Install the components needed on the Windows Server (ftp, nfs, etc…) and create a Node entry in the FOG GUI. It won’t display the disk usage, but that does not mean it will not work. That all said, I don’t know what else to do or what you’re wanting.

                              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
                              • W
                                Wolfbane8653 Developer
                                last edited by

                                To uninstall:
                                [url]http://www.fogproject.org/wiki/index.php/Uninstall_FOG[/url]

                                If you are using the direct copy and paste these download links are old and possibly may not work. [URL=‘http://sourceforge.net/projects/freeghost/files/FOG/fog_1.2.0/’]Here[/URL] Is the most recent stable release of FOG. However, bugs have been found and corrected in the beta versions. To download these you will need to look [URL=‘http://www.fogproject.org/wiki/index.php/Upgrade_to_trunk’]here[/URL].

                                1 Reply Last reply Reply Quote 0
                                • M
                                  Mathieu Cohen
                                  last edited by

                                  I uninstalled everything Ill try again using wolfbanes link.

                                  Im sure Ill figure out what Im doing wrong... dont know how long it will take me but I`ll find out 😛

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    Mathieu Cohen
                                    last edited by

                                    hahaha I want to cry now -_-… I reinstalled FOG on a cleaned up Ubuntu 13.10 box… but after installation… no web GUI has been set up… there is nothing in the www folder… did I miss something there? XD

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      Mathieu Cohen
                                      last edited by

                                      I’m happy to say after a good week-end of not doing any IT work came in this morning, flushed all, reinstalled and now everything is fine. I just came up with one little mistake though that you might be able to clear out. I just finished uploading a windows 7 image as a test upload to make sure the nodes were correctly configured, and the image has been successfully placed in the right server, but now I’m testing the download for deployment and it gives out an error stating it cannot be downloaded, saying I first need to upload an image.

                                      I reapplied the test image to the host in the settings but no go. Is there a small step I forgot to do here?

                                      EDIT: image format is

                                      Windows 7
                                      [SIZE=2]Multiple Partition Image - Single Disk (Not Resizable)[/SIZE]

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

                                        on your images page, is there a size on server listed for the image?

                                        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
                                        • M
                                          Mathieu Cohen
                                          last edited by

                                          Yes size on client and size on server are both displayed

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            Mathieu Cohen
                                            last edited by

                                            Update on the issue. It seems to only happen from the basic tasks menu on hosts. If I go directly to active tasks menu and create a download there it will work. But on host basic task download menu its a no go. And it is not even thinking about it it just sends me the error in half a second.

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

                                            211

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project