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

Groups not setting things on hosts.

Scheduled Pinned Locked Moved Solved
Bug Reports
3
6
1.2k
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.
  • W
    Wayne Workman
    last edited by Jun 30, 2016, 7:55 PM

    Running 8347 on Fedora 21,

    I’m trying to assign an image via groups, and AD Settings via groups - it’s not working. Settings are not being set on the individual hosts.

    When I try to do this, these errors spam the Apache error logs:

    [Thu Jun 30 14:48:03.103306 2016] [:error] [pid 3529] [client 10.2.3.170:51747] 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 14:48:02.581157 2016] [:error] [pid 7727] [client 10.2.4.38:50538] 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, referer: http://10.2.1.11/fog/management/index.php?node=task&sub=active
    [Thu Jun 30 14:47:59.032873 2016] [:error] [pid 3381] [client 10.2.3.62:55578] PHP Warning: array_combine(): Both parameters should have an equal number of elements in /var/www/html/fog/lib/fog/fogbase.class.php on line 261
    [Thu Jun 30 14:47:59.028428 2016] [:error] [pid 3381] [client 10.2.3.62:55578] PHP Warning: array_walk() expects parameter 1 to be array, boolean given in /var/www/html/fog/lib/fog/fogpage.class.php on line 847
    [Thu Jun 30 14:47:59.028411 2016] [:error] [pid 3381] [client 10.2.3.62:55578] PHP Warning: array_combine(): Both parameters should have an equal number of elements in /var/www/html/fog/lib/fog/fogbase.class.php on line 261
    [Thu Jun 30 14:47:59.028311 2016] [:error] [pid 3381] [client 10.2.3.62:55578] PHP Warning: PDOStatement::execute(): Error reading result set's header in /var/www/html/fog/lib/db/pdodb.class.php on line 169
    [Thu Jun 30 14:47:59.028285 2016] [:error] [pid 3381] [client 10.2.3.62:55578] PHP Warning: PDOStatement::execute(): MySQL server has gone away in /var/www/html/fog/lib/db/pdodb.class.php on line 169
    

    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
    Daily Clean Installation Results:
    https://fogtesting.fogproject.us/
    FOG Reporting:
    https://fog-external-reporting-results.fogproject.us/

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jun 30, 2016, 11:12 PM

      This is because of bad data in your location plug. Nothing you did, but a script that I removed a while ago in the /var/www/fog/lib/plugins/location/hooks directory.

      The current listing of core location hooks are:

      [root@mastaweb hooks]# ls -l
      total 28
      -rw-r--r--. 1 apache apache 1639 Jun 30 19:08 addlocationgroup.hook.php
      -rw-r--r--. 1 apache apache 5572 Jun 30 19:08 addlocationhost.hook.php
      -rw-r--r--. 1 apache apache 1222 Jun 30 19:08 addlocationmenuitem.hook.php
      -rw-r--r--. 1 apache apache 1348 Jun 30 19:08 addlocationtasks.hook.php
      -rw-r--r--. 1 apache apache  353 Jun 30 19:08 addlocationtype.hook.php
      -rw-r--r--. 1 apache apache 3552 Jun 30 19:08 changeitems.hook.php
      

      Remove the conflicting files and you should have better luck.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      M W 2 Replies Last reply Jul 1, 2016, 12:33 AM Reply Quote 0
      • M
        MRCUR Testers @Tom Elliott
        last edited by Jul 1, 2016, 12:33 AM

        @Tom-Elliott Possibly related to my issues? https://forums.fogproject.org/topic/7960/r8333-unable-to-set-host-location-location-plugin

        1 Reply Last reply Reply Quote 0
        • W
          Wayne Workman @Tom Elliott
          last edited by Jul 1, 2016, 3:02 AM

          @Tom-Elliott this is a stand alone server, I’m not using the location plugin. 😕

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman
            last edited by Jul 1, 2016, 1:33 PM

            Ok, just got a moment to mess with this. Instead of hunting down said files - I just deleted /var/www/html/fog recursively and then updated the server with the latest trunk.

            It appears fixed.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • W
              Wayne Workman
              last edited by Jul 1, 2016, 2:14 PM

              This is fixed - just confirmed it.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

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

              155

              Online

              12.1k

              Users

              17.3k

              Topics

              155.3k

              Posts
              Copyright © 2012-2024 FOG Project