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

    Error when upgrading to the latest Trunk

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    4
    1.2k
    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.
    • glienhardG
      glienhard
      last edited by

      When I perform the git pull to obtain the latest Trunk, I get an error that changes need to be committed and then the git aborts. Here is the full transcript from the git pull. I have not manually made any changes to the referenced file.

      root@srv01309:/opt/fogproject# git pull
      remote: Counting objects: 289, done.
      remote: Compressing objects: 100% (68/68), done.
      remote: Total 289 (delta 177), reused 147 (delta 147), pack-reused 69
      Receiving objects: 100% (289/289), 2.37 MiB | 3.87 MiB/s, done.
      Resolving deltas: 100% (182/182), completed with 50 local objects.
      From https://github.com/fogproject/fogproject
         456baa8..b84bae1  dev-branch -> origin/dev-branch
         8f1e322..305260c  svn        -> origin/svn
      Updating b8eb6fb..b84bae1
      error: Your local changes to the following files would be overwritten by merge:
              rpttmp/Hosts and Users.php
      Please, commit your changes or stash them before you can merge.
      Aborting
      
      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        just delete that directory and re-clone the repo. Here are steps for your specific directory location:

        cd /opt
        rm -rf fogproject
        git clone --depth 1 https://github.com/FOGProject/fogproject.git
        cd fogproject/bin
        ./installfog.sh -y
        

        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
        • glienhardG
          glienhard
          last edited by

          Great, thanks. I wanted to post the question just incase there was something else in the code that needed to be know.

          It is all working as advertised now 🙂

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @glienhard
            last edited by

            @glienhard Another option would be, when you see that error, to run:

            git reset --hard

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

            169

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project