Howto gitsync between snapshots?
-
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.
-
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.
-
I've sent a fix for gitsync after manual git install
https://github.com/pfsense/pfsense/pull/1072
https://redmine.pfsense.org/issues/3593
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.