Hello,
I have updated FOG server to the latest stable version: 1.5.10.1903.
FOG server is running on Ubuntu 24.04.4 LTS.
The problem is that now FOG clients are returning error:
Communication ERROR: Could not contact FOG server
Communication ERROR: The remote server returned an error: (500) Internal Server Error.
1.png
When I have checked apache2/error.log I have folowing error:
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->getMasterStorageNode()\n#2 /var/www/fog/lib/fog/fogpage.class.php(3306): SnapinClient->json()\n#3 /var/www/fog/lib/fog/fogpage.class.php(255): FOGPage->requestClientInfo()\n#4 /var/www/fog/lib/pages/dashboardpage.class.php(76): FOGPage->__construct()\n#5 /var/www/fog/lib/fog/loadglobals.class.php(65): DashboardPage->__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->__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’
From the logs I assume that there is a problem with StorageGroup.
I have a few storage groups & storage nodes as per pictures below.
st-gr.png
st-nd.png
Snapins Storage group on this FOG server are set to GR storage.
snapin.png
Is my setup wrong?
Can you help me somehow?