<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[FOG Update errors]]></title><description><![CDATA[<p dir="auto">I had install errors updating my Trunk version on Ubuntu 20.04 LTS. I updated Ubuntu to 22.04 LTS. Now I am receiving a GIT conflict on the git pull a install script error</p>
]]></description><link>http://forums.fogproject.org/topic/17597/fog-update-errors</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 11:30:13 GMT</lastBuildDate><atom:link href="http://forums.fogproject.org/topic/17597.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Aug 2024 02:39:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FOG Update errors on Wed, 07 Aug 2024 20:34:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/7217">@Tom-Elliott</a> said in <a href="/post/155344">FOG Update errors</a>:</p>
<blockquote>
<p dir="auto">./installfog.sh -y</p>
</blockquote>
<p dir="auto">Thanks Tom! I am up and running again!</p>
]]></description><link>http://forums.fogproject.org/post/155345</link><guid isPermaLink="true">http://forums.fogproject.org/post/155345</guid><dc:creator><![CDATA[JGeear]]></dc:creator><pubDate>Wed, 07 Aug 2024 20:34:46 GMT</pubDate></item><item><title><![CDATA[Reply to FOG Update errors on Wed, 07 Aug 2024 20:23:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/32622">@JGeear</a> Seems you still have some merge issues happening on your side.</p>
<p dir="auto">You could try deleting the <code>~/fogproject</code> directory and reclone the repository. That should fix any of the merge conflicts you’re seeing.</p>
<p dir="auto">I think you can even do:</p>
<pre><code>rm -rf ~/fogproject
git clone https://github.com/fogproject/fogproject.git --branch=dev-branch
cd fogproject/bin
./installfog.sh -y
</code></pre>
<p dir="auto">the merge issues on your side are likely from our attempts to fix up the author commits, just so you don’t think I’m blaming you.</p>
<p dir="auto">It should be fixed by just getting a fresh repository to work with though.</p>
]]></description><link>http://forums.fogproject.org/post/155344</link><guid isPermaLink="true">http://forums.fogproject.org/post/155344</guid><dc:creator><![CDATA[Tom Elliott]]></dc:creator><pubDate>Wed, 07 Aug 2024 20:23:25 GMT</pubDate></item><item><title><![CDATA[Reply to FOG Update errors on Wed, 07 Aug 2024 20:10:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/7217">@Tom-Elliott</a>  Awesome that worked I was able to complete the update. I did receive a error unable to update database. Apache error log.</p>
<pre><code>[Wed Aug 07 16:02:42.370052 2024] [proxy_fcgi:error] [pid 207214] [client 10.160.241.168:57856] AH01071: Got error 'PHP message: PHP Parse error:  syntax error, unexpected token "&lt;&lt;" in /var/www/fog/lib/fog/system.class.php on line 56'
[Wed Aug 07 16:02:45.486205 2024] [proxy_fcgi:error] [pid 207210] [client 10.160.241.168:57855] AH01071: Got error 'PHP message: PHP Parse error:  syntax error, unexpected token "&lt;&lt;" in /var/www/fog/lib/fog/system.class.php on line 56'```</code></pre>
]]></description><link>http://forums.fogproject.org/post/155343</link><guid isPermaLink="true">http://forums.fogproject.org/post/155343</guid><dc:creator><![CDATA[JGeear]]></dc:creator><pubDate>Wed, 07 Aug 2024 20:10:48 GMT</pubDate></item><item><title><![CDATA[Reply to FOG Update errors on Wed, 07 Aug 2024 18:25:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/7217">@Tom-Elliott</a> Thanks, it seems to be sorted</p>
<p dir="auto">Last night I did re-clone fresh. After deleting the /opt/fogproject directory then</p>
<p dir="auto">I did</p>
<pre><code>sudo git clone https://github.com/FOGProject/fogproject.git /opt/fogproject
</code></pre>
<pre><code>sudo git checkout dev-branch
</code></pre>
<p dir="auto">Then ./.install  - This installed the latest stable release</p>
<p dir="auto">Just a few minutes ago, I did a git pull and some files were updated and when I ran the install this time, I got the latest dev-branch version: 1.5.10.1566</p>
]]></description><link>http://forums.fogproject.org/post/155341</link><guid isPermaLink="true">http://forums.fogproject.org/post/155341</guid><dc:creator><![CDATA[Fog_Newb]]></dc:creator><pubDate>Wed, 07 Aug 2024 18:25:06 GMT</pubDate></item><item><title><![CDATA[Reply to FOG Update errors on Fri, 09 Aug 2024 17:35:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/32622">@JGeear</a> <a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/43144">@Fog_Newb</a> We had a couple of author informations that was incorrect and those were updated with removing the old references.</p>
<p dir="auto">That said, you should be able to just reclone and thing would work fine.</p>
<p dir="auto">Unsure if there’s a way to reset appropriately:</p>
<p dir="auto">Something like:</p>
<pre><code>git fetch origin
git reset --hard origin/stable
git reflog expire --expire=now --all
git gc --prune=now
</code></pre>
<p dir="auto">I typically do this on every update</p>
<pre><code>gitBranch='stable'; #or 'dev-branch' or 'working-1.6'
git fetch --all
git reset --hard origin/$gitBranch
#if it's not all good at this point I might add
git checkout $gitBranch
git pull origin $gitBranch
</code></pre>
<p dir="auto">I think the reflog and prune Tom gave here are good too, just wanted to throw in what I’ve always had success with</p>
]]></description><link>http://forums.fogproject.org/post/155323</link><guid isPermaLink="true">http://forums.fogproject.org/post/155323</guid><dc:creator><![CDATA[Tom Elliott]]></dc:creator><pubDate>Fri, 09 Aug 2024 17:35:11 GMT</pubDate></item><item><title><![CDATA[Reply to FOG Update errors on Wed, 07 Aug 2024 03:38:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/30416">@george1421</a> <a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/7217">@Tom-Elliott</a> Something is going on with the repository/branches</p>
]]></description><link>http://forums.fogproject.org/post/155322</link><guid isPermaLink="true">http://forums.fogproject.org/post/155322</guid><dc:creator><![CDATA[Fog_Newb]]></dc:creator><pubDate>Wed, 07 Aug 2024 03:38:37 GMT</pubDate></item><item><title><![CDATA[Reply to FOG Update errors on Wed, 07 Aug 2024 03:27:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/43144">@Fog_Newb</a><br />
I receive the following messages trying to  do a dev-branch and git pull.<br />
<img src="/assets/uploads/files/1723001222787-fog.png" alt="FOG.png" class=" img-fluid img-markdown" /></p>
]]></description><link>http://forums.fogproject.org/post/155321</link><guid isPermaLink="true">http://forums.fogproject.org/post/155321</guid><dc:creator><![CDATA[JGeear]]></dc:creator><pubDate>Wed, 07 Aug 2024 03:27:11 GMT</pubDate></item><item><title><![CDATA[Reply to FOG Update errors on Wed, 07 Aug 2024 03:12:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/32622">@JGeear</a> I was getting stuff like this.</p>
<p dir="auto"><a href="https://i.imgur.com/zdqF4q8.png" target="_blank" rel="noopener noreferrer nofollow ugc">https://i.imgur.com/zdqF4q8.png</a></p>
]]></description><link>http://forums.fogproject.org/post/155320</link><guid isPermaLink="true">http://forums.fogproject.org/post/155320</guid><dc:creator><![CDATA[Fog_Newb]]></dc:creator><pubDate>Wed, 07 Aug 2024 03:12:51 GMT</pubDate></item><item><title><![CDATA[Reply to FOG Update errors on Wed, 07 Aug 2024 08:43:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/32622">@JGeear</a> Yeah something is messed up with the branches or something. I got that too. Tons of conflicts and a message about not a trusted repository or something. I figured it was on me because I had just restored a snapshot of the FOG VM.</p>
<p dir="auto">I wiped the fog installer directory, in my case /opt/fogproject then I re-downloaded,</p>
<pre><code>sudo git clone https://github.com/FOGProject/fogproject.git /opt/fogproject 
</code></pre>
<p dir="auto">set to dev-branch but it ended up installing the latest stable version: 1.5.10.1565</p>
<pre><code>sudo git checkout dev-branch
</code></pre>
<p dir="auto">Tells me - Already on ‘dev-branch’</p>
]]></description><link>http://forums.fogproject.org/post/155319</link><guid isPermaLink="true">http://forums.fogproject.org/post/155319</guid><dc:creator><![CDATA[Fog_Newb]]></dc:creator><pubDate>Wed, 07 Aug 2024 08:43:01 GMT</pubDate></item></channel></rss>