By: Yunus Raza user 24 Aug 2020 at 7:54 a.m. CDT

8 Responses
Yunus Raza gravatar
I want to add oxd post intallation. I followed your document to run python3 post-setup-add-components.py -addoxd but i am getting the following error: Current Gluu Version 4.2.0 Downloading Community Edition Setup 4.2.0 2020-08-24 20:51:55 URL:https://codeload.github.com/GluuFederation/community-edition-setup/zip/version_4.2.0 [643956] -> "/install/community-edition-setup/version_4.2.0.zip" [1] Extracting package Detected OS ubuntu 20 Traceback (most recent call last): File "post-setup-add-components.py", line 92, in <module> from ces_current.pylib.generate_properties import generate_properties File "/install/community-edition-setup/ces_current/pylib/generate_properties.py", line 28, in <module> p = platform.linux_distribution() AttributeError: module 'platform' has no attribute 'linux_distribution'

By Yunus Raza user 27 Aug 2020 at 10:12 p.m. CDT

Yunus Raza gravatar
Anyone?? I do not want to start the setup again as i have made it working with lot of efforts as I am new to Gluu. I am sure the python script for post-install in 4.2 has some issues which needs to be fixed or am i missing something?

By Mohit Mali staff 03 Sep 2020 at 1:52 a.m. CDT

Mohit Mali gravatar
Hi Yunus Raza, thanks for reaching out gluu support , let me test the scenario and get back to you. Thanks and Regards Mohit Mali

By Yunus Raza user 04 Sep 2020 at 1:31 a.m. CDT

Yunus Raza gravatar
Thanks Mohit for looking into it.

By Mohit Mali staff 04 Sep 2020 at 6:54 a.m. CDT

Mohit Mali gravatar
hi Yunus. I have created issue [link](https://github.com/GluuFederation/community-edition-setup/issues/716) for this issue. Thanks and Regards Mohit Mali

By Yunus Raza user 09 Sep 2020 at 7:18 a.m. CDT

Yunus Raza gravatar
Hi Mohit, So i just need to replace the generate_properties.py from the updated repo or is there a command that i can run which will pull the updated info Thanks

By Yunus Raza user 09 Sep 2020 at 8:16 a.m. CDT

Yunus Raza gravatar
Hi Mohit, I did a wget update and tried but still same issue. Then i manually replaced the generate_properties.py from the latest commit and then have the same error ``` root@mylab-iam:/install/community-edition-setup# python3 post-setup-add-components.py -addoxd Current Gluu Version 4.2.0 Downloading Community Edition Setup 4.2.0 2020-09-09 21:00:42 URL:https://codeload.github.com/GluuFederation/community-edition-setup/zip/version_4.2.0 [643956] -> "/install/community-edition-setup/version_4.2.0.zip" [1] Extracting package Detected OS ubuntu 20 Traceback (most recent call last): File "post-setup-add-components.py", line 92, in <module> from ces_current.pylib.generate_properties import generate_properties File "/install/community-edition-setup/ces_current/pylib/generate_properties.py", line 28, in <module> p = platform.linux_distribution() AttributeError: module 'platform' has no attribute 'linux_distribution' ```

By Mohit Mali staff 11 Sep 2020 at 2:02 a.m. CDT

Mohit Mali gravatar
hi Yunus Raza, ok let me test the fix in latest dev build and get back to you . Thanks and Regards Mohit Mali

By Yunus Raza user 11 Sep 2020 at 6:31 a.m. CDT

Yunus Raza gravatar
Thanks Mohit for your time.