Pandora FMS community forums
"There was an error creating the group" - Printable Version

+- Pandora FMS community forums (https://pandorafms.org/forum)
+-- Forum: Pandora FMS (https://pandorafms.org/forum/forum-3.html)
+--- Forum: Advanced troubleshooting and problems (https://pandorafms.org/forum/forum-11.html)
+--- Thread: "There was an error creating the group" (/thread-8225.html)



"There was an error creating the group" - breadcrumb - 02-22-2017

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.





Re: "There was an error creating the group" - antonio - 02-23-2017

Hello breadcrumb,

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

Kind regards,
Antonio.


Re: "There was an error creating the group" - breadcrumb - 02-24-2017

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.




Re: "There was an error creating the group" - antonio - 02-27-2017

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.