usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.52k stars 588 forks source link

[BUG] During Update #1303

Open lucasfurlan2 opened 1 month ago

lucasfurlan2 commented 1 month ago

I'm on Cyberpanel Current Version: 2.3 Build: 5 Current Commit: f5008094520cce6524435c867f452de3915c993e

and I went to update to the latest version

Latest Version: 2.3 Latest Build: 5 Latest Commit: e0fe348213a53cea6c25b59380a64e0fa7e174df

During the process, the following error returned:

copying src/nacl/pwhash/argon2id.py -> build/lib.linux-x86_64-3.6/nacl/pwhash copying src/nacl/pwhash/init.py -> build/lib.linux-x86_64-3.6/nacl/pwhash copying src/nacl/pwhash/scrypt.py -> build/lib.linux-x86_64-3.6/nacl/pwhash creating build/lib.linux-x86_64-3.6/nacl/bindings copying src/nacl/bindings/crypto_sign.py -> build/lib.linux-x86_64-3.6/nacl/bindings copying src/nacl/bindings/crypto_shorthash.py -> build/lib.linux-x86_64-3.6/nacl/bindings copying src/nacl/bindings/crypto_generichash.py -> build/lib.linux-x86_64-3.6/nacl/bindings copying src/nacl/bindings/crypto_scalarmult.py -> build/lib.linux-x86_64-3.6/nacl/bindings copying src/nacl/bindings/crypto_box.py -> build/lib.linux-x86_64-3.6/nacl/bindings copying src/nacl/bindings/utils.py -> build/lib.linux-x86_64-3.6/nacl/bindings copying src/nacl/bindings/init.py -> build/lib.linux-x86_64-3.6/nacl/bindings copying src/nacl/bindings/randombytes.py -> build/lib.linux-x86_64-3.6/nacl/bindings copying src/nacl/bindings/sodium_core.py -> build/lib.linux-x86_64-3.6/nacl/bindings copying src/nacl/bindings/crypto_kx.py -> build/lib.linux-x86_64-3.6/nacl/bindings copying src/nacl/bindings/crypto_aead.py -> build/lib.linux-x86_64-3.6/nacl/bindings copying src/nacl/bindings/crypto_core.py -> build/lib.linux-x86_64-3.6/nacl/bindings copying src/nacl/bindings/crypto_pwhash.py -> build/lib.linux-x86_64-3.6/nacl/bindings copying src/nacl/bindings/crypto_hash.py -> build/lib.linux-x86_64-3.6/nacl/bindings copying src/nacl/bindings/crypto_secretstream.py -> build/lib.linux-x86_64-3.6/nacl/bindings copying src/nacl/bindings/crypto_secretbox.py -> build/lib.linux-x86_64-3.6/nacl/bindings copying src/nacl/py.typed -> build/lib.linux-x86_64-3.6/nacl running build_clib error: [Errno 13] Permission denied: '/tmp/pip-build-y3l0e_7d/pynacl/src/libsodium/configure'

----------------------------------------

Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-build-y3l0e_7d/pynacl/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-i723nru5-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-y3l0e_7d/pynacl/ above command failed...

Captura de tela 2024-08-10 223314

System: NAME="AlmaLinux" VERSION="8.10 (Cerulean Leopard)" ID="almalinux" ID_LIKE="rhel centos fedora" VERSION_ID="8.10" PLATFORM_ID="platform:el8" PRETTY_NAME="AlmaLinux 8.10 (Cerulean Leopard)" ANSI_COLOR="0;34" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:almalinux:almalinux:8::baseos" HOME_URL="https://almalinux.org/" DOCUMENTATION_URL="https://wiki.almalinux.org/" BUG_REPORT_URL="https://bugs.almalinux.org/"

ALMALINUX_MANTISBT_PROJECT="AlmaLinux-8" ALMALINUX_MANTISBT_PROJECT_VERSION="8.10" REDHAT_SUPPORT_PRODUCT="AlmaLinux" REDHAT_SUPPORT_PRODUCT_VERSION="8.10" SUPPORT_END=2029-06-01

izzais commented 3 weeks ago

I was able to solve it using this command : pip install --upgrade pip

ephilos-win commented 3 weeks ago

I was able to solve it using this command : pip install --upgrade pip

Worked for me with following too:

Current Version: 2.3 Build: 5 Current Commit: d884243c80fa05492dca05d8236f3e64b294d5d9

Latest Version: 2.3 Latest Build: 6 Latest Commit: dcd811e79f6ffb0a3af2a380b87bb69be1283e10

lucasfurlan2 commented 3 weeks ago

I was able to solve it using this command : pip install --upgrade pip

Thanks man!