• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Location Plugin - PHP Warning and Location Assigned Node not working

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    1
    1
    22
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Clebboii
      last edited by Clebboii

      Hi all,

      I have 2 issues:

      • Firstly, I noticed that my main server was overheating. Using HTOP I saw that RSYSLOGD was using 80% of my CPU. I then used journalctl -r and saw the following logs:
        Jul 23 11:41:23 FOGServer env[1520]: PHP Warning: Undefined array key “REQUEST_METHOD” in /var/www/html/fog/lib/plugins/location/hooks/addlocationapi.hook.php on line 121
        Jul 23 11:41:18 FOGServer env[1517]: PHP Warning: Undefined array key “REQUEST_METHOD” in /var/www/html/fog/lib/plugins/location/hooks/addlocationapi.hook.php on line 121
        Jul 23 11:41:17 FOGServer env[1517]: PHP Warning: Undefined array key “REQUEST_METHOD” in /var/www/html/fog/lib/plugins/location/hooks/addlocationapi.hook.php on line 121
        Jul 23 11:41:16 FOGServer env[1517]: PHP Warning: Undefined array key “REQUEST_METHOD” in /var/www/html/fog/lib/plugins/location/hooks/addlocationapi.hook.php on line 121
        Jul 23 11:41:14 FOGServer env[1517]: PHP Warning: Undefined array key “REQUEST_METHOD” in /var/www/html/fog/lib/plugins/location/hooks/addlocationapi.hook.php on line 121
        Jul 23 11:41:14 FOGServer env[1517]: PHP Warning: Undefined array key “REQUEST_METHOD” in /var/www/html/fog/lib/plugins/location/hooks/addlocationapi.hook.php on line 121
        Jul 23 11:41:14 FOGServer env[1517]: PHP Warning: Undefined array key “REQUEST_METHOD” in /var/www/html/fog/lib/plugins/location/hooks/addlocationapi.hook.php on line 121
        Jul 23 11:41:14 FOGServer env[1517]: PHP Warning: Undefined array key “REQUEST_METHOD” in /var/www/html/fog/lib/plugins/location/hooks/addlocationapi.hook.php on line 121
        Jul 23 11:41:14 FOGServer env[1517]: PHP Warning: Undefined array key “REQUEST_METHOD” in /var/www/html/fog/lib/plugins/location/hooks/addlocationapi.hook.php on line 121
        Jul 23 11:41:13 FOGServer env[1517]: PHP Warning: Undefined array key “REQUEST_METHOD” in /var/www/html/fog/lib/plugins/location/hooks/addlocationapi.hook.php on line 121
        Jul 23 11:41:23 FOGServer env[1520]: PHP Warning: Undefined array key “REQUEST_METHOD” in /var/www/html/fog/lib/plugins/location/hooks/addlocationapi.hook.php on line 121
        Jul 23 11:41:23 FOGServer env[1520]: PHP Warning: Undefined array key “REQUEST_METHOD” in /var/www/html/fog/lib/plugins/location/hooks/addlocationapi.hook.php on line 121
        Jul 23 11:41:18 FOGServer env[1517]: PHP Warning: Undefined array key “REQUEST_METHOD” in /var/www/html/fog/lib/plugins/location/hooks/addlocationapi.hook.php on line 121
        Jul 23 11:41:17 FOGServer env[1517]: PHP Warning: Undefined array key “REQUEST_METHOD” in /var/www/html/fog/lib/plugins/location/hooks/addlocationapi.hook.php on line 121
        Jul 23 11:41:16 FOGServer env[1517]: PHP Warning: Undefined array key “REQUEST_METHOD” in /var/www/html/fog/lib/plugins/location/hooks/addlocationapi.hook.php on line 121
        It seems something is wrong with the locations plugin. I have followed the tutorials. I have uninstalled for now and that has solved the issue.

      • Secondly, I have 1 storage group and 2 nodes. 1 Master node and 1 storage node. The master node is at our main site and is deploying to the majority of machines. The storage node is on another site and is connected via a VPN. I have used the locations plugin to ensure all machines at their relevant site deploys via their relevant node ( ie. site 1 PC’s should be using the master node.). However it seems that FOG is still deploying based on the amount of available slots on each node (ie. sometimes site 2 tries to deploy over the VPN because site 2 is more busy than site 1).

      Any suggestions or solutions?

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post

      189

      Online

      12.1k

      Users

      17.3k

      Topics

      155.4k

      Posts
      Copyright © 2012-2024 FOG Project