Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Advanced troubleshooting “There was an error creating the group”

  • “There was an error creating the group”

    Posted by breadcrumb on February 22, 2017 at 18:01

    Hi,

    Since the release of 6.x I have been unable to create additional agent groups using the web console interface – I have had to manually go and create the groups using sql. Currently I have experienced the same problem with 6 SP5.

    Everything I do is as per the documentation and once the form is submitted the response I get is “ERROR  There was a problem creating the group.

    The apache log simply shows that it accessed “http://localhost/pandora_console/index.php?sec=gagente&sec2=godmode/groups/configure_group&pure=0” . There are no errors produced within the logfiles.

    antonio replied 7 years, 10 months ago 2 Members · 3 Replies
  • 3 Replies
  • antonio

    Member
    February 23, 2017 at 13:49
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello breadcrumb,

    Could you also check the pandora logfile? By default: /var/www/html/pandora_console/pandora_console.log

    Kind regards,
    Antonio.

  • breadcrumb

    Member
    February 24, 2017 at 18:24
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi Antonio, thanks.

    I tried again while monitoring the console log as suggested. Still fails and I’m getting the following error pop  up:

    PHP Warning:  Creating default object from empty value in /srv/www/htdocs/pandora_console/godmode/groups/group_list.php on line 304

    Line 304 in that php code is working on the table object:

    301:  db_clean_cache();
    302:  $groups = users_get_groups_tree ($config[‘id_user’], “AR”, true);
    303:
    304:  $table->width = ‘100%’;

    As far as I can see thats when it has already tried to create the group and moved on to displaying the table again.

  • antonio

    Member
    February 27, 2017 at 12:51
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello breadcrumb,

    What’s the user permissions your user has? Have you tried creating the groups with the global admin user? It looks like it may be something related to permissions.

    Kind regards,
    Antonio.