Curator - Python related error

Dear all,
just upgraded from yum command line the elasticsearch-curator pkg from 5.6.0 to 5.8.1 on same server CentOS Linux release 7.6.1810
I am not able to run anymore /opt/elasticsearch-curator/curator_cli --version

[root@i-0013933b-elk-server-15725155111 centos]# /opt/elasticsearch-curator/curator_cli --version
Fatal Python error: initfsencoding: Unable to get the locale encoding
Traceback (most recent call last):
  File "/opt/python/3.7.4/lib/python3.7/encodings/__init__.py", line 31, in <module>
zipimport.ZipImportError: can't decompress data; zlib not available
Aborted

According to extra tests, the issue only occurs with last rpm elasticsearch-curator-5.8.1-1.x86_64.

Keep perfectly working with rpms elasticsearch-curator-5.7.0-1.x86_64 and elasticsearch-curator-5.8.0-1.x86_64

Use /usr/bin/curator or /usr/bin/curator_cli now. The change is because those wrapper scripts set the LD_LIBRARY_PATH. In prior releases, these were symlinks to the /opt path.

Thanks Aaron for your swift reply.
Have a good day.
BR. Richard

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.