Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Howto gitsync between snapshots?

    Scheduled Pinned Locked Moved 2.2 Snapshot Feedback and Problems - RETIRED
    3 Posts 2 Posters 1.7k Views
    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.
    • marcellocM
      marcelloc
      last edited by

      I'm trying to gitsync pfsense 2.2 with pfSsh.php playback gitsync master

      But I'm getting errors

      Starting the pfSense shell system...............
      
      Cannot find git, fetching...
      Trying to fetch package info... Done.
      
      Beginning package installation for git . 100%
      Installing git and its dependencies.Done.
      ===> Checking out master
      Executing cd /root/pfsense//pfSenseGITREPO && git clone git://github.com/pfsense/pfsense.git pfSenseGITREPO
      git: not found
      cd: /root/pfsense//pfSenseGITREPO/pfSenseGITREPO: No such file or directory
      cd: /root/pfsense//pfSenseGITREPO/pfSenseGITREPO: No such file or directory
      cd: /root/pfsense//pfSenseGITREPO/pfSenseGITREPO: No such file or directory
      cd: /root/pfsense//pfSenseGITREPO/pfSenseGITREPO: No such file or directory
      cd: /root/pfsense//pfSenseGITREPO/pfSenseGITREPO: No such file or directory
      cd: /root/pfsense//pfSenseGITREPO/pfSenseGITREPO: No such file or directory
      ===> Installing new files...
      cd: /root/pfsense//pfSenseGITREPO/pfSenseGITREPO: No such file or directory
      cd: /root/pfsense//pfSenseGITREPO/pfSenseGITREPO: No such file or directory
      ===> Removing FAST-CGI temporary files...
      ===> Upgrading configuration (if needed)...
      ===> Configuring filter...
      ===> Running /etc/rc.php_ini_setup...
      ===> Locking down the console if needed...
      ===> Signaling PHP and Lighty restart...
      ===> Checkout complete.
      
      Your system is now sync'd and PHP and Lighty will be restarted in 5 seconds.
      
      

      Treinamentos de Elite: http://sys-squad.com

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        The git package didn't install for some reason. Try to install the git package from the GUI and see if it works after that.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          I've sent a fix for gitsync after manual git install

          https://github.com/pfsense/pfsense/pull/1072

          https://redmine.pfsense.org/issues/3593

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.