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

    Migrate Fog on a new server

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    6
    886
    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.
    • P
      plegrand
      last edited by

      Hello,
      I’m planning to migrate our fog server to a new machine.
      The new machine will be configured in the same way.

      I had some questions about this migration:

      • Is the documentation available at this address still up to date?
        [https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG](link url)
      • The old machine is in version 1.5.9, the new machine, due to installation problems is in version 1.5.9.111.
        Is this a problem? Or do I have to upgrade the old machine to 1.5.9.111?

      During tests, I noticed some bugs during the installation of the master branch on a stable debian (bullseye):
      The installer tries to install the “php-gettext” package, but this package doesn’t exist anymore and you have to install the “php-php-gettext” package
      The installer proposes the installation of certificate, if to the first question it is answered no, to the second question, it is not possible to say no to give a server name for the certificate.
      So the installation fails with the stable version

      When switching to the dev-branch version, the problems are the same but the installation finishes normally.

      Thanks for your help.

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

        @plegrand What’s your time schedule on migrating the server? I am pretty short on time these days but if it’s not in a hurry I’d look into this and give you some extensive answers in a few weeks.

        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

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

          The old and new fog versions do not need to be the same version. The only restriction here is that you cannot downgrade. You can go from older to newer, but not from newer to older.

          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/

          1 Reply Last reply Reply Quote 0
          • P
            plegrand @Sebastian Roth
            last edited by

            @sebastian-roth Hello
            The migration is done and I think I followed the documentation.
            During a test I encounter the following problem:

            Could not mount images folder (/bin/fog.download)
            Reason: mount: mounting 192.168.39.243:/home/images/ on /images failed: Permission denied

            My images directory is in /home/images.
            Do i miss something ?

            1 Reply Last reply Reply Quote 0
            • P
              plegrand
              last edited by

              @sebastian-roth
              I think i 've got the solution :
              in fogsettings,

              storageLocation was ='/images',
              

              then
              /etc/exports was :

              /images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
              /images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
              

              After correcting fogsettings (storageLocation =‘/home/images’,
              /etc/exports :

              /home/images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
              /home/images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
              

              and it seems to works

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

                @plegrand Well done. Good to see you got it done using the instructions from the wiki.

                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
                • 1 / 1
                • First post
                  Last post

                150

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project