By: Aslan Aslanli user 03 May 2023 at 12:16 a.m. CDT

6 Responses
Aslan Aslanli gravatar
Hello dear team. How can I migrate Gluu-OpenDJ 3.0.1-gluu db to the new version 4.x (on the another host)

By Mohib Zico Account Admin 03 May 2023 at 12:33 a.m. CDT

Mohib Zico gravatar
Hello Aslan, I think we will be able to assist you if we know your target more. - `migration` means... you are pushing data from one server to another but both has same version of software. - `upgrade` means... you are pushing your existing data to newer version of software.

By Aslan Aslanli user 03 May 2023 at 12:42 a.m. CDT

Aslan Aslanli gravatar
Thanks for your reply. I have installed new gluu server on another hosts. because my current gluu server is very old(version 3.1.5) Now I want old gluu server's LDAP db(opendj) migrate to new one. is it possible? if it is possible How can I do it. And olso I want to know this way is true. I mean, Can I use this new gluu version like old version?

By Mohib Zico Account Admin 03 May 2023 at 12:46 a.m. CDT

Mohib Zico gravatar
You have two paths: - Upgrade: - Step 1: upgrade from 3.1.5 to 4.0: https://www.gluu.org/docs/gluu-server/4.0/upgrade/#upgrading-from-31x-to-40 - Step 2: upgrade from 4.0 to 4.1.5: https://www.gluu.org/docs/gluu-server/4.5/upgrade/#online-upgrade-from-4x-to-450 - Fresh install and data migration: - Depending on level of customization you have in your data, you might need to upgrade your openDJ schema to newer one and/or upgrade your custom scripts to newer one.

By Aslan Aslanli user 03 May 2023 at 2:20 a.m. CDT

Aslan Aslanli gravatar
can you provide me any document for fresh install and data migration, please. I can't find anything about it

By Aslan Aslanli user 07 May 2023 at 11:38 p.m. CDT

Aslan Aslanli gravatar
python3 upg4xto450.py after this command. Traceback (most recent call last): File "upg4xto450.py", line 1829, in <module> updaterObj.download_apps() File "upg4xto450.py", line 306, in download_apps data = json.loads(data_s) File "/usr/lib/python3.5/json/__init__.py", line 312, in loads s.__class__.__name__)) TypeError: the JSON object must be str, not 'bytes'

By Mohib Zico Account Admin 07 May 2023 at 11:40 p.m. CDT

Mohib Zico gravatar
>> Traceback (most recent call last): File "upg4xto450.py", line 1829, in <module> updaterObj.download_apps() File "upg4xto450.py", line 306, in download_apps data = json.loads(data_s) File "/usr/lib/python3.5/json/init.py", line 312, in loads s.class.name)) TypeError: the JSON object must be str, not 'bytes' Please create a new ticket named "Upgrade from 4.x to 4.5.0 failing" and attach this log there.