I recently upgrade both my OS (Debian 10 -> 11 --> 12) and FOG (1.5.9 => 1.5.10). At each step I tested “Deploy” and “Capture” task but forgot to test “Image creation”. Now, if I click on “Create New Image”, it give a blank screen.
Apache2 log:
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/pages/imagemanagementpage.class.php(481): StorageGroup->getMasterStorageNode()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(220): ImageManagementPage->add()\n#3 /var/www/fog/management/index.php(58): FOGPageManager->render()\n#4 {main}\n thrown in /var/www/fog/lib/fog/storagegroup.class.php on line 228’, referer: http://172.29.10.9/fog/management/index.php?node=image&sub=list
All other menu worked. I can list all my current image with “List All Images”