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

ran update to current svn, not showing a change

Scheduled Pinned Locked Moved Solved
FOG Problems
3
8
2.8k
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.
  • S
    Scott B
    last edited by Feb 10, 2016, 2:08 PM

    I noticed this the other day, on the fog primary I run the update as I always have to move to the current svn trunk. However the version number hasn’t changed. My storage node reports just fine. Where else can I check to see if a new svn has been applied other than the cloud image or the system activity window? My primary reports 6179 and the node says its 6261.

    I’ve tried removing the svn directory as a whole and letting it download everything again as well as using wget, extracting, and installing.

    Ubuntu 14.04
    Original install command:

    svn co https://svn.code.sf.net/p/freeghost/code/trunk ~/svn/trunk
    cd ~/svn/trunk/bin
    ./installfog.sh
    
    

    Update command:

    cd ~/svn/trunk/bin
    svn up
    cd bin
    ./installfog.sh
    
    W 1 Reply Last reply Feb 10, 2016, 3:02 PM Reply Quote 0
    • W
      Wayne Workman @Scott B
      last edited by Feb 10, 2016, 3:02 PM

      @Scott-B said:

      cd ~/svn/trunk/bin
      svn up
      cd bin
      ./installfog.sh

      That’s your problem I think. Don’t go into the bin directory to update. that only updates the directory you’re in I think.

      Instead, go first to ~/svn/trunk and then svn up.

      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 3
      • T
        Tom Elliott
        last edited by Feb 10, 2016, 4:54 PM

        @Wayne-Workman you’re absolutely correct.

        I make changes quite often, but it’s not that often I make any changes to the bin directory.

        Whatever directory you’re in, and up the tree, will be updated when doing that svn up method.

        For example:

        cd /opt/fog/svn/trunk/packages/web/lib/fog
        svn up
        

        Will only update files in the packages web lib fog and up (if there are).

        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 1
        • S
          Scott B
          last edited by Scott B Feb 10, 2016, 2:01 PM Feb 10, 2016, 7:58 PM

          I changed a few things around and ran both on the primary and the storage node. Exact same commands. Storage node updated. Primary still on 6179.

          Install:

          cd /root
          mkdir fogsvn
          cd fogsvn
          mkdir trunk
          cd trunk
          svn checkout https://svn.code.sf.net/p/freeghost/code/trunk /root/fogsvn/trunk
          cd /root/fogsvn/trunk/bin
          ./installfog.sh
          

          Update:

          cd /root/fogsvn/trunk
          svn up
          cd bin
          ./installfog.sh
          

          I don’t get why 1 updates fine and the other doesn’t when the same commands are used. Could me something little I’m just not seeing. If move to the trunk folder and do a svn up, both say “At revision 4792”.

          W T 2 Replies Last reply Feb 10, 2016, 8:14 PM Reply Quote 0
          • W
            Wayne Workman @Scott B
            last edited by Feb 10, 2016, 8:14 PM

            @Scott-B I guess we should start with the basics. How are you determining the version? Are you going through the entire installation process when you update?

            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
            • T
              Tom Elliott @Scott B
              last edited by Tom Elliott Feb 10, 2016, 6:23 PM Feb 11, 2016, 12:21 AM

              @Scott-B Is it possible that the links are causing weird things?

              I create a link to the fog folder in (where applicable):

              /var/www/html/fog/ (yes recursive i know)

              If it’s debian/ubuntu with /var/www/html, I create a link to:
              /var/www/

              This is so things can be left alone (clients where you have a webroot of / and client is looking at /fog/) This way you don’t have to update all clients to use the new webroot methods.

              Can you delete all webroot paths for fog?

              rm -rf /var/www/fog
              rm -rf /var/www/html/fog
              

              Then rerun the fog installer?

              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

              S 1 Reply Last reply Feb 12, 2016, 5:37 PM Reply Quote 0
              • S
                Scott B @Tom Elliott
                last edited by Feb 12, 2016, 5:37 PM

                @Tom-Elliott said:

                @Scott-B Is it possible that the links are causing weird things?

                Can you delete all webroot paths for fog?

                rm -rf /var/www/fog
                rm -rf /var/www/html/fog
                

                Then rerun the fog installer?

                Thanks Tom, that did the trick.

                1 Reply Last reply Reply Quote 1
                • T
                  Tom Elliott
                  last edited by Feb 12, 2016, 5:38 PM

                  Amazing what I know sometimes, even if I can’t seem to do anything right today 🙂

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

                  204

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project