By: Meir Greenfeld user 29 Oct 2022 at 5:16 p.m. CDT

8 Responses
Meir Greenfeld gravatar
I have try to upgrade the gluu server from 3.1.6 to version 4.0 .After the upgrade when I try to use and SSO I get error Powered by Jetty://9.4.19.v20190610. I see in the process of the upgrade of the gluu server to version 4 it is downloading the same the same file ,and it types upgrading the jetty and removing it but in the end it is the same version . Downloading https://ox.gluu.org/maven/org/gluu/oxshibbolethIdp/4.0.Final/oxshibbolethIdp-4.0.Final.war Downloading https://ox.gluu.org/maven/org/gluu/oxtrust-server/4.0.Final/oxtrust-server-4.0.Final.war Downloading https://ox.gluu.org/maven/org/gluu/oxauth-server/4.0.Final/oxauth-server-4.0.Final.war Downloading https://ox.gluu.org/maven/org/gluu/oxShibbolethStatic/4.0.Final/oxShibbolethStatic-4.0.Final.jar Downloading https://ox.gluu.org/maven/org/gluu/oxShibbolethKeyGenerator/4.0.Final/oxShibbolethKeyGenerator-4.0.Final.jar Downloading https://ox.gluu.org/npm/passport/passport-4.0.0.tgz Downloading https://ox.gluu.org/npm/passport/passport-version_4.0-node_modules.tar.gz Downloading https://d3pxv6yz143wms.cloudfront.net/8.222.10.1/amazon-corretto-8.222.10.1-linux-x64.tar.gz Downloading https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-distribution/9.4.19.v20190610/jetty-distribution-9.4.19.v20190610.tar.gz Downloading https://ox.gluu.org/maven/org/forgerock/opendj/opendj-server-legacy/4.0.0-M3/opendj-server-legacy-4.0.0-M3.zip Downloading https://nodejs.org/dist/v12.6.0/node-v12.6.0-linux-x64.tar.xz Downloading https://raw.githubusercontent.com/GluuFederation/oxTrust/master/configuration/src/main/resources/META-INF/shibboleth3/idp/saml-nameid.properties.vm Downloading https://raw.githubusercontent.com/GluuFederation/community-edition-package/master/update/4.0/update_casa.py Downloading https://repo1.maven.org/maven2/org/python/jython-installer/2.7.2/jython-installer-2.7.2.jar Downloading casa.service Downloading fido2.service Downloading identity.service Downloading idp.service Downloading opendj.service Downloading oxauth-rp.service Downloading oxauth.service Downloading oxd-server.service Downloading passport.service Downloading scim.service Stopping oxauth Stopping identity Stopping idp Upgrading Java Upgrading Jython Deleting /opt/dist/app/jython-installer-2.7.2a.jar Deleting /opt/jython-2.7.2a Installing Jython Upgrading Jetty Removing current jetty version: /opt/jetty-9.4 -------------------------------- at the end it the same version Oct 30 00:07 jetty -> /opt/jetty-9.4/jetty-distribution-9.4.19.v20190610 Oct 30 00:07 jetty-9.4 The gluu server 4.0 need to use the version 10 . How can I upgrade the jetty to the new version that will work with the upgrade script of the gluu server ?

By Mohit Mali staff 01 Nov 2022 at 4:17 a.m. CDT

Mohit Mali gravatar
hello Meir Greenfeld, let me check and replicate the issue and revert you back. Regards Mohit Mali.

By Meir Greenfeld user 07 Nov 2022 at 3:58 a.m. CST

Meir Greenfeld gravatar
Hi Thanks for your answer , is there any update on the? [Description: Description: Description: cid:image001.jpg@01CDAD26.2D1A8E50] Meir Greenfeld DevOps ISPM Philips Medical Systems Technologies, Ltd. [cid:image002.png@01D8F2A0.32E30EA0] : +972-526396781 [logoneu] Think about the environment before printing

By Meir Greenfeld user 22 Nov 2022 at 6 a.m. CST

Meir Greenfeld gravatar
is there any update on this?

By Mohit Mali staff 27 Dec 2022 at 4:01 a.m. CST

Mohit Mali gravatar
Hello Meir Greenfeld, Apologies for delay response, we've idenfied the issue and fixed it. please download the upgrade script form [here ](https://raw.githubusercontent.com/GluuFederation/community-edition-package/master/update/4.0/update.py) and retry to update . Regards Mohit Mali.

By Meir Greenfeld user 29 Dec 2022 at 12:55 a.m. CST

Meir Greenfeld gravatar
Hi I have try to run the script that you have update and I get some errors 1. http://mirror.es.its.nyu.edu/epel/7/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.es.its.nyu.edu/epel/7/x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') 2. Detected OS centos 7 Missing package(s): python-ldap3. Install now? (Y|n): y Traceback (most recent call last): File "update.py", line 2000, in <module> from setup.pylib.generate_properties import generate_properties File "/opt/gluu/setup/pylib/generate_properties.py", line 76, in <module> if package_type == 'rpm': NameError: name 'package_type' is not defined Any Idea how to go forward with this ?

By Mohit Mali staff 05 Jan 2023 at 1:17 a.m. CST

Mohit Mali gravatar
hi Meir Greenfeld ```Detected OS centos 7 Missing package(s): python-ldap3. Install now? (Y|n): y Traceback (most recent call last): File "update.py", line 2000, in <module> from setup.pylib.generate_properties import generate_properties File "/opt/gluu/setup/pylib/generate_properties.py", line 76, in <module> if package_type == 'rpm': NameError: name 'package_type' is not define ``` Gluu-server 4.0 require ``` python-ldap ```package ``` python-ldap 3 ```package is for above versions, please check you have downloaded the right script. Please share your procedure, how are you trying to upgrade the server. Regards Mohit Mali.

By Meir Greenfeld user 16 Jan 2023 at 3:57 p.m. CST

Meir Greenfeld gravatar
Hi Even If I try to reinstall the python I get error message at the end The steps that I did to try to upgrade from GLUU3.1.6 to 4.0 1. Login to gluu server 2. installed manual the python-ldappackage python-ldap yum install -y python-ldap3 3. I have downland the script from the link that you have proved - see attach file 4. Run the command >> python update.py -o 5. This is error message in the Missing package(s): python-requests python-jsonschema. Install now? (Y|n): y 6. Loaded plugins: fastestmirror 7. epel-release-latest-7.noarch.rpm | 15 kB 00:00:00 8. Examining /var/tmp/yum-root-VZU7Fr/epel-release-latest-7.noarch.rpm: epel-release-7-14.noarch 9. Marking /var/tmp/yum-root-VZU7Fr/epel-release-latest-7.noarch.rpm to be installed 10. Resolving Dependencies 11. --> Running transaction check 12. ---> Package epel-release.noarch 0:7-14 will be installed 13. --> Finished Dependency Resolution 14. 15. Dependencies Resolved 16. 17. ================================================================================================================================================================================== 18. Package Arch Version Repository Size 19. ================================================================================================================================================================================== 20. Installing: 21. epel-release noarch 7-14 /epel-release-latest-7.noarch 25 k 22. 23. Transaction Summary 24. ================================================================================================================================================================================== 25. Install 1 Package 26. 27. Total size: 25 k 28. Installed size: 25 k 29. Downloading packages: 30. Running transaction check 31. Running transaction test 32. Transaction test succeeded 33. Running transaction 34. Installing : epel-release-7-14.noarch 1/1 35. Verifying : epel-release-7-14.noarch 1/1 36. 37. Installed: 38. epel-release.noarch 0:7-14 39. 40. Complete! 41. Loaded plugins: fastestmirror 42. Cleaning repos: base epel extras updates 43. Cleaning up list of fastest mirrors 44. Installing package(s) with command: yum install -y python-requests python-jsonschema 45. Loaded plugins: fastestmirror 46. Determining fastest mirrors 47. epel/x86_64/metalink | 27 kB 00:00:00 48. * base: download.cf.centos.org 49. * epel: iad.mirror.rackspace.com 50. * extras: download.cf.centos.org 51. * updates: download.cf.centos.org 52. base | 3.6 kB 00:00:00 53. http://mirror.es.its.nyu.edu/epel/7/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.es.its.nyu.edu/epel/7/x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') 54. Trying other mirror. 55. epel | 4.7 kB 00:00:00 56. extras | 2.9 kB 00:00:00 57. updates | 2.9 kB 00:00:00 58. (1/7): base/7/x86_64/group_gz | 153 kB 00:00:00 59. (2/7): extras/7/x86_64/primary_db | 249 kB 00:00:00 60. (3/7): base/7/x86_64/primary_db | 6.1 MB 00:00:00 61. (4/7): epel/x86_64/group_gz | 99 kB 00:00:00 62. epel/x86_64/updateinfo FAILED 63. https://coresite.mm.fcix.net/epel/7/x86_64/repodata/d10138625753680f1740d2f9bb5e45a7bbe2ee93895096e9a65f21d69e59f99d-updateinfo.xml.bz2: [Errno 14] HTTPS Error 404 - Not FoundTA 64. Trying other mirror. 65. To address this issue please refer to the below wiki article 66. 67. https://wiki.centos.org/yum-errors 68. 69. If above article doesn't help to resolve this issue please use https://bugs.centos.org/. [Description: Description: Description: cid:image001.jpg@01CDAD26.2D1A8E50] Meir Greenfeld DevOps ISPM Philips Medical Systems Technologies, Ltd. [cid:image002.png@01D924DD.F4BCB340] : +972-526396781 [logoneu] Think about the environment before printing

By Mohit Mali staff 17 Jan 2023 at 4:22 a.m. CST

Mohit Mali gravatar
Hi Meir Greenfeld, > 2. installed manual the python-ldappackage python-ldap yum install -y python-ldap3 Can you uninstall ldap and ldap3 package and clean the cache then update retry and try upgrade script without manually installing ldap and ldap3 Regards Mohit Mali.