Getting error Found no $GroupID for users!

Moderator: crythias

Locked
msksharma
Znuny newbie
Posts: 91
Joined: 24 Mar 2014, 13:58
Znuny Version: 6.0.26
Real Name: Krishna M S
Company: Toradex AG

Getting error Found no $GroupID for users!

Post by msksharma »

Hi,

I am seeing this error in our Admin log

Found no $GroupID for users!

However things are working otherwise. How do we fix this problem?

Thanks,
Krishna M S
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Getting error Found no $GroupID for users!

Post by RStraub »

1) Locate the problem:
Find out for what action on which page it appears

2) Get more info:
The Admin log does not conatin the complete trace of the error. Rather look into the apache log
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
nd0
Znuny expert
Posts: 232
Joined: 24 Mar 2015, 16:53
Znuny Version: 5.0.14
Location: Colonia

Re: Getting error Found no $GroupID for users!

Post by nd0 »

Is there a group called "users" in your OTRS?

OTRS is putting every (new) Customer in a group called "users" ... i guess you changed the name of this group - right? ;-)
LIVE: OTRS 5.0.14 || Debian || MySQL/LDAP
TEST: OTRS 5.0.14 || Debian || MySQL/LDAP
msksharma
Znuny newbie
Posts: 91
Joined: 24 Mar 2014, 13:58
Znuny Version: 6.0.26
Real Name: Krishna M S
Company: Toradex AG

Re: Getting error Found no $GroupID for users!

Post by msksharma »

Hi,

There is no group by name users.

Should i add that?

Thanks,
Krishna M S
nd0
Znuny expert
Posts: 232
Joined: 24 Mar 2015, 16:53
Znuny Version: 5.0.14
Location: Colonia

Re: Getting error Found no $GroupID for users!

Post by nd0 »

You can either create a group with the name "users" (1) or just change the defined group every customer user will be in (2).

(easy way)
(1) -> "users" is a predefined group where every (new) user is put in ... so if you create this group "users" every user in your OTRS will be in that group...

(better would be:)
(2) -> GO TO: Admin > SysConfig > SEARCH FOR: CustomerGroupAlwaysGroups (Framework -> Frontend::Customer) -> DELETE "users"

/e: Screenshot
You do not have the required permissions to view the files attached to this post.
LIVE: OTRS 5.0.14 || Debian || MySQL/LDAP
TEST: OTRS 5.0.14 || Debian || MySQL/LDAP
msksharma
Znuny newbie
Posts: 91
Joined: 24 Mar 2014, 13:58
Znuny Version: 6.0.26
Real Name: Krishna M S
Company: Toradex AG

Re: Getting error Found no $GroupID for users!

Post by msksharma »

Hi,

Before your reply, i created a group called users. Would that cause any problems?

Now the error messages are gone.

Should i leave it as it is?.

Thanks,
Krishna M S
nd0
Znuny expert
Posts: 232
Joined: 24 Mar 2015, 16:53
Znuny Version: 5.0.14
Location: Colonia

Re: Getting error Found no $GroupID for users!

Post by nd0 »

Nah .. don't think this will cause any problems, but you should be aware that every (new) user (AND all your existing users) will be a member of the group "users" ;-)
LIVE: OTRS 5.0.14 || Debian || MySQL/LDAP
TEST: OTRS 5.0.14 || Debian || MySQL/LDAP
msksharma
Znuny newbie
Posts: 91
Joined: 24 Mar 2014, 13:58
Znuny Version: 6.0.26
Real Name: Krishna M S
Company: Toradex AG

Re: Getting error Found no $GroupID for users!

Post by msksharma »

Hi,

Can i later make this group later inactive and delete the option you suggested?

Will it create problems?

Thanks,
Krishna M S
nd0
Znuny expert
Posts: 232
Joined: 24 Mar 2015, 16:53
Znuny Version: 5.0.14
Location: Colonia

Re: Getting error Found no $GroupID for users!

Post by nd0 »

You are right! That's the way it has to be done

problems -> i dont know :-D
LIVE: OTRS 5.0.14 || Debian || MySQL/LDAP
TEST: OTRS 5.0.14 || Debian || MySQL/LDAP
pvanos
Znuny newbie
Posts: 23
Joined: 26 Sep 2014, 13:59
Znuny Version: 3.3.10
Company: KSZ-BCSS

Re: Getting error Found no $GroupID for users!

Post by pvanos »

Could there be yet another location of this groupname 'users' ?
I already removed in Frontend::Customer the (only) entry 'users' in CustomerGroupAlwaysGroups, hit [Update],and even restarted services httpd and otrs, but the message keeps coming.
Another thing I noticed, the messages also occur every time someone logs in.
Locked