<?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[Database Error when select a group]]></title><description><![CDATA[<p dir="auto">Hi, I installed a fresh Fog Server v1.6-beta-2303 on Ubuntu Server 24.04.4 LTS (Installation Type: Normal Server).</p>
<p dir="auto">I used FOG Web to create a new group. The group was created successfully. However, when I selected the group to add hosts, the UI page was broken and show html format. This error is shown at the end:</p>
<p dir="auto">SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘)’ at line 8</p>
<p dir="auto">When I checked FOG status, all services are enabled. But there are warnings related specifically:</p>
<p dir="auto">Undefined array key “ngmID” in /var/www/fog/lib/router/route.class.php on line 2512<br />
Undefined array key “imageID” in /var/www/fog/lib/router/route.class.php on line 2512<br />
Undefined array key “sID” in /var/www/fog/lib/router/route.class.php on line 2512</p>
<p dir="auto">Log of services that had warnings:</p>
<p dir="auto">fog_admin@fog2026:~$ systemctl status FOG*</p>
<p dir="auto">Apr 01 15:11:38 fog2026 systemd[1]: FOGSnapinReplicator.service: Scheduled restart job, restart counter is at 3.<br />
Apr 01 15:11:38 fog2026 systemd[1]: Started FOGSnapinReplicator.service - FOGSnapinReplicator.<br />
Apr 01 15:11:38 fog2026 env[26974]: PHP Warning:  Undefined array key “ngmID” in /var/www/fog/lib/router/route.class.php on line 2512</p>
<p dir="auto">Apr 01 14:41:34 fog2026 systemd[1]: Started FOGImageSize.service - FOGImageSize.<br />
Apr 01 14:41:34 fog2026 env[25343]: PHP Warning:  Undefined array key “ngmID” in /var/www/fog/lib/router/route.class.php on line 2512<br />
Apr 01 14:41:34 fog2026 env[25343]: PHP Warning:  Undefined array key “imageID” in /var/www/fog/lib/router/route.class.php on line 25&gt;</p>
<p dir="auto">Apr 01 15:11:38 fog2026 systemd[1]: FOGImageReplicator.service: Scheduled restart job, restart counter is at 3.<br />
Apr 01 15:11:38 fog2026 systemd[1]: Started FOGImageReplicator.service - FOGImageReplicator.<br />
Apr 01 15:11:38 fog2026 env[26973]: PHP Warning:  Undefined array key “ngmID” in /var/www/fog/lib/router/route.class.php on line 2512</p>
<p dir="auto">Apr 01 14:41:34 fog2026 systemd[1]: Started FOGSnapinHash.service - FOGSnapinHash.<br />
Apr 01 14:41:34 fog2026 env[25332]: PHP Warning:  Undefined array key “ngmID” in /var/www/fog/lib/router/route.class.php on line 2512<br />
Apr 01 14:41:34 fog2026 env[25332]: PHP Warning:  Undefined array key “sID” in /var/www/fog/lib/router/route.class.php on line 2512<br />
Apr 01 15:11:35 fog2026 env[25332]: PHP Warning:  Undefined array key “ngmID” in /var/www/fog/lib/router/route.class.php on line 2512<br />
Apr 01 15:11:35 fog2026 env[25332]: PHP Warning:  Undefined array key “sID” in /var/www/fog/lib/router/route.class.php on line 2512</p>
<p dir="auto">● FOGMulticastManager.service - FOGMulticastManager<br />
Loaded: loaded (/usr/lib/systemd/system/FOGMulticastManager.service; enabled; preset: enabled)<br />
Active: active (running) since Wed 2026-04-01 14:41:34 EEST; 35min ago</p>
<p dir="auto">Apr 01 15:16:24 fog2026 env[25262]: PHP Warning:  Undefined array key “ngmID” in /var/www/fog/lib/router/route.class.php on line 2512<br />
Apr 01 15:16:24 fog2026 env[25262]: PHP Warning:  Undefined array key “ngmID” in /var/www/fog/lib/router/route.class.php on line 2512<br />
Apr 01 15:16:34 fog2026 env[25262]: PHP Warning:  Undefined array key “ngmID” in /var/www/fog/lib/router/route.class.php on line 2512<br />
Apr 01 15:16:34 fog2026 env[25262]: PHP Warning:  Undefined array key “ngmID” in /var/www/fog/lib/router/route.class.php on line 2512<br />
Apr 01 15:16:44 fog2026 env[25262]: PHP Warning:  Undefined array key “ngmID” in /var/www/fog/lib/router/route.class.php on line 2512<br />
Apr 01 15:16:44 fog2026 env[25262]: PHP Warning:  Undefined array key “ngmID” in /var/www/fog/lib/router/route.class.php on line 2512<br />
Apr 01 15:16:54 fog2026 env[25262]: PHP Warning:  Undefined array key “ngmID” in /var/www/fog/lib/router/route.class.php on line 2512<br />
Apr 01 15:16:54 fog2026 env[25262]: PHP Warning:  Undefined array key “ngmID” in /var/www/fog/lib/router/route.class.php on line 2512<br />
Apr 01 15:17:04 fog2026 env[25262]: PHP Warning:  Undefined array key “ngmID” in /var/www/fog/lib/router/route.class.php on line 2512<br />
Apr 01 15:17:04 fog2026 env[25262]: PHP Warning:  Undefined array key “ngmID” in /var/www/fog/lib/router/route.class.php on line 2512</p>
]]></description><link>http://forums.fogproject.org/topic/18141/database-error-when-select-a-group</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 20:30:27 GMT</lastBuildDate><atom:link href="http://forums.fogproject.org/topic/18141.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 01 Apr 2026 12:48:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Database Error when select a group on Tue, 28 Apr 2026 12:40:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/47877">@mashina</a> Ah, thank you for that and sorry for my denseness. Indeed this is a bug and I’ve replicated and figured out where this is occurring.</p>
<p dir="auto">I have pushed a few mroe adjustments in an attempt find and fix more bugs (thanks AI review and whatnot)</p>
<p dir="auto">Please pull and let me know if there’s any other issues.</p>
]]></description><link>http://forums.fogproject.org/post/158062</link><guid isPermaLink="true">http://forums.fogproject.org/post/158062</guid><dc:creator><![CDATA[Tom Elliott]]></dc:creator><pubDate>Tue, 28 Apr 2026 12:40:06 GMT</pubDate></item><item><title><![CDATA[Reply to Database Error when select a group on Tue, 28 Apr 2026 11:38: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></p>
<p dir="auto">Here is a clearer forum version:</p>
<p dir="auto">What I meant is this:</p>
<p dir="auto">If a group is created but no hosts are added to that group, opening/clicking that empty group in the FOG dashboard throws an error in the browser.</p>
<p dir="auto">I tested this on two separate FOG instances and got the same result on both.</p>
<p dir="auto">Example: If the group sysprep-test-5002 is clicked in the screenshot below.</p>
<p dir="auto"><img src="/assets/uploads/files/1777376242988-screenshot-2026-04-28-143654.png" alt="Screenshot 2026-04-28 143654.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The browser shows this SQL error:</p>
<pre><code class="language-SQLSTATE[42000]:">You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version
for the right syntax to use near ')' at line 8
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1777376178903-screenshot-2026-04-28-143532.png" alt="Screenshot 2026-04-28 143532.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Expected result:</p>
<p dir="auto">FOG should open the empty group normally and show that it has no members, instead of generating a SQL syntax error.</p>
]]></description><link>http://forums.fogproject.org/post/158061</link><guid isPermaLink="true">http://forums.fogproject.org/post/158061</guid><dc:creator><![CDATA[mashina]]></dc:creator><pubDate>Tue, 28 Apr 2026 11:38:46 GMT</pubDate></item><item><title><![CDATA[Reply to Database Error when select a group on Tue, 28 Apr 2026 11:23:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/47877">@mashina</a> Can you describe?</p>
<p dir="auto">I’m not sure I follow what you mean by a “host not associated to a group”?</p>
<p dir="auto">Do you mean a Storage Group without a single Storage Node associated to it?</p>
]]></description><link>http://forums.fogproject.org/post/158060</link><guid isPermaLink="true">http://forums.fogproject.org/post/158060</guid><dc:creator><![CDATA[Tom Elliott]]></dc:creator><pubDate>Tue, 28 Apr 2026 11:23:00 GMT</pubDate></item><item><title><![CDATA[Reply to Database Error when select a group on Tue, 28 Apr 2026 07:02:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/49551">@devle</a> <a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/7217">@Tom-Elliott</a> This problem occurs when there are no hosts associated with the group (the group is empty). This can be closed, but I believe it should be moved to the BUG reports.</p>
]]></description><link>http://forums.fogproject.org/post/158059</link><guid isPermaLink="true">http://forums.fogproject.org/post/158059</guid><dc:creator><![CDATA[mashina]]></dc:creator><pubDate>Tue, 28 Apr 2026 07:02:20 GMT</pubDate></item><item><title><![CDATA[Reply to Database Error when select a group on Tue, 07 Apr 2026 07:12:28 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> Hi, has there been any development with this?</p>
<p dir="auto">I’m facing a situation that’s not quite identical but very similar in my 1.6.0-beta.2297.</p>
<p dir="auto">I already posted to the Forum with the details I thought were relevant, but noticed my FOG status is showing the same messages that are posted here.</p>
]]></description><link>http://forums.fogproject.org/post/158022</link><guid isPermaLink="true">http://forums.fogproject.org/post/158022</guid><dc:creator><![CDATA[mashina]]></dc:creator><pubDate>Tue, 07 Apr 2026 07:12:28 GMT</pubDate></item><item><title><![CDATA[Reply to Database Error when select a group on Wed, 01 Apr 2026 13:09:24 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> Hi Tom,</p>
<p dir="auto">log for apache error:</p>
<pre><code>[Wed Apr 01 16:05:36.847438 2026] [proxy_fcgi:error] [pid 1232] [client 172.28.1.84:48932] AH01071: Got error 'PHP message: PHP Warning:  session_start(): open(/var/lib/php/sessions/sess_f9273cevne2k8cci10csjt7b81, O_RDWR) failed: Permission denied (13) in /var/www/fog/commons/init.php on line 84; PHP message: PHP Warning:  session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/fog/commons/init.php on line 84'
[Wed Apr 01 16:05:36.860169 2026] [proxy_fcgi:error] [pid 1233] [client 172.28.1.84:48946] AH01071: Got error 'PHP message: PHP Warning:  session_start(): open(/var/lib/php/sessions/sess_f9273cevne2k8cci10csjt7b81, O_RDWR) failed: Permission denied (13) in /var/www/fog/commons/init.php on line 84; PHP message: PHP Warning:  session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/fog/commons/init.php on line 84'
[Wed Apr 01 16:05:36.877158 2026] [proxy_fcgi:error] [pid 1234] [client 172.28.1.84:48952] AH01071: Got error 'PHP message: PHP Warning:  session_start(): open(/var/lib/php/sessions/sess_f9273cevne2k8cci10csjt7b81, O_RDWR) failed: Permission denied (13) in /var/www/fog/commons/init.php on line 84; PHP message: PHP Warning:  session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/fog/commons/init.php on line 84'
[Wed Apr 01 16:05:36.889945 2026] [proxy_fcgi:error] [pid 1231] [client 172.28.1.84:48968] AH01071: Got error 'PHP message: PHP Warning:  session_start(): open(/var/lib/php/sessions/sess_f9273cevne2k8cci10csjt7b81, O_RDWR) failed: Permission denied (13) in /var/www/fog/commons/init.php on line 84; PHP message: PHP Warning:  session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/fog/commons/init.php on line 84'
</code></pre>
<p dir="auto">the php-fpm error:</p>
<pre><code>[01-Apr-2026 12:57:13] NOTICE: Terminating ...
[01-Apr-2026 12:57:13] NOTICE: exiting, bye-bye!
[01-Apr-2026 15:57:34] NOTICE: fpm is running, pid 758
[01-Apr-2026 15:57:34] NOTICE: ready to handle connections
[01-Apr-2026 15:57:34] NOTICE: systemd monitor interval set to 10000ms
</code></pre>
]]></description><link>http://forums.fogproject.org/post/158007</link><guid isPermaLink="true">http://forums.fogproject.org/post/158007</guid><dc:creator><![CDATA[devle]]></dc:creator><pubDate>Wed, 01 Apr 2026 13:09:24 GMT</pubDate></item><item><title><![CDATA[Reply to Database Error when select a group on Wed, 01 Apr 2026 12:56:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/49551">@devle</a> Can you post your apache error log or php-fpm?</p>
<p dir="auto">Please see my signature to see where to locate those.</p>
]]></description><link>http://forums.fogproject.org/post/158005</link><guid isPermaLink="true">http://forums.fogproject.org/post/158005</guid><dc:creator><![CDATA[Tom Elliott]]></dc:creator><pubDate>Wed, 01 Apr 2026 12:56:13 GMT</pubDate></item></channel></rss>