Urgently!!!!!! Update failed — CyberPanel - WebHosting Control Panel for OpenLiteSpeed

Urgently!!!!!! Update failed

edited January 2020 in Updates
When updating I get the error

Error: rpmdb open failed
Failed to set locale, defaulting to C
error: rpmdb: BDB0113 Thread/process 2187/140310627501888 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 - (-30973)
error: cannot open Packages database in /var/lib/rpm

I follow this guide: https://www.ostechnix.com/solve-error-rpmdb-open-failed-error-centos/

Go to step
# yum clean all

Then the fault:

Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Cleaning repos: base dovecot-2.3-latest epel extras gf gf-plus litespeed litespeed-update lux mariadb mongodb-org-3.4
: nodesource powerdns-auth-master updates
Other repos take up 20 M of disk space (use --verbose for details)


ERROR: Command errored out with exit status 1:
command: /usr/local/CyberPanel/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-o5t91g5q/jsonpatch/setup.py'"'"'; __file__='"'"'/tmp/pip-install-o5t91g5q/jsonpatch/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-o5t91g5q/jsonpatch/pip-egg-info
cwd: /tmp/pip-install-o5t91g5q/jsonpatch/
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-o5t91g5q/jsonpatch/setup.py", line 13, in <module>
src = open('jsonpatch.py').read()
File "/usr/local/CyberPanel/lib64/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 173: ordinal not in range(128)
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
No LICENSE.txt / LICENSE found in source
New python executable in /usr/local/CyberPanel/bin/python3
Not overwriting existing python script /usr/local/CyberPanel/bin/python (you must use /usr/local/CyberPanel/bin/python3)
Installing setuptools, pip, wheel...


Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion