• 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.
    • Scott BS
      Scott B
      last edited by

      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
      
      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @Scott B
        last edited by

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

          @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
          • Scott BS
            Scott B
            last edited by Scott B

            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”.

            Wayne WorkmanW Tom ElliottT 2 Replies Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @Scott B
              last edited by

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

                @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

                Scott BS 1 Reply Last reply Reply Quote 0
                • Scott BS
                  Scott B @Tom Elliott
                  last edited by

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

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

                    149

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project