<?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[Blank management page after FOG Update]]></title><description><![CDATA[<p dir="auto">Good Afternoon</p>
<p dir="auto">We originally setup our FOG system back in 2018, and it has been working well. As part of some upgrade work we are trying to capture an image of a newer version of Linux to upgrade our HPC Cluster. The old FOG client was having trouble on the newer version of Alma Linux, so we decided that it might be a good idea to upgrade FOG as well.</p>
<p dir="auto">The install/update script seemed to run without a hitch, but at the step where it indicates that you need to open a web browser to <a href="http://xxx.xxx.xxx.xxx/fog/management" target="_blank" rel="noopener noreferrer nofollow ugc">http://xxx.xxx.xxx.xxx/fog/management</a>, I did so, but only got a blank webpage.<br />
I didn’t know what feedback I was expecting for “updating the db schema”, so I assumed that it had happened.</p>
<p dir="auto">Now, any attempt to access the FOG Web UI results in a blank white web page. The only other thing I know is the browser sees it as an HTTP 500 error.</p>
<p dir="auto">OS: CentOS 7.5<br />
FOG: 1.5.10.1634 (Updated to this today)</p>
<p dir="auto">Any help would be greatly appreciated.</p>
]]></description><link>http://forums.fogproject.org/topic/17806/blank-management-page-after-fog-update</link><generator>RSS for Node</generator><lastBuildDate>Fri, 08 May 2026 08:25:58 GMT</lastBuildDate><atom:link href="http://forums.fogproject.org/topic/17806.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 04 Feb 2025 20:49:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Blank management page after FOG Update on Wed, 05 Feb 2025 15:33:31 GMT]]></title><description><![CDATA[<p dir="auto">Last part of the puzzle was that the php-fpm service wasn’t running.<br />
Started it with:</p>
<pre><code>sudo systemctl start php-fpm.service
sudo systemctl enable php-fpm.service
systemctl status php-fpm.service
</code></pre>
<p dir="auto">And now the FOG Web UI is working for me again.</p>
]]></description><link>http://forums.fogproject.org/post/156516</link><guid isPermaLink="true">http://forums.fogproject.org/post/156516</guid><dc:creator><![CDATA[mckayj]]></dc:creator><pubDate>Wed, 05 Feb 2025 15:33:31 GMT</pubDate></item><item><title><![CDATA[Reply to Blank management page after FOG Update on Wed, 05 Feb 2025 14:22:09 GMT]]></title><description><![CDATA[<p dir="auto">OK, apparently that’s all I needed to figure the rest out on my own.</p>
<p dir="auto">The <code>??</code> operator that the error message seemed to be complaining about was <a href="https://stackoverflow.com/a/53610732" target="_blank" rel="noopener noreferrer nofollow ugc">apparently</a> introduced in PHP 7. My old CentOS 7.5 server (Eww, I know <img src="http://forums.fogproject.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f923.png?v=fsgu5qsff2i" class="not-responsive emoji emoji-android emoji--rolling_on_the_floor_laughing" style="height:23px;width:auto;vertical-align:middle" title=":rolling_on_the_floor_laughing:" alt="🤣" /> ) only had PHP 5.6. (Suggesting the install script check the PHP version to make sure it’s at least 7)<br />
I was able to update PHP with the following commands:</p>
<pre><code>sudo yum remove php*
sudo yum install php php-bcmath php-cli php-common php-fpm php-gd php-ldap php-mbstring php-mcrypt php-mysqlnd php-pdo php-pecl-jsonc php-pecl-zip php-process
</code></pre>
<p dir="auto">Doing so replaced the blank white web UI with a message that stated:<br />
“<strong>Service Unavailable</strong> - The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.”</p>
<p dir="auto">I then re-ran the <code>sudo ./installfog.sh</code>, and it ran without any problems. The DB schema update step functioned, and I could then login like normal.</p>
<p dir="auto">However, I don’t think I’m fully out of the woods yet. The install script for some reason messes up the NIS login system, requiring a reboot to make work again, but after the reboot the FOG Web UI is back to showing “Service Unavailable”. I’m suspecting a user permission problem that I need to dig into next (Maybe I should make this a new topic if I need help).</p>
]]></description><link>http://forums.fogproject.org/post/156515</link><guid isPermaLink="true">http://forums.fogproject.org/post/156515</guid><dc:creator><![CDATA[mckayj]]></dc:creator><pubDate>Wed, 05 Feb 2025 14:22:09 GMT</pubDate></item><item><title><![CDATA[Reply to Blank management page after FOG Update on Wed, 05 Feb 2025 13:42:19 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the quick reply</p>
<p dir="auto">The www-error.log file is full of messages like this:</p>
<pre><code>[05-Feb-2025 08:27:03 America/Toronto] PHP Parse error:  syntax error, unexpected '?' in /var/www/html/fog/lib/fog/fogbase.class.php on line 2594
[05-Feb-2025 08:27:03 America/Toronto] PHP Parse error:  syntax error, unexpected '?' in /var/www/html/fog/lib/fog/fogbase.class.php on line 2594
[05-Feb-2025 08:27:03 America/Toronto] PHP Parse error:  syntax error, unexpected '?' in /var/www/html/fog/lib/fog/fogbase.class.php on line 2594
[05-Feb-2025 08:27:03 America/Toronto] PHP Parse error:  syntax error, unexpected '?' in /var/www/html/fog/lib/fog/fogbase.class.php on line 2594
</code></pre>
<p dir="auto">The same message over and over. They even appears when I’m not trying to access the web UI.</p>
<p dir="auto">I had a look at the file mentioned in the error log, and that line looks like its setting and “authorized” flag:</p>
<pre><code>$authorized = self::$FOGUser-&gt;isValid() ||
  strtolower(($_SERVER['HTTP_X_REQUESTED_WITH'] ?? '')) == 'xmlhttprequest';
</code></pre>
<p dir="auto">This made me wonder if old cookies or other site data in my browser was messing it up. So I cleared my cookies and cache and other browser data. No help.</p>
]]></description><link>http://forums.fogproject.org/post/156514</link><guid isPermaLink="true">http://forums.fogproject.org/post/156514</guid><dc:creator><![CDATA[mckayj]]></dc:creator><pubDate>Wed, 05 Feb 2025 13:42:19 GMT</pubDate></item><item><title><![CDATA[Reply to Blank management page after FOG Update on Wed, 05 Feb 2025 11:29:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/41875">@mckayj</a> Ewww CentOS 7.5 <img src="http://forums.fogproject.org/assets/plugins/nodebb-plugin-emoji/emoji/android/23f3.png?v=fsgu5qsff2i" class="not-responsive emoji emoji-android emoji--hourglass_flowing_sand" style="height:23px;width:auto;vertical-align:middle" title=":hourglass_flowing_sand:" alt="⏳" /></p>
<p dir="auto">I’m only kidding. While CentOS 7 is no longer supported and I would (also) suggest moving a a newer OS at this point this isn’t really an issue. Sorry strange mood for me this morning (for me).</p>
<p dir="auto">Can you give us the output of your /var/log/php-fpm/www-error.log file? This likely is where the actual errors are showing and we can help provide more information.</p>
]]></description><link>http://forums.fogproject.org/post/156513</link><guid isPermaLink="true">http://forums.fogproject.org/post/156513</guid><dc:creator><![CDATA[Tom Elliott]]></dc:creator><pubDate>Wed, 05 Feb 2025 11:29:46 GMT</pubDate></item></channel></rss>