grouper-users - RE: [grouper-users] Database problem with group
Subject: Grouper Users - Open Discussion List
List archive
- From: "Hyzer, Chris" <>
- To: Jutta Biernath <>, "" <>
- Subject: RE: [grouper-users] Database problem with group
- Date: Mon, 26 Feb 2018 18:35:21 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:7M8GZxOA5RDVtaHPJj0l6mtUPXoX/o7sNwtQ0KIMzox0I/T4rarrMEGX3/hxlliBBdydt6ofzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlGiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0vRz+s87lkRwPpiCcfNj427mfXitBrjKlGpB6tvgFzz5LIbI2QMvd1Y6HTcs4ARWdZXshfSTFPAp+yYYUMAeoOP+dYoJXyqFYVtxSyGRWgCfnzxjNUmHP727Ax3eQ7EQHB2QwtB9wCvnbUrdT0KqgSS/i5x7TWwDXDdfNW2Cz95IbVeR0mpPGDQbJwcMrQyEYxDQPIlVSQqZf5MD+Py+QNq3aU7+xmVe61lWEothxxryGpy8wxiYfJnpoYxk7Z+Sh42oo4K8O0RFRmbdOnDZdcrT+WO5VuTs8/TWxkpDw2x7kbtZKhYiQG1ZAqywTCZ/GFcoWE+hzjW/iSLDtkgX9ofa+ziAux/EWvz+DzSNO73EpPoydGjNbAqHQA2hnI5cWHRPty4kGs0iuV2Q/J8OFLO0U0mLLbK5E/xr4wkYIev1zfEyHxhEn7graae1s99OS18ujnZa7pqYGGO49zlwH+Lr8hmsuiAeQ+LwcCRXCb+f671L3/40L2XKlKjvwxkqnfqpzaItkbprK9Aw9S1YYj6AyzACuh0NQdhXUHLVRFdwybj4XxJV3CPfH1Ae2xjliyijtn2vPLMqD7DpnTMHTPiLLhcqx8605Yxgoz19df55dMB7EEPP3zWk/wtd3GAR8jKAG0wv3nB8ln2oMDQWKAHKmZMKXIvVCW++0vPvGAZJUJtzblN/gl+/nugGc2mV8HeqmpwIMXZ26iHvh/PkWZemTjgs0aEWoRugo+TffqiEGZUTJNfXqyXqQ85i0lB4K8C4fMWJytjKKb0CilA5JWezMONlfZM2r0a4zMcfYBciSbPs8pxj4ZSaSoDYUg2AuovRP647R6a+DZ4CkZs9Tv2Y4xr6fcjxYv7TFuStmG3nuWZ2Bygm4SQTIqhuZyrVE3ggOMy69lm/FCUMFI6ulSegY8KZPGyeFmUZb/Vh+XLfmTT1PzCPW3EzwrCpoaw8UPeAw1T9CpjgHR0jCCAqQe0aGTCZoytK/Qwi6idI5G13/a2fx53BEdScxVODjj3/Yn+g==
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Yes, try adding a dummy record I guess. Look at an existing group to see how things line up with other tables. See the group in grouper_groups (in this case assume name is test:testGroup) select id from grouper_groups where name = 'test:testGroup'; In my case its: dbfa18c3-a025-47b6-a9a0-be5ac02e8270 The id column of the group is the subject_id in grouper_members. So in my case the grouper_members.subject_id is “dbfa18c3-a025-47b6-a9a0-be5ac02e8270” The id column of grouper_members is the source_id in grouper_pit_members where the subject_id is the thing above (in my case dbfa18c3-a025-47b6-a9a0-be5ac02e8270): select source_id from grouper_pit_members gpm where GPM.subject_id = 'dbfa18c3-a025-47b6-a9a0-be5ac02e8270'; Note, when you select the record from grouper_pit_members, does it have an end date, and/or active ‘F’? Subject_source is “g:gsa” Subject_type is “group” Hibernate_version_number is 1 For the rest of the cols, look at an existing group and make it similar Thanks Chris -----Original Message----- Hi, all, I have a big problem with a group with was created and filled via web services. Everything worked ok, but a few days ago the according dataset in grouper_members was seemingly deleted. Unfortunately I just can guess that from the (meanwhile overwritten) log files and from the fact that there are records in grouper_members for the other groups, but not for this one. Now this group is absolutely unhandle-able, I can neither rename nor move nor delete it, neither in UI nor in gsh. And even worse: there's no bulkSync possible, for it crashes each time when the sync touches this group. I have no idea why this record is missing in grouper_members. It must have been there before, for the provisioning once worked, the group was exported to ldap as expected, but was not updated fo a few days now. Error in log file when provisioning: **************************************** ERROR Group.toMember(5289) - - could not convert group to member: null ERROR BaseSpmlProvider.execute(139) - - Response[status=failure,error=unsupportedOperation,errorMessages={},requestID= 2018/02/26-17:32:04.111] Error in log file when trying to delete: ********************************************** ERROR ShellHelper.eval(91) - - Sourced file: inline evaluation of: ``g.delete();'' : Method Invocation g.delete edu.internet2.middleware.grouper.exception.GrouperException: could not convert group to member: null, Error in UI when trying to delete: ***************************************** Error: could not convert group to member: null, Problem in HibernateSession: HibernateSession (236e7bf1): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (45e96b86), Problem in HibernateSession: HibernateSession (77a7eb74): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (45e96b86), Problem calling method groupDeleteSubmit on edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Group Error in UI when trying to rename: ****************************************** Error editing group: could not convert group to member: null, Exception in update: edu.internet2.middleware.grouper.Group, , Problem in HibernateSession: HibernateSession (1e7bfff9): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (2aebcae1), Exception in update: edu.internet2.middleware.grouper.Group, ByObjectStatic, query: ', cacheable: null, cacheRegion: null, entityName: null, tx type: null, Problem in HibernateSession: HibernateSession (1f03989c): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (2aebcae1), Problem in HibernateSession: HibernateSession (296d75d5): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (2aebcae1), Problem saving group: xxx, thread: 5df7bb64 I already thought of simply adding a dummy record in grouper_members, but I don't know if that causes unresolvable inconsistencies. Please help! Thank you, Jutta |
- [grouper-users] Database problem with group, Jutta Biernath, 02/26/2018
- RE: [grouper-users] Database problem with group, Hyzer, Chris, 02/26/2018
- AW: [grouper-users] Database problem with group, Biernath, Jutta, 02/27/2018
- AW: [grouper-users] Database problem with group, Biernath, Jutta, 02/27/2018
- AW: [grouper-users] Database problem with group, Biernath, Jutta, 02/27/2018
- RE: [grouper-users] Database problem with group, Hyzer, Chris, 02/26/2018
Archive powered by MHonArc 2.6.19.