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

    Proper Way to Upgrade FOG?

    Scheduled Pinned Locked Moved
    General
    4
    7
    15.7k
    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.
    • Z
      Zer0Cool
      last edited by

      Just noticed 1.5.3 is out.

      I read the post and followed links as well as searching Google and cannot find anything official and recent in terms of the proper upgrade process.

      I am currently on 1.5.2 (CentOS 7.5 base). It shows its out of date and that the current version is 1.5.3 but I see no option in the interface to suggest an upgrade option there.

      Other than things I have customized within the web GUI the only other alteration I recall was in the dhcpd.conf to the ip range used by DHCP, which I can easily change myself.

      I have taken a snapshot of the FOG VM (it runs in a ESXi 6.7 VM) and backed up the configuration from the gui.

      If someone could guide me as to how to properly update or point me to a current/valid guide on updating I would appreciate it. Thanks

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

        https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk

        I recommend the git method. Replace dev-branch for master if you want the latest stable version.

        Z 1 Reply Last reply Reply Quote 1
        • Z
          Zer0Cool @Quazz
          last edited by

          @quazz Ah ok so if I understand correctly I am pulling the new files from git (having told it the branch I want) and then running the installfog.sh script (similar to the initial install)?

          1 Reply Last reply Reply Quote 0
          • Z
            Zer0Cool
            last edited by

            For those interested, this is the procedure I followed to update:

            FOG 1.5.2 to 1.5.3
            CentOS 7.5.1803

            Altered a bit from https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk
            Initial install I followed this (just for reference, only needed for fresh install): https://wiki.fogproject.org/wiki/index.php?title=CentOS_7 (hence my cd line being to the directory the install directions mention)

            cd ~/Downloads/git/fogproject
            git pull
            cd bin
            sudo ./installfog.sh
            

            A couple observations about the installer:

            • It prompted to go to the url ‘ip/fog/management’ to update/create the database. Doing so just took me to the dashboard of my FOG server. I hit ‘enter’ back on the server to continue. Not sure if this prompt is just a remnant and can be ignored or if I skipped something important.
            • On the step of ‘Setting up TFTP and PXE server…’ (wording may be different) it took about 5 minutes to compete. I was concerned it hung but gave it time and it moved on.
            • At completion it incorrectly states my username and password as the default (fog/password). I logged out and into the web interface and checked the users section and my proper “old” username and password were there and no new user created so it appears the message is wrong.

            I rebooted after completion and once back up everything seems to be in order looking at the web gui. If anything problematic crops up ill post back but seems to have went relatively smooth.

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

              Also: https://wiki.fogproject.org/wiki/index.php?title=Getting_FOG

              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
              • Tom ElliottT
                Tom Elliott @Zer0Cool
                last edited by Tom Elliott

                @zer0cool

                1. It always prompts. You can auto accept by passing the -y switch with the ./installfog.sh command to prevent this. This does not necessarily mean there is a Schema Update for the version being installed.
                2. This isn’t anything bad. There’s any number of reasons for it to take a while, though I couldn’t tell you what.
                3. This is normal. The display is only assuming default information. (Hence the phrasing Default User Information)

                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

                Z 1 Reply Last reply Reply Quote 1
                • Z
                  Zer0Cool @Tom Elliott
                  last edited by

                  @tom-elliott I expected that may be the case. I did not mean to imply any issue, just observations in case someone is impatient (I almost tried a reboot while it was on #2).

                  Now its back to trying to get the colors of the menu the way I’d like (https://forums.fogproject.org/topic/11972/ipxe-menu-colors-help).

                  Thanks

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

                  258

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project