Problems with gitsyncing the ipv6 development branch
-
Hi guys,
I'm not sure git is syncing properly on my firewall.
Here's what I know. I installed a fresh build of pfsense AMD64 from Sunday May 15th to a disk on my firewall. I followed the directions on the how-to and synced my system up just fine.Restored my config, rebooted and it looked like everything was working fine. Went to update to todays build but I never saw the system sync per the auto-update sync option. Pfsense did it's update and rebooted "real quick".
So I went to the developer shell on the console and tried to manually sync, here's what I get after I open the dev console:
pfSense shell: playback gitsync Playback of file gitsync started. git: 1: Syntax error: word unexpected (expecting ")") Current repository is git://github.com/pfsense/pfsense.git Please select which branch you would like to sync against: master 2.0 development branch RELENG_1_2 1.2* release branch build_commit The commit originally used to build the image Or alternatively you may enter a custom RCS branch URL (HTTP). > git://github.com/smos/pfsense-ipv6.git git: 1: Syntax error: word unexpected (expecting ")") NOTE: git://github.com/smos/pfsense-ipv6.git was not found. Is this a custom GIT URL? [y]? Checkout which branch [master]? Add a custom RCS branch URL (HTTP) to merge in or press enter if done. > ===> Checking out master ===> Fetching updates... git: 1: Syntax error: word unexpected (expecting ")") git: 1: Syntax error: word unexpected (expecting ")") git: 1: Syntax error: word unexpected (expecting ")") git: 1: Syntax error: word unexpected (expecting ")") ===> Installing new files... ===> 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.
Any idea what's going on with those syntax errors?
Please let me know if you need more info to help derermine the source of my problem.
Thank you!
-Will
-
Did you gitsync on the 15th with the Gitorious repository before it was changed to the new github? If so you need to run one of the following commands then gitsync as usual:
rm -rf /root/pfsense/
or
cd /root/pfsense/pfSenseGITREPO/pfSenseGITREPO; git remote set-url origin git://github.com/pfsense/pfsense.git
http://forum.pfsense.org/index.php/topic,36782.0.html
-
Hello,
I used the github.com link per the "git repository change" sticky.
They first post-install sync appeared to go just fine, about 22Mb was downloaded, my ipv6 config file loaded and my tunnel came right up.
After that I updated to the latest snapshot but instead of it taking a little while after pfsense was done updating to sync the system immediately went to the post-update shutdown. That is what prompted me to try updating manually where I noticed the errors.
-Will
-
Hi guys,
Just to be clear, I used an .iso dating from the 15th to install, but I did the install last night.
I tried the commands that onhel suggested. Running " git remote set-url origin git://github.com/pfsense/pfsense.git" produced this error:
/usr/local/bin/git: Exec format error. Binary file not executable.
Deleting /root/pfsense and manually updating produces this result:
Or alternatively you may enter a custom RCS branch URL (HTTP). > https://github.com/smos/pfsense-ipv6.git NOTE: https://github.com/smos/pfsense-ipv6.git was not found. Is this a custom GIT URL? [y]? Checkout which branch [master]? Add a custom RCS branch URL (HTTP) to merge in or press enter if done. > ===> Checking out master Executing cd /root/pfsense//pfSenseGITREPO && git clone https://github.com/smos/pfsense-ipv6.git pfSenseGITREPO git: 1: Syntax error: word unexpected (expecting ")") cd: can't cd to /root/pfsense//pfSenseGITREPO/pfSenseGITREPO cd: can't cd to /root/pfsense//pfSenseGITREPO/pfSenseGITREPO cd: can't cd to /root/pfsense//pfSenseGITREPO/pfSenseGITREPO cd: can't cd to /root/pfsense//pfSenseGITREPO/pfSenseGITREPO cd: can't cd to /root/pfsense//pfSenseGITREPO/pfSenseGITREPO ===> Installing new files... mv: rename /root/pfsense//pfSenseGITREPO/pfSenseGITREPO/.git to /root/pfsense//pfSenseGITREPO/gitsync_temp.git: No such file or directory cd: can't cd to /root/pfsense//pfSenseGITREPO/pfSenseGITREPO mv: rename /root/pfsense//pfSenseGITREPO/gitsync_temp.git to /root/pfsense//pfSenseGITREPO/pfSenseGITREPO/.git: No such file or directory cd: can't cd to /root/pfsense//pfSenseGITREPO/pfSenseGITREPO ===> 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.
Any ideas what's going on here?
-Will
-
you've changed from i386 to amd64 likely or vice versa
-
Hi guys,
Hmmmm….does the auto-updater check 32 vs. 64 bit when it runs?
I've changed over from 32 to 64 and I bet I still have the i386 update url set in my config!
Now that I think about it that would explain a lot..I would have sworn I was running 64 bit which is why I updated last night.
-Will