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

    Git pull failed

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    git database schema
    2
    4
    1.3k
    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.
    • Chris ShipleyC
      Chris Shipley
      last edited by

      Server
      • FOG Version: 1.4.0-RC-9.3
      • OS: CentOS Release 6.8
      Description

      I successfully did a git pull on one system, but when I went to do another, I never got the database schema update screen to load fully and give me the button to update the schema. See attached shots.
      0_1493854447485_fog-update-script.png
      when script gets to this point, here’s what my browser looks like:
      0_1493854467601_fog-update-browser.png
      I have verified that it worked just fine on the other server. Where might I be able to find the error to this server. I have a deployment very soon and this is inconvenient 🙂

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

        I don’t know what was wrong, but you could simply reclone the repository.

        (It seems to me something was not applied properly).

        Maybe you can try:

        git reset --hard
        git checkout master
        git pull
        git checkout dev-branch
        git pull
        

        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
        • Chris ShipleyC
          Chris Shipley
          last edited by

          Here are the results of that:

          [] cd /root/fogproject
          [] git reset --hard
          HEAD is now at ded2598 Use predefined set of cores - 1 for zstd reasonings. Use PIGZ to decompress gzip compressed images rather than relying on seemingly faulty zstd decompression of gzip.
          [] git checkout master
          Branch master set up to track remote branch master from origin.
          Switched to a new branch 'master'
          [] git pull
          Already up-to-date.
          [] git checkout dev-branch
          Switched to branch 'dev-branch'
          [] git pull
          Already up-to-date.
          
          1 Reply Last reply Reply Quote 0
          • Chris ShipleyC
            Chris Shipley
            last edited by

            Which, after running the install script again, worked fine. Thanks, @Tom-Elliott

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

            180

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project