By: Luke Miller user 29 Dec 2021 at 5:59 p.m. CST

1 Response
Luke Miller gravatar
I am trying to upgrade from GLUU 4.2.3 to 4.3 and I get the following error: root@localhost:~# python3 Starting upgrade. CONTINUE? (y|N): y This upgrade replaces all the default Gluu Server scripts WITH SCRIPTS FROM 4.3.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 Downloading Spanner modules Downloading to /tmp/600fa3667f/gcs.tgz Downloading to /tmp/600fa3667f/grpcio-1.37.0-cp36-cp36m-manylinux2014_x86_64.whl Downloading Community Edition Setup 4.3.0 Downloading to /root/app/ Extracting CES package Downloading sqlalchemy Downloading to /root/app/ The following packages are required for Gluu Server net-tools python3-pymysql Do you want to install these now? [Y/n] y Installing packages net-tools python3-pymysql Traceback (most recent call last): File "", line 1644, in <module> updaterObj.download_ces() File "", line 314, in download_ces from setup_app.test_data_loader import TestDataLoader File "/root/ces_current/setup_app/", line 12, in <module> from setup_app.installers.base import BaseInstaller File "/root/ces_current/setup_app/installers/", line 10, in <module> from setup_app.utils.db_utils import dbUtils File "/root/ces_current/setup_app/utils/", line 24, in <module> from setup_app.utils.spanner import Spanner File "/root/ces_current/setup_app/utils/", line 9, in <module> from import spanner File "/opt/dist/app/gcs/google/cloud/", line 17, in <module> from import __version__ File "/opt/dist/app/gcs/google/cloud/spanner_v1/", line 23, in <module> from .services.spanner import SpannerClient File "/opt/dist/app/gcs/google/cloud/spanner_v1/services/spanner/", line 18, in <module> from .client import SpannerClient File "/opt/dist/app/gcs/google/cloud/spanner_v1/services/spanner/", line 19, in <module> from distutils import util ImportError: cannot import name 'util' root@localhost:~#

By Devrim Yatar staff 30 Dec 2021 at 10:07 a.m. CST

Devrim Yatar gravatar
Hi, Can you try upgrade after installing distutils package? `apt install python3-distutils` Regards