Seite 1 von 2

Client group and product group

Verfasst: 30 Apr 2015, 14:51
von denmarknian
I can delete client group but when I relogin to the opsi web config the group re-appear. Is there something that I need to reconfigure? I notice also in the product group. I can delete the group but the name still appear in the list. It just that I cannot select it.

Re: Client group and product group

Verfasst: 30 Apr 2015, 17:03
von r.roeder
Hi

this is strange since it works with me as expected. Please, describe more in detail what you are trying to do,

Greetings
Rupert

Re: Client group and product group

Verfasst: 01 Mai 2015, 09:27
von denmarknian
Thank you for the reply.

Our company has several branches and each branch has its code (e.g. 0001, 0002, 0003 and so on. ). When I created a client group I initially used 5 digit i.e. 00001, 00002. When I noticed I, should delete the group and create four-digit group 0001, 0002. I can delete the five-digit group but when I relogin, it appear again.

In the product group, I can delete product group by selecting the group and clicking x button but the group name stays in the list. When I try to select it again I can't select it.

Re: Client group and product group

Verfasst: 01 Mai 2015, 14:21
von r.roeder
I can reproduce your observation regarding product groups and will have a look on it, but do not see the phenomen with client groups and have no idea where it comes from. Perhaps you can give me more hints. The output of

opsi-admin -d method group_getObjects

(on command shell of the opsi server) taken before and after the operations would be helpful

Greetings

Re: Client group and product group

Verfasst: 04 Mai 2015, 09:57
von mirkt
What version of configed are you using? There were some cases when I couldn't remove clients using configed (they reappeared after reload) so I had to use opsi-admin from shell.. With current version of configed I do not have this problem.. Maybe you are using older version that's why r.roeder can not reproduce it?

Re: Client group and product group

Verfasst: 05 Mai 2015, 14:21
von denmarknian
Hi Mirkt, im using version 4.04, this is quiet new. Anyway i can use also the opsi-admin. Can you give me the command syntax. Thanks

Re: Client group and product group

Verfasst: 06 Mai 2015, 16:06
von mirkt
the same command for clients and products groups:

Code: Alles auswählen

opsi-admin -d method group_delete YOUR_GROUP_NAME
ex:

Code: Alles auswählen

opsi-admin -d method group_delete 00001
opsi-admin -d method group_delete 00002
opsi-admin -d method group_delete 00003
..

Why don't you upgrade to 4.0.5?

Re: Client group and product group

Verfasst: 11 Mai 2015, 07:06
von denmarknian
Thanks a lot Mirkt. The same command for product and client group?

Re: Client group and product group

Verfasst: 11 Mai 2015, 09:33
von n.wenselowski
denmarknian hat geschrieben:Thanks a lot Mirkt. The same command for product and client group?
Yes.

Re: Client group and product group

Verfasst: 15 Mai 2015, 08:38
von denmarknian
Hi n.wenselowski, I didn't received any error when I run the command but the group still stay in the list after I relogin to the OPSI configed. Any suggestion? Thanks a lot.