By: Dheivendiran Ramasamy user 27 Mar 2018 at 12:20 p.m. CDT

7 Responses
Dheivendiran Ramasamy gravatar
We have running Gluu 2.4.3 I want to upgrade to Gluu 3.1.2 Then for testing purpose(before production) I backed up data from production and I installed latest version 3.1.2 means I followed the instruction according the below upgrade documentation(2.x.x-to-3.1.2). After up-gradation all members are imported successfully and I am able to login using existing admin credentials in gluu GUI. But other members can not able to login. if I change password in admin section then member can be able to login as well as the website I have integrated with gluu. Please help me to fix this issue. Why that old password of members is not working? https://gluu.org/docs/ce/3.1.2/upgrade/#upgrade-from-2xx-to-312

By Mohib Zico staff 28 Mar 2018 at 9:59 a.m. CDT

Mohib Zico gravatar
Dheivendiran, I am going to test 2.4.x to 3.1.2 upgrade very soon; I'll let you know how that goes... we have modified scripts to cover 'o=site' user entries.

By Dheivendiran Ramasamy user 28 Mar 2018 at 10:27 a.m. CDT

Dheivendiran Ramasamy gravatar
Hi Mohib, Thank you for the reply and the changes you are making to fix it. Please let me know ASAP if it works for you or if there is any mistake from my side.

By Mustafa Baser staff 30 Mar 2018 at 5:16 p.m. CDT

Mustafa Baser gravatar
Hi, I just used the attached procedure (it is 2.4.4 to 3.1.2, just chage to 2.4.3) to upgrade form 2.4.3 to 2.4.4, users could login. Did you select opendj as target ldapserver at export stage?

By Dheivendiran Ramasamy user 03 Apr 2018 at 11:22 a.m. CDT

Dheivendiran Ramasamy gravatar
Hi Mustafa, I tried with the upgrade process you have attached but still member's login is not working. I selected OpenLDAP not opendj. Also I used default value([N]) for first time and next time the value(y) to export the gluu backup for the following two options. Is Shibboleth SAML IDP installed? Install passport in new version? Also It is showing following errors at the end of import and showing migration completed as well. So it may be an issue? One more thing is I export from server system and trying to configure in local system. But both are 14.04 ubuntu only. So, it may be an issue? Please suggest. ``` 5ac39471 <= str2entry: str2ad(oxSectorIdentifierURI): attribute type undefined slapadd: could not parse entry (line=24584) ERROR /root/migration/o_site.ldif: No such file or directory INFO Fixing permissions for files. ERROR chown: cannot access '/opt/gluu/data/site_db/data.mdb': No such file or directory The migration is complete. Gluu Server needs to be restarted. ```

By Mohib Zico staff 16 Apr 2018 at 5:56 a.m. CDT

Mohib Zico gravatar
Dheivendiran, I would start with export log. Can you please share that?

By Dheivendiran Ramasamy user 16 Apr 2018 at 12:12 p.m. CDT

Dheivendiran Ramasamy gravatar
Hi Mohib, Please have a look at the below selected option and log while exporting gluu and let me know if any issues. ``` Choose the target LDAP Server - 1.OpenLDAP, 2.OpenDJ [2]: 1 INFO Creating setup.properties backup file Is Shibboleth SAML IDP installed? (y/N): y Install passport in new version? (y/N): N ``` ``` 2018-04-16 16:49:57,076 DEBUG root Cannot read: /etc/redhat-release. File does not exist. 2018-04-16 16:49:57,077 DEBUG root Running command : /bin/mkdir -p backup_2431 2018-04-16 16:49:57,099 DEBUG root Running command : /bin/mkdir -p backup_2431/ldif 2018-04-16 16:49:57,104 INFO root Creating backup of files 2018-04-16 16:49:57,200 INFO root Creating backup of LDAP data 2018-04-16 16:49:57,200 INFO root Backing up o=people, may take time 2018-04-16 16:49:57,200 DEBUG root Running command : /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager" -j /tmp/tmpBc5qNv -b "ou=people,o=@!22A9.0A65.9E32.9AAF!0001!E3F5.C02B,o=gluu" objectclass=* > backup_2431/ldif/people.ldif 2018-04-16 16:50:02,390 DEBUG root Running command : /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager" -j /tmp/tmpBc5qNv -b "ou=groups,o=@!22A9.0A65.9E32.9AAF!0001!E3F5.C02B,o=gluu" objectclass=* > backup_2431/ldif/groups.ldif 2018-04-16 16:50:04,781 DEBUG root Running command : /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager" -j /tmp/tmpBc5qNv -b "ou=attributes,o=@!22A9.0A65.9E32.9AAF!0001!E3F5.C02B,o=gluu" objectclass=* > backup_2431/ldif/attributes.ldif 2018-04-16 16:50:07,410 DEBUG root Running command : /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager" -j /tmp/tmpBc5qNv -b "ou=scopes,o=@!22A9.0A65.9E32.9AAF!0001!E3F5.C02B,o=gluu" objectclass=* > backup_2431/ldif/scopes.ldif 2018-04-16 16:50:10,828 DEBUG root Running command : /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager" -j /tmp/tmpBc5qNv -b "ou=clients,o=@!22A9.0A65.9E32.9AAF!0001!E3F5.C02B,o=gluu" objectclass=* > backup_2431/ldif/clients.ldif 2018-04-16 16:50:13,163 DEBUG root Running command : /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager" -j /tmp/tmpBc5qNv -b "ou=scripts,o=@!22A9.0A65.9E32.9AAF!0001!E3F5.C02B,o=gluu" objectclass=* > backup_2431/ldif/scripts.ldif 2018-04-16 16:50:15,478 DEBUG root Running command : /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager" -j /tmp/tmpBc5qNv -b "ou=uma,o=@!22A9.0A65.9E32.9AAF!0001!E3F5.C02B,o=gluu" objectclass=* > backup_2431/ldif/uma.ldif 2018-04-16 16:50:17,671 DEBUG root Running command : sed -i 's/oxAuthUmaResourceSet/oxUmaResource/g' backup_2431/ldif/uma.ldif 2018-04-16 16:50:17,673 DEBUG root Running command : /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager" -j /tmp/tmpBc5qNv -b "ou=hosts,o=@!22A9.0A65.9E32.9AAF!0001!E3F5.C02B,o=gluu" objectclass=* > backup_2431/ldif/hosts.ldif 2018-04-16 16:50:20,137 DEBUG root Running command : /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager" -j /tmp/tmpBc5qNv -b "ou=u2f,o=@!22A9.0A65.9E32.9AAF!0001!E3F5.C02B,o=gluu" objectclass=* > backup_2431/ldif/u2f.ldif 2018-04-16 16:50:22,417 DEBUG root Running command : /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager" -j /tmp/tmpBc5qNv -b "ou=appliances,o=gluu" -s one "objectclass=*" > backup_2431/ldif/appliance.ldif 2018-04-16 16:50:26,027 DEBUG root Running command : /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager" -j /tmp/tmpBc5qNv -b "ou=appliances,o=gluu" "objectclass=oxTrustConfiguration" > backup_2431/ldif/oxtrust_config.ldif 2018-04-16 16:50:28,313 DEBUG root Error 2018-04-16 16:50:28,315 DEBUG root Running command : /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager" -j /tmp/tmpBc5qNv -b "ou=appliances,o=gluu" "objectclass=oxAuthConfiguration" > backup_2431/ldif/oxauth_config.ldif 2018-04-16 16:50:30,669 DEBUG root Running command : /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager" -j /tmp/tmpBc5qNv -b "ou=appliances,o=gluu" "objectclass=gluuSAMLconfig" > backup_2431/ldif/trust_relationships.ldif 2018-04-16 16:50:32,860 DEBUG root Running command : /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager" -j /tmp/tmpBc5qNv -s base -b o=@!22A9.0A65.9E32.9AAF!0001!E3F5.C02B,o=gluu objectclass=* > backup_2431/ldif/organization.ldif 2018-04-16 16:50:35,086 INFO root Backing up o=site, may take time 2018-04-16 16:50:35,087 DEBUG root Running command : /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager" -j /tmp/tmpBc5qNv -b "o=site" -s one "objectclass=*" > backup_2431/ldif/site.ldif 2018-04-16 16:51:40,483 INFO root Creating setup.properties backup file 2018-04-16 16:51:40,483 DEBUG root Running command : /bin/cat /tmp/tmpBc5qNv 2018-04-16 16:51:40,486 DEBUG root Running command : /bin/grep ^inum backup_2431/ldif/appliance.ldif 2018-04-16 16:51:40,490 DEBUG root Running command : /bin/cat backup_2431/opt/tomcat/conf/salt ```

By Mohib Zico staff 18 Apr 2018 at 9:22 a.m. CDT

Mohib Zico gravatar
No error in your provided log snippet. Possible to share full export log?