<?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 Client and The remote server returned an error: (500)]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have updated FOG server to  the latest stable version: 1.5.10.1903.<br />
FOG server is running on Ubuntu 24.04.4 LTS.</p>
<p dir="auto">The problem is that now FOG clients are returning error:</p>
<p dir="auto">Communication ERROR: Could not contact FOG server<br />
Communication ERROR: The remote server returned an error: (500) Internal Server Error.</p>
<p dir="auto"><img src="/assets/uploads/files/1784708619500-1.png" alt="1.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">When I have checked apache2/error.log I have folowing error:</p>
<p dir="auto">Wed Jul 22 09:45:28.388629 2026] [proxy_fcgi:error] [pid 676068] [client 10.0.0.107:54208] AH01071: Got error ‘PHP message: PHP Fatal error:  Uncaught ValueError: min(): Argument #1 ($value) must contain at least one element in /var/www/fog/lib/fog/storagegroup.class.php:228\nStack trace:\n#0 /var/www/fog/lib/fog/storagegroup.class.php(228): min()\n#1 /var/www/fog/lib/client/snapinclient.class.php(160): StorageGroup-&gt;getMasterStorageNode()\n#2 /var/www/fog/lib/fog/fogpage.class.php(3306): SnapinClient-&gt;json()\n#3 /var/www/fog/lib/fog/fogpage.class.php(255): FOGPage-&gt;requestClientInfo()\n#4 /var/www/fog/lib/pages/dashboardpage.class.php(76): FOGPage-&gt;__construct()\n#5 /var/www/fog/lib/fog/loadglobals.class.php(65): DashboardPage-&gt;__construct()\n#6 /var/www/fog/lib/fog/loadglobals.class.php(79): LoadGlobals::_init()\n#7 /var/www/fog/commons/base.inc.php(38): LoadGlobals-&gt;__construct()\n#8 /var/www/fog/management/index.php(22): require(’…‘)\n#9 {main}\n  thrown in /var/www/fog/lib/fog/storagegroup.class.php on line 228’</p>
<p dir="auto">From the logs I assume that there is a problem with StorageGroup.<br />
I have a few storage groups &amp; storage nodes as per pictures below.<br />
<img src="/assets/uploads/files/1784708944197-st-gr.png" alt="st-gr.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1784709119401-st-nd.png" alt="st-nd.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Snapins Storage group on this FOG server are set to GR storage.</p>
<p dir="auto"><img src="/assets/uploads/files/1784709330980-snapin.png" alt="snapin.png" class=" img-fluid img-markdown" /><br />
Is my setup wrong?<br />
Can you help me somehow?</p>
]]></description><link>http://forums.fogproject.org/topic/18203/fog-client-and-the-remote-server-returned-an-error-500</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 12:42:32 GMT</lastBuildDate><atom:link href="http://forums.fogproject.org/topic/18203.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Jul 2026 08:36:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FOG Client and The remote server returned an error: (500) on Wed, 22 Jul 2026 11:28:40 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><br />
Updated to latest dev-branch and snapins are working now<br />
Thansk for help.</p>
]]></description><link>http://forums.fogproject.org/post/158389</link><guid isPermaLink="true">http://forums.fogproject.org/post/158389</guid><dc:creator><![CDATA[GregorS]]></dc:creator><pubDate>Wed, 22 Jul 2026 11:28:40 GMT</pubDate></item><item><title><![CDATA[Reply to FOG Client and The remote server returned an error: (500) on Wed, 22 Jul 2026 11:11:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/29317">@GregorS</a> Thanks for letting us know.</p>
<p dir="auto">I’ve pushed some code into dev-branch if you’d be willing to install and verify that your fog client functions now?</p>
]]></description><link>http://forums.fogproject.org/post/158388</link><guid isPermaLink="true">http://forums.fogproject.org/post/158388</guid><dc:creator><![CDATA[Tom Elliott]]></dc:creator><pubDate>Wed, 22 Jul 2026 11:11:41 GMT</pubDate></item></channel></rss>