By: Luke Rockwell user 22 Aug 2016 at 9:06 p.m. CDT

5 Responses
Luke Rockwell gravatar
I think I saw a similar ticket on github but I thought I would post it here as well. Maybe I am doing something wrong? Traceback (most recent call last): File "./setup.py", line 2141, in <module> installObject.apache_version = installObject.determineApacheVersionForOS() File "./setup.py", line 732, in determineApacheVersionForOS return self.determineApacheVersion("httpd") File "./setup.py", line 720, in determineApacheVersion apache_version = p.stdout.read().strip().split(' ')[2].split('/')[1] IndexError: list index out of range

By Aliaksandr Samuseu staff 22 Aug 2016 at 9:14 p.m. CDT

Aliaksandr Samuseu gravatar
Hi, Luke. `./setup.py` cannot be re-run again to add some components. If you haven't installed one of them, the only **supported** way is to reinstall the whole thing. Please correct me if your issue is different from that.

By Luke Rockwell user 22 Aug 2016 at 9:16 p.m. CDT

Luke Rockwell gravatar
So in that case can I export all my settings I spent all day configuring and just tell it to install Shibboleth as well?

By Aliaksandr Samuseu staff 22 Aug 2016 at 9:21 p.m. CDT

Aliaksandr Samuseu gravatar
We have export script like that, please check doc [here](https://www.gluu.org/docs/deployment/upgrading/). Let me check whether it's safe to use already (there were some issues before). I'll get back to you tomorrow, or you could try to run it anyway, just make sure you'll backup your current config.

By Luke Rockwell user 22 Aug 2016 at 9:40 p.m. CDT

Luke Rockwell gravatar
So I guess it doesnt work on the current version? I have removed my ip addresses. [root@ community-edition-setup]# ./export24.py -bash: ./export24.py: Permission denied [root@ community-edition-setup]# chmod +x export24.py [root@ community-edition-setup]# ./export24.py Traceback (most recent call last): File "./export24.py", line 318, in <module> main() File "./export24.py", line 307, in main prepareLdapPW() File "./export24.py", line 289, in prepareLdapPW with open('/install/community-edition-setup/setup.properties.last', 'r') \ IOError: [Errno 2] No such file or directory: '/install/community-edition-setup/setup.properties.last' [root@ community-edition-setup]# ls export_24.log output setup_error.log static export24.py Properties.py setup.log templates genSchemaMarkdown.py Properties.pyc setup.properties.last tests ldif.py README.md setup.properties.sample update.sh LICENSE requirements.txt setup.py [root@ community-edition-setup]#

By Mohib Zico Account Admin 23 Aug 2016 at 2:26 a.m. CDT

Mohib Zico gravatar
Luke, You need to run export script from _inside_ container. Feel free to check [this](https://gluu.org/docs/deployment/upgrading/) doc; though it's not your target but you will get export/import idea from here. One thing... if you didn't install Shibboleth bit in previous installation... using export / import script won't help you to restore your old data with new shib bit. [ Definitely there are options for hacking but personally I never tried ] Here is what I would do if I were in your case: - Do a new installation with Shibboleth in new VM. - Migrate old data **manually** from old vm to new vm.