FOG Membership will not list
-
@ablohowiak Any news on this?
-
Upgraded to 8479, but the issue continues whenever “membership” is clicked.
PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogbase.class.php on line 215, referer: http://fog/fog/management/index.php?node=image&sub=edit&id=1901
Is there something I can look for in the tables to check the consistency?
-
@ablohowiak How many hosts do you have? How many hosts are associated to that image?
-
@Tom-Elliott
It doesn’t seem to matter. The a group of 6 or 100 gives similar results. -
@ablohowiak Can you try:
Deleteing the /var/www/fog and /var/www/html/fog directories (backing up any of your own custom additions if any.)
Then rerun the installer? With any luck it’s just something is impeding flow that i cannot guess on.
-
@Tom-Elliott said in FOG Membership will not list:
Deleteing the /var/www/fog and /var/www/html/fog directories (backing up any of your own custom additions if any.)
Then rerun the installer? With any luck it’s just something is impeding flow that i cannot guess onWill that affect the FTP password?
-
@ablohowiak No.
-
@ablohowiak Groups in fog trunk version from 3 - 5 days ago had issues. Update and it should now work.
Also, the current installer ensures ftp credentials are correct for the machine it runs on.
-
@Tom-Elliott
No luck. I removed both /var/www/fog and /var/www/html/fog. I downloaded and installed version 8533. Still when membership is clicked on in groups I eventually get a blank page. This was from a group with 6 members.PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 44, referer: http://fog/fog/management/?node=group&sub=edit&id=1476
-
@ablohowiak We’re getting the exact same error on 8529
-
@Wayne-Workman I don’t think you’re getting the “exact same message”.
If I remember correctly, yours was occurring while trying to setup a tasking for all hosts in the group.
-
Hey all, please update and try again. I’ve not added the bits in “deploy” modes (as your issue was @Wayne-Workman ) however I did add some testing code bits for the “membership” tab. Hopefully all may work, though of course I suppose it probably won’t matter.
-
@Tom-Elliott
Version 8603 did the trick!FYI, when results are first displayed on the page it looks like almost all hosts are returned. Then a second or two later just the members are displayed.
A big THANK YOU to Tom and the rest of the team for the time and effort you all put into this project!
-
@ablohowiak THe first list of “all hosts” you’re seeing is the “Hosts not in me.” jQuery, which hides those results, will only hide once all the data is returned and the website is loaded.
-
If you update again, I’ve taken (I think) a cleaner approach to showing the membership list information. It should still work, but also no longer timeout. It should even be “faster” than it was before.
I’ve also heavily modified the deploy functionality from groups as well for a similar effect, but it is a little harsher on speed as it has to load the object in an iterative fashion, versus try to obtain all objects all at once.