R8333 - Unable to set host location (location plugin)
-
@MRCUR I’m looking at it, also found you can’t (currently) associate new plugins.
-
Confirmed, found, fixed, patched, tested, pushed. Please update and all should be right in the location world again.
-
@Tom-Elliott Now I get a 500 error when trying to change location. Looking for log now.
-
Yeah, I’m not able to replicate the error 500.
-
@Tom-Elliott
[Thu Jun 30 08:22:01.961436 2016] [:error] [pid 8910] [client 10.10.4.50:59996] PHP Warning: array_walk() expects parameter 1 to be array, boolean given in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 119 [Thu Jun 30 08:22:01.994418 2016] [:error] [pid 8910] [client 10.10.4.50:59996] PHP Warning: array_walk() expects parameter 1 to be array, boolean given in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 119 [Thu Jun 30 08:22:05.068089 2016] [mpm_prefork:notice] [pid 8830] AH00169: caught SIGTERM, shutting down [Thu Jun 30 08:22:25.149869 2016] [ssl:warn] [pid 12682] AH01909: 172.16.56.37:443:0 server certificate does NOT include an ID which matches the server name [Thu Jun 30 08:22:25.198595 2016] [ssl:warn] [pid 12683] AH01909: 172.16.56.37:443:0 server certificate does NOT include an ID which matches the server name [Thu Jun 30 08:22:25.202369 2016] [mpm_prefork:notice] [pid 12683] AH00163: Apache/2.4.18 (Ubuntu) PHP/5.6.23-1+deprecated+dontuse+deb.sury.org~trusty+1 OpenSSL/1.0.2h configured -- resuming normal operations [Thu Jun 30 08:22:25.202409 2016] [core:notice] [pid 12683] AH00094: Command line: '/usr/sbin/apache2' [Thu Jun 30 08:24:14.708507 2016] [:error] [pid 12757] [client 10.0.4.12:59715] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 119, referer: http://fogserver.readingsd.org/fog/management/index.php?node=host&sub=edit&id=11718 [Thu Jun 30 08:25:41.004493 2016] [:error] [pid 12763] [client 10.0.4.12:59759] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 120, referer: http://fogserver.readingsd.org/fog/management/index.php?node=host&sub=edit&id=11718
-
@MRCUR said in R8333 - Unable to set host location (location plugin):
Do me a favor and delete the plugin location from the /var/www/fog/lib/plugins. (do not remove the plugin from the GUI).
Then rerun installer.
-
@Tom-Elliott Same 500 error still. Same 30 second timeout issue in the error log.
-
@Tom-Elliott This appears to affect anything on the host page actually. Trying to change an image results in the same 500 error. Everything appears to be set appropriate if registering the host for the first time (although still very slow).
-
@MRCUR Try this please:
rm -rf /var/www/fog /var/www/html/fog rm -rf /home/*.BACKUP
Rerun installer.
-
@Tom-Elliott Do you want me to download the latest version before reinstalling?
-
@MRCUR Yes please.
-
@Tom-Elliott I can now successfully change the host location/image/etc. through the UI. Any idea why changing anything on the “General” page would take upwards of 30 seconds (other tabs are fine)? Server load is 0.8/0.9/0.5.
-
@MRCUR I don’t know why. Just a guess, but maybe there’s a ton of images in your environment?
-
@Tom-Elliott Yeah, 52 images. Does it have to loop through them all?
-
@MRCUR Kind of, yes, but no. I’ll see if I can speed up some of the select menus.
-
@Tom-Elliott Okay cool.
It is randomly throwing 500 errors again, but it seems to make the change anyway. Seems about 50/50 whether or not it refreshes & updates without an error vs doing so with an error.
-
@Tom-Elliott Apache error log entries (different from this morning):
[Thu Jun 30 14:21:57.319123 2016] [:error] [pid 8356] [client 172.16.93.45:48740] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/db/pdodb.class.php on line 76 [Thu Jun 30 14:25:15.563080 2016] [:error] [pid 8378] [client 10.0.4.12:59264] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/db/pdodb.class.php on line 172, referer: http://fogserver.domain.org/fog/management/index.php?node=host&sub=edit&id=11790
-
@MRCUR would you mind doing a full reboot to your server?
-
@Tom-Elliott Rebooted, same issue.
[Thu Jun 30 14:51:08.344012 2016] [:error] [pid 1657] [client 10.0.4.12:58799] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 32 bytes) in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 119, referer: http://fogserver.domain.org/fog/management/index.php?node=host&sub=edit&id=11790 [Thu Jun 30 14:51:15.912554 2016] [:error] [pid 2498] [client 172.16.89.45:61396] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 122, referer: http://fogserver.domain.org/fog/management/index.php?node=host
-
Possibly.