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

Can't update GIT or FOG to newer versions.

Scheduled Pinned Locked Moved
FOG Problems
3
12
3.6k
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.
  • M
    ManofValor
    last edited by May 19, 2016, 8:57 PM

    Hey guys,
    I’ve been recently been working on getting FOG connected to my iSCSI NAS device and have finally got them connected. I’m ready to do a test image, to see if it is going to work, and I did a yum update, haven’t updated in a while, then I did a git pull and it said it was up to date, version 1.8.3.1. Then I ran ./installfog.sh and everything went fine with no errors but didn’t update. When the fog management link came up to update ,before hitting enter, it goes to the login page and not the update page. When I push enter it finishes without any issues. Actually, the first two lines, after hitting enter, were:

    • Setting up storage…OK
      ./installfog.sh: line 544: configureDHCP: command not found

    Not sure if that’s something. It’s been a bit since I updated so maybe I forgot something. Thanks for your help in advance.

    GIT ver: 1.8.3.1
    FOG ver: 6867
    Latest stable version is 1.2.0
    Latest svn version is 5505
    Latest git version is 7721

    W 1 Reply Last reply May 19, 2016, 11:29 PM Reply Quote 0
    • T
      Tom Elliott
      last edited by May 19, 2016, 9:07 PM

      What happens if you run:
      git reset --hard; git pull; cd 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! 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

      M T 2 Replies Last reply May 19, 2016, 9:22 PM Reply Quote 0
      • M
        ManofValor @Tom Elliott
        last edited by May 19, 2016, 9:22 PM

        @Tom-Elliott said in Can't update GIT or FOG to newer versions.:

        git reset --hard

        Same.

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott @Tom Elliott
          last edited by May 19, 2016, 10:30 PM

          @Tom-Elliott You’re doing get reset --hard in the fog git directory?

          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

          M 1 Reply Last reply May 20, 2016, 3:13 PM Reply Quote 0
          • W
            Wayne Workman @ManofValor
            last edited by May 19, 2016, 11:29 PM

            @ManofValor my advice would be to just simply delete the entire get directory and re pull the entire thing from GitHub

            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/

            M 1 Reply Last reply May 20, 2016, 3:15 PM Reply Quote 0
            • M
              ManofValor @Tom Elliott
              last edited by May 20, 2016, 3:13 PM

              @Tom-Elliott
              Yes I did.

              1 Reply Last reply Reply Quote 0
              • M
                ManofValor @Wayne Workman
                last edited by May 20, 2016, 3:15 PM

                @Wayne-Workman How do I get rid of everything? I deleted the git dir in the opt folder and in another place , but when I search for git I get a lot of files and folders.

                W 1 Reply Last reply May 20, 2016, 8:17 PM Reply Quote 0
                • W
                  Wayne Workman @ManofValor
                  last edited by May 20, 2016, 8:17 PM

                  @ManofValor You would just follow the instructions in the “Upgrade to trunk” article. But one extra step, just deleting the old one you have and making a new directory to put it in.

                  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/

                  M 1 Reply Last reply May 23, 2016, 1:44 PM Reply Quote 0
                  • M
                    ManofValor @Wayne Workman
                    last edited by May 23, 2016, 1:44 PM

                    @Wayne-Workman

                    [root@localhost opt]# ls
                    fog  git  lost+found  rh  sophos-av  svn  teamviewer
                    [root@localhost opt]# cd git
                    [root@localhost git]# ls
                    fogproject
                    [root@localhost git]# cd fogproject
                    [root@localhost fogproject]# ls
                    [root@localhost fogproject]# git pull
                    bash: /bin/git: No such file or directory
                    [root@localhost fogproject]#
                    

                    I thought I did that. I deleted the old git directory and created a new one and this is what I get.

                    [root@localhost git]# git pull
                    bash: git: command not found...
                    [root@localhost git]# cd fogproject
                    [root@localhost fogproject]# git pull
                    bash: git: command not found...
                    [root@localhost fogproject]# git --version
                    bash: git: command not found...
                    [root@localhost fogproject]# git clone https://github.com/FOGProject/fogproject.git /opt/git/fogproject
                    bash: git: command not found...
                    [root@localhost fogproject]# sudo apt-get update && apt-get install git
                    sudo: apt-get: command not found
                    [root@localhost fogproject]# sudo yum update && yum install git
                    Loaded plugins: fastestmirror, langpacks
                    base                                                                                                                                                                                    | 3.6 kB  00:00:00
                    epel/x86_64/metalink                                                                                                                                                                    |  12 kB  00:00:00
                    epel                                                                                                                                                                                    | 4.3 kB  00:00:00
                    extras                                                                                                                                                                                  | 3.4 kB  00:00:00
                    remi                                                                                                                                                                                    | 2.9 kB  00:00:00
                    remi-safe                                                                                                                                                                               | 2.9 kB  00:00:00
                    updates                                                                                                                                                                                 | 3.4 kB  00:00:00
                    (1/3): epel/x86_64/updateinfo                                                                                                                                                           | 556 kB  00:00:00
                    (2/3): remi/primary_db                                                                                                                                                                  | 1.3 MB  00:00:01
                    (3/3): epel/x86_64/primary_db                                                                                                                                                           | 4.1 MB  00:00:03
                    Loading mirror speeds from cached hostfile
                     * base: mirror.raystedman.net
                     * epel: mirror.oss.ou.edu
                     * extras: mirror.oss.ou.edu
                     * remi: mirrors.mediatemple.net
                     * remi-safe: mirrors.mediatemple.net
                     * updates: mirror.oss.ou.edu
                    No packages marked for update
                    Loaded plugins: fastestmirror, langpacks
                    Loading mirror speeds from cached hostfile
                     * base: mirror.raystedman.net
                     * epel: mirror.utexas.edu
                     * extras: mirror.oss.ou.edu
                     * remi: mirrors.mediatemple.net
                     * remi-safe: mirrors.mediatemple.net
                     * updates: pubmirrors.dal.corespace.com
                    Package git-1.8.3.1-6.el7_2.1.x86_64 already installed and latest version
                    Nothing to do
                    [root@localhost fogproject]# yum install git
                    Loaded plugins: fastestmirror, langpacks
                    Loading mirror speeds from cached hostfile
                     * base: mirror.raystedman.net
                     * epel: mirror.utexas.edu
                     * extras: mirror.oss.ou.edu
                     * remi: mirrors.mediatemple.net
                     * remi-safe: mirrors.mediatemple.net
                     * updates: pubmirrors.dal.corespace.com
                    Package git-1.8.3.1-6.el7_2.1.x86_64 already installed and latest version
                    Nothing to do
                    

                    I think I messed something up. When I deleted git from the opt directory, and it didn’t work, I deleted it in a couple other areas like:
                    /usr/bin/git
                    /usr/share/git-core

                    …and one other area that I forgot. I screwed it up, didn’t I?

                    T 1 Reply Last reply May 23, 2016, 1:52 PM Reply Quote 0
                    • T
                      Tom Elliott @ManofValor
                      last edited by May 23, 2016, 1:52 PM

                      @ManofValor Try:

                      rpm --nodeps -e git; yum -y install git

                      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

                      M 1 Reply Last reply May 23, 2016, 3:12 PM Reply Quote 1
                      • T
                        Tom Elliott
                        last edited by May 23, 2016, 1:54 PM

                        or
                        yum reinstall git -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! 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
                        • M
                          ManofValor @Tom Elliott
                          last edited by May 23, 2016, 3:12 PM

                          @Tom-Elliott said in Can't update GIT or FOG to newer versions.:

                          rpm --nodeps -e git; yum -y install git

                          OK, that went through successfully and I am updated with git and FOG. Thanks again Tom.

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          1 / 1
                          • First post
                            8/12
                            Last post

                          191

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project