By: Meir Greenfeld user 15 May 2022 at 5:58 a.m. CDT

6 Responses
Meir Greenfeld gravatar
Hi I'm trying to upgrade from gluu server version 3.1.6 to version 4.0 I have flow this : wget https://raw.githubusercontent.com/GluuFederation/community-edition-package/master/update/4.0/update.py run the command python update.py -o get the error Ready to upgrade Gluu Server. Start now (y|N) y This upgrade replaces all the default Gluu Server scripts WITH SCRIPTS FROM 4.0 and removes other custom scripts. (This will replace any customization you may have made to these default script entries) Do you want to continue? (Y|n) y Keep users' inum as it is? (y|N) y Detected OS centos 7 Loading /setup_prop.json Unable to determine current LDAP type. Exiting ... I have run this command yum info openldap Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: download.cf.centos.org * epel: dl.fedoraproject.org * extras: download.cf.centos.org * updates: download.cf.centos.org Installed Packages Name : openldap Arch : x86_64 Version : 2.4.44 Release : 20.el7 Size : 1.0 M Repo : installed From repo : anaconda Summary : LDAP support libraries URL : http://www.openldap.org/ License : OpenLDAP Description : OpenLDAP is an open source suite of LDAP (Lightweight Directory Access : Protocol) applications and development tools. LDAP is a set of : protocols for accessing directory services (usually phone book style : information, but other information is possible) over the Internet, : similar to the way DNS (Domain Name System) information is propagated : over the Internet. The openldap package contains configuration files, : libraries, and documentation for OpenLDAP. Available Packages Name : openldap Arch : i686 Version : 2.4.44 Release : 25.el7_9 Size : 355 k Repo : updates/7/x86_64 Summary : LDAP support libraries URL : http://www.openldap.org/ License : OpenLDAP Description : OpenLDAP is an open source suite of LDAP (Lightweight Directory Access : Protocol) applications and development tools. LDAP is a set of : protocols for accessing directory services (usually phone book style : information, but other information is possible) over the Internet, : similar to the way DNS (Domain Name System) information is propagated : over the Internet. The openldap package contains configuration files, : libraries, and documentation for OpenLDAP. Name : openldap Arch : x86_64 Version : 2.4.44 Release : 25.el7_9 Size : 356 k Repo : updates/7/x86_64 Summary : LDAP support libraries URL : http://www.openldap.org/ License : OpenLDAP Description : OpenLDAP is an open source suite of LDAP (Lightweight Directory Access : Protocol) applications and development tools. LDAP is a set of : protocols for accessing directory services (usually phone book style : information, but other information is possible) over the Internet, : similar to the way DNS (Domain Name System) information is propagated : over the Internet. The openldap package contains configuration files, : libraries, and documentation for OpenLDAP. Any idea what can be done to fix this issue

By Michael Schwartz Account Admin 15 May 2022 at 2:14 p.m. CDT

Michael Schwartz gravatar
Are you currently using OpenLDAP? Are you trying to migrate to OpenLDAP?

By Meir Greenfeld user 15 May 2022 at 3:30 p.m. CDT

Meir Greenfeld gravatar
I try to flow the upgrade Instructions and I get this : Detected OS centos 7 Loading /setup_prop.json Unable to determine current LDAP type. Exiting ... so I only add the information what I have in the system.

By Devrim Yatar staff 16 May 2022 at 2:09 a.m. CDT

Devrim Yatar gravatar
Hi, There should be a file `/etc/gluu/conf/ox-ldap.properties`, script can't file this file. Are you running script inside container?

By Meir Greenfeld user 16 May 2022 at 2:18 a.m. CDT

Meir Greenfeld gravatar
Hi, The script ox-ldap.properties is located on other folder but I have update the generate_properties.py to point to that folder .I'm not running in a container.

By Devrim Yatar staff 16 May 2022 at 10:01 a.m. CDT

Devrim Yatar gravatar
You should run the script inside container.

By Aliaksandr Samuseu staff 16 May 2022 at 10:04 a.m. CDT

Aliaksandr Samuseu gravatar
Hi, Meir. I believe that's Mustafa's point - you have to run the upgrade script while inside container of the Gluu Server instance you try to upgrade. [This article](https://gluu.org/docs/gluu-server/4.0/upgrade/#upgrading-from-31x-to-40) outlines the procedure.