By: Shaun Walker named 18 Jan 2022 at 4:24 p.m. CST

7 Responses
Shaun Walker gravatar
Hi Team, Reviewing the documentation for upgrading it still shows the upgrade path to 4.3.0 and not 4.3.1 https://gluu.org/docs/gluu-server/4.3/upgrade/ The script seems to note 4.3.0 as well. Is this being updated?

By Mobarak Hosen Shakil staff 18 Jan 2022 at 5:16 p.m. CST

Mobarak Hosen Shakil gravatar
Hi Shaun, Our documentations are not yet updated. This is the upgrade script for gluu 4.3.1 https://github.com/GluuFederation/community-edition-package/blob/master/update/4.3.1/upg4xto431.py Please checkout release notes from [here](https://gluu.org/docs/gluu-server/4.3/release-notes/) to get updated information of all about gluu 4.3. Thanks, Regards ~ Shakil

By Daniel Steiner user 24 Jan 2022 at 10:51 p.m. CST

Daniel Steiner gravatar
Hi, I tryed the upgrade from 4.3.0 to 4.3.1 using the script upg4xto431.py. But during update, I get following errror: ``` Extracting CES package Extracting sqlalchemy Please wait while collecting properties... Traceback (most recent call last): File "upg4xto431.py", line 1627, in <module> updaterObj.prepare_ces() File "upg4xto431.py", line 460, in prepare_ces collectProperties.collect() File "/install/community_edition_setup_4.3.1/setup_app/utils/collect_properties.py", line 206, in collect if 'ScimProperties' in oxTrustConfApplication and 'protectionMode' in oxTrustConfApplication['ScimProperties']: TypeError: argument of type 'NoneType' is not iterable ``` After cleanup, the gluu service is still working fine with 4.3.0. Regards, Daniel

By Mohib Zico Account Admin 21 Feb 2022 at 10:44 p.m. CST

Mohib Zico gravatar
Hi Daniel, I am able to reproduce the issue: ``` .... .... Downloading https://files.pythonhosted.org/packages/de/4e/a6931fb3143b8489264d7e9bdbe8843acb6fce20156ee6eaf3897bd2c308/grpcio-1.37.0-cp38-cp38-manylinux2014_x86_64.whl to /opt/upd/4.3.1/dist/app/grpcio/grpcio-1.37.0-cp38-cp38-manylinux2014_x86_64.whl Downloading https://files.pythonhosted.org/packages/58/05/c93c0f502c84895596a3b8a1058d203849ca0ea8926af64b79a589ef410f/grpcio-1.37.0-cp39-cp39-manylinux2014_x86_64.whl to /opt/upd/4.3.1/dist/app/grpcio/grpcio-1.37.0-cp39-cp39-manylinux2014_x86_64.whl Extracting CES package Extracting sqlalchemy Please wait while collecting properties... Traceback (most recent call last): File "./upg4xto431.py", line 1643, in <module> updaterObj.prepare_ces() File "./upg4xto431.py", line 460, in prepare_ces collectProperties.collect() File "/install/community_edition_setup_4.3.1/setup_app/utils/collect_properties.py", line 187, in collect Config.shibJksPass = self.unobscure(Config.encoded_shib_jks_pw) File "/install/community_edition_setup_4.3.1/setup_app/utils/crypto64.py", line 39, in unobscure decrypted = cipher.decrypt(base64.b64decode(data), padmode=PAD_PKCS5) File "/usr/lib/python3.8/base64.py", line 80, in b64decode s = _bytes_from_decode_data(s) File "/usr/lib/python3.8/base64.py", line 45, in _bytes_from_decode_data raise TypeError("argument should be a bytes-like object or ASCII " TypeError: argument should be a bytes-like object or ASCII string, not 'NoneType' root@test430:~# ``` Talking to developer.

By Daniel Steiner user 21 Feb 2022 at 11:13 p.m. CST

Daniel Steiner gravatar
Hi Mohib, Thank you, but the problem is already resolved, see [upgrade-from-430-to-431-fails](https://support.gluu.org/upgrade/10300/upgrade-from-430-to-431-fails/) ticket. Daniel

By Mohib Zico Account Admin 21 Feb 2022 at 11:17 p.m. CST

Mohib Zico gravatar
Thanks, Daniel. I wonder why I got this error now ( hopefully I got patched upgrade script ). I'll retry.

By Mohib Zico Account Admin 01 Mar 2022 at 11:05 p.m. CST

Mohib Zico gravatar
@Mohit.Mali: can you please run a 4.3.0 to 4.3.1 upgrade with "latest" script available in official repo? See how things go? Mustafa fixed some typo and released new one.

By Daniel Steiner user 01 Mar 2022 at 11:09 p.m. CST

Daniel Steiner gravatar
Hi Mohit, Yes, this is already resolved. I did the merge request in github for this changes. Thank you, Daniel