By: Mike Con user 01 Feb 2021 at 11:36 a.m. CST

2 Responses
Mike Con gravatar
Recieving error when upgrading production! # → /sbin/gluu-serverd-3.1.6 login Welcome to the Gluu Server! Last login: Mon Feb 1 11:22:26 2021 from 127.0.0.1 root@localhost:~# mkdir upg40 mkdir: cannot create directory ‘upg40’: File exists root@localhost:~# cd upg40 root@localhost:~/upg40# wget https://raw.githubusercontent.com/GluuFederation/community-edition-package/master/update/4.0/update.py --2021-02-01 11:25:20-- https://raw.githubusercontent.com/GluuFederation/community-edition-package/master/update/4.0/update.py Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 199.232.8.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|199.232.8.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 104862 (102K) [text/plain] Saving to: ‘update.py.3’ update.py.3 100%[==========================================================>] 102.40K --.-KB/s in 0.003s 2021-02-01 11:25:20 (37.6 MB/s) - ‘update.py.3’ saved [104862/104862] root@localhost:~/upg40# python update.py -o Ready to upgrade Gluu Server. Start now (y|N) y This upgrade replaces all the default Gluu Server scripts WITH SCRIPTS FROM 4.0 and removes other custom scripts. (This will replace any customization you may have made to these default script entries) Do you want to continue? (Y|n) Y Detected OS ubuntu 18 Collecting properties Traceback (most recent call last): File "update.py", line 1999, in <module> setup_porperties = generate_properties(True) File "/root/upg40/setup/pylib/generate_properties.py", line 340, in generate_properties ldap_conn.bind() File "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py", line 521, in bind self.open(read_server_info=False) File "/usr/lib/python2.7/dist-packages/ldap3/strategy/sync.py", line 56, in open BaseStrategy.open(self, reset_usage, read_server_info) File "/usr/lib/python2.7/dist-packages/ldap3/strategy/base.py", line 141, in open raise exception_history[0][1](exception_history[0][2]) ldap3.core.exceptions.LDAPSocketOpenError: socket connection error while opening: [Errno 111] Connection refused root@localhost:~/upg40# ping www.google.com PING www.google.com (172.217.6.164) 56(84) bytes of data. 64 bytes from dfw25s17-in-f4.1e100.net (172.217.6.164): icmp_seq=1 ttl=120 time=1.20 ms 64 bytes from dfw25s17-in-f4.1e100.net (172.217.6.164): icmp_seq=2 ttl=120 time=1.23 ms 64 bytes from dfw25s17-in-f4.1e100.net (172.217.6.164): icmp_seq=3 ttl=120 time=1.27 ms 64 bytes from dfw25s17-in-f4.1e100.net (172.217.6.164): icmp_seq=4 ttl=120 time=20.2 ms ^C --- www.google.com ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3004ms rtt min/avg/max/mdev = 1.207/5.997/20.273/8.242 ms root@localhost:~/upg40# ^C root@localhost:~/upg40#

By Aliaksandr Samuseu staff 01 Feb 2021 at 1:23 p.m. CST

Aliaksandr Samuseu gravatar
Hi, Mike. Please provide more details on which steps you follow when trying to upgrade. If you follow a particular doc on our portal, please provide a link to it.

By Mike Con user 01 Feb 2021 at 1:38 p.m. CST

Mike Con gravatar
https://gluu.org/docs/gluu-server/4.0/upgrade/ this error is create after I run python update.py -o The error root@localhost:~/upg40# python update.py -o Ready to upgrade Gluu Server. Start now (y|N) y This upgrade replaces all the default Gluu Server scripts WITH SCRIPTS FROM 4.0 and removes other custom scripts. (This will replace any customization you may have made to these default script entries) Do you want to continue? (Y|n) Y Detected OS ubuntu 18 Collecting properties Traceback (most recent call last): File "update.py", line 1999, in <module> setup_porperties = generate_properties(True) File "/root/upg40/setup/pylib/generate_properties.py", line 340, in generate_properties ldap_conn.bind() File "/usr/lib/python2.7/dist-packages/ldap3/core/connection.py", line 521, in bind self.open(read_server_info=False) File "/usr/lib/python2.7/dist-packages/ldap3/strategy/sync.py", line 56, in open BaseStrategy.open(self, reset_usage, read_server_info) File "/usr/lib/python2.7/dist-packages/ldap3/strategy/base.py", line 141, in open raise exception_history[0][1](exception_history[0][2]) ldap3.core.exceptions.LDAPSocketOpenError: socket connection error while opening: [Errno 111] Connection refused root@localhost:~/upg40#