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

Updating Fog Server 1.x.x

Scheduled Pinned Locked Moved
FOG Problems
2
4
415
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.
  • N
    nerdstburns
    last edited by Jul 26, 2020, 4:02 AM

    Hello,

    I am curious on the easiest way to update to the latest version of the Fog master branch. I reviewed another forum discussion here, but I am a bit confused since I don’t work in Linux frequently…Can I just rerun the installation:

    sudo -i
    cd /root
    git clone https://github.com/FOGProject/fogproject.git
    cd /root/fogproject/bin
    ./installfog.sh
    

    or can I just copy the “upgrade to the latest trunk” method found here, and just replace “dev-branch” with “master” as shown below:

    cd /root/fogproject
    git checkout master
    git pull
    cd bin
    ./installfog.sh
    

    Any suggestions for a novice like me would be much appreciated!

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Jul 26, 2020, 11:19 AM

      The answer is it depends.

      Your first solution downloads the installer files from the git repository.

      Your second solution refreshes (updates any changed files) the installer files from the git repository.

      So you would do the first step to download and and install FOG initially and then when a new release of fog comes out (newer than what you downloaded in step 1) you do the git pull and then rerun the installer.

      Now the command of checkout master and check out dev-branch are special commands because the installer directory can contain multiple versions of FOG. It just so happens the very latest version of FOG is in the dev-branch (1.5.9RC2). That version will be 1.5.9 GA once the developers get back from summer break.

      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!

      N 1 Reply Last reply Jul 26, 2020, 5:40 PM Reply Quote 0
      • N
        nerdstburns @george1421
        last edited by Jul 26, 2020, 5:40 PM

        @george1421 will I have problems updating to a stable version if I have 1.5.9RC2? I followed the steps on the Wiki to download the stable version on another server and it gave me 1.5.9RC2. Also, just to confirm, is this what you are suggesting:

        cd /root/fogproject
        git pull
        cd bin
        ./installfog.sh
        

        Thanks for your help!

        G 1 Reply Last reply Jul 26, 2020, 6:08 PM Reply Quote 0
        • G
          george1421 Moderator @nerdstburns
          last edited by Sebastian Roth Jul 27, 2020, 2:36 AM Jul 26, 2020, 6:08 PM

          @nerdstburns said in Updating Fog Server 1.x.x:

          will I have problems updating to a stable version if I have 1.5.9RC2?

          No you will not have issue the only thing you will need to do to switch back is this

          git checkout master
          git pull
          cd bin
          ./installfog.sh
          

          The current 1.5.9RC2 is very stable and there will (probably) be no (true) difference between 1.5.9RC2 and 1.5.9 GA other than the name change.

          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!

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            3/4
            Last post

          189

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project