Create Capture task returns HTTP 500
-
7911
-
I can confirm it works fine in 7909.
This is likely a syntax problem, look in your apache logs. FOG Configuration -> Log Viewer -> Apache error logs.
There should be an error that appears after you try to visit the capture page.
-
[Fri May 27 15:36:24.463223 2016] [:error] [pid 1125] [client 10.106.10.5:9861] PHP Fatal error: Call to a member function isValid() on null in /var/www/html/fog/lib/fog/host.class.php on line 525, referer: http://10.103.72.49/fog/management/index.php?node=host&sub=deploy&id=15&type=2
-
Moving this to bugs.
-
@Wayne-Workman Why is this a bug?
Based on what I can tell, no image is associated to the host.
-
I created a new image called Win7x32
Then went to hosts and set it there:
then to basic tasks, capture:
then i click create and get the 500 error. it all looks correct to me unless I am missing something.
-
Even if no image was associated, fog shouldn’t throw a 500 error. It should just say there is no image associated.
-
@Wayne-Workman It’s not the image that’s the issue. It’s the image group that’s associated does not have any enabled nodes available.
-
Fix for this pushed.