By: Johann Hoermann user 15 Mar 2022 at 1:09 p.m. CDT

5 Responses
Johann Hoermann gravatar
I did setup the server as described here: https://gluu.org/docs/gluu-server/4.3/installation-guide/setup_py/ I did not install shibboleth idp. i tried to install it later with ./setup.py -s The script responds: This instance already configured. If you need to install new one you should reinstall package first. Does that mean i have to reinstall the gluu server and run setup again? Regards, Johann

By Aliaksandr Samuseu staff 15 Mar 2022 at 2:31 p.m. CDT

Aliaksandr Samuseu gravatar
Hi, Johann. If it's freshly installed instance and the script didn't work for you - your best option is to reinstall yes. I'll let @Mustafa.Baser know about the issue, but even if this script's functionality still supported and he'll have some time to fix it soon, it still will take some time.

By Devrim Yatar staff 15 Mar 2022 at 3:28 p.m. CDT

Devrim Yatar gravatar
Hi, Johann. Did you face this error? ``` # /install/community-edition-setup/setup.py Please wait while collecting properties... Traceback (most recent call last): File "/install/community-edition-setup/setup.py", line 158, in <module> collectProperties.collect() File "/install/community-edition-setup/setup_app/utils/collect_properties.py", line 187, in collect Config.shibJksPass = self.unobscure(Config.encoded_shib_jks_pw) File "/install/community-edition-setup/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' ``` If so, it is due to bug in `setup.py,` You need to download latest code from github and use it. This is how you can download, extract and execute latest `setup.py` ``` wget https://github.com/GluuFederation/community-edition-setup/archive/refs/heads/version_4.3.1.zip -O /install/version_4.3.1.zip unzip /install/version_4.3.1.zip -d /install/ cp -r -f /install/community-edition-setup/setup_app/pylib/sqlalchemy/ /install/community-edition-setup-version_4.3.1/setup_app/pylib/ /install/community-edition-setup-version_4.3.1//setup.py ```

By Aliaksandr Samuseu staff 15 Mar 2022 at 3:32 p.m. CDT

Aliaksandr Samuseu gravatar
Also, please note that you should follow the procedure described in next doc when adding the component post-installation: [link](https://gluu.org/docs/gluu-server/4.3/operation/faq/#adding-passportjs-andor-shibboleth-idp-post-installation)

By Johann Hoermann user 17 Mar 2022 at 7:03 a.m. CDT

Johann Hoermann gravatar
The version_4.3.1.zip archive does not contain a path to sqlalchemy: ``` # unzip -l version_4.3.1.zip | grep sqlalch # ```

By Johann Hoermann user 17 Mar 2022 at 8 a.m. CDT

Johann Hoermann gravatar
Meanwhile i purged gluu-server, reinstalled it and added shibboleth idp at the initial setup. Your debian-repo is buster-testing. Will there be a bullseye-upgrade soon? At your setup-doc https://gluu.org/docs/gluu-server/4``.3/installation-guide/setup_py/#setup-prompt the drop-down menue > Installation offers Ubuntu but not Debian. Do you recommend that i should test your gluu-server rather in an ubuntu-container because it is better maintained than debian?