Hi @usmannasir
I got error and update to version v2.3.5 did not compleat
root@secondserverhpe:~# sudo su - -c "sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)"
This server has installed CyberPanel.
Visit https://www.cyberpanel.net
Forum https://forums.cyberpanel.net
Current Server time : 2024-04-09 18:45:10.
Current Load average: 0.27, 0.46, 0.48
Current CPU usage : 1.23893%.
Current RAM usage : 2869/16018MB (17.91%).
Current Disk usage : 159/295GB (57%).
System uptime : 1 days, 7 hours, 47 minutes.
Enjoy your accelerated Internet by CyberPanel.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 396 100 396 0 0 1281 0 --:--:-- --:--:-- --:--:-- 1281
Fetching latest data from CyberPanel server...
This may take few seconds...
Checking root privileges...
You are running as root...
Checking server location...
System: Ubuntu 20 detected...
Press the Enter key to continue with latest version, or enter specific version such as: 1.9.4 , 1.9.5 ...etc
If nothing is input in 10 seconds, script will proceed with the latest stable version.
Please press the Enter key or specify a version number, or wait for 10 seconds:
Branch name set to v2.3.5
Ign:1 http://rpms.litespeedtech.com/debian focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://rpms.litespeedtech.com/debian focal Release
Hit:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libhiredis0.14 linux-headers-5.4.0-171 linux-headers-5.4.0-171-generic linux-image-5.4.0-171-generic linux-modules-5.4.0-171-generic
linux-modules-extra-5.4.0-171-generic lua-bitop lua-cjson redis-tools
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
htop is already the newest version (2.2.0-2build1).
libattr1 is already the newest version (1:2.4.48-5).
libattr1-dev is already the newest version (1:2.4.48-5).
libidn2-0-dev is already the newest version (2.2.0-2).
libidn2-dev is already the newest version (2.2.0-2).
libpsl-dev is already the newest version (0.21.0-1ubuntu1).
librtmp-dev is already the newest version (2.4+20151223.gitfa8646d.1-2build1).
telnet is already the newest version (0.17-41.2build1).
idn2 is already the newest version (2.2.0-2).
git is already the newest version (1:2.25.1-1ubuntu3.11).
libcomerr2 is already the newest version (1.45.5-2ubuntu1.1).
libcurl4-gnutls-dev is already the newest version (7.68.0-1ubuntu2.22).
libgcrypt20-dev is already the newest version (1.8.5-5ubuntu1.1).
libgnutls28-dev is already the newest version (3.6.13-2ubuntu1.10).
libgpgme-dev is already the newest version (1.13.1-7ubuntu2.2).
libgssapi-krb5-2 is already the newest version (1.17-6ubuntu4.4).
libk5crypto3 is already the newest version (1.17-6ubuntu4.4).
libkrb5-dev is already the newest version (1.17-6ubuntu4.4).
libldap2-dev is already the newest version (2.4.49+dfsg-2ubuntu1.10).
liblzma-dev is already the newest version (5.2.4-1ubuntu1.1).
libnghttp2-dev is already the newest version (1.40.0-1ubuntu0.2).
libssl-dev is already the newest version (1.1.1f-1ubuntu2.22).
nettle-dev is already the newest version (3.5.1+really3.5.1-2ubuntu0.2).
dnsutils is already the newest version (1:9.16.48-0ubuntu0.20.04.1).
libmariadbclient-dev is already the newest version (1:10.3.39-0ubuntu0.20.04.2).
nghttp2 is already the newest version (1.40.0-1ubuntu0.2).
virtualenv is already the newest version (20.0.17-1ubuntu0.4).
The following packages were automatically installed and are no longer required:
libhiredis0.14 linux-headers-5.4.0-171 linux-headers-5.4.0-171-generic linux-image-5.4.0-171-generic linux-modules-5.4.0-171-generic
linux-modules-extra-5.4.0-171-generic lua-bitop lua-cjson redis-tools
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-pip is already the newest version (20.0.2-5ubuntu1.10).
The following packages were automatically installed and are no longer required:
libhiredis0.14 linux-headers-5.4.0-171 linux-headers-5.4.0-171-generic linux-image-5.4.0-171-generic linux-modules-5.4.0-171-generic
linux-modules-extra-5.4.0-171-generic lua-bitop lua-cjson redis-tools
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libffi-dev is already the newest version (3.3-4).
python3-dev is already the newest version (3.8.2-0ubuntu2).
build-essential is already the newest version (12.8ubuntu1.1).
libssl-dev is already the newest version (1.1.1f-1ubuntu2.22).
The following packages were automatically installed and are no longer required:
libhiredis0.14 linux-headers-5.4.0-171 linux-headers-5.4.0-171-generic linux-image-5.4.0-171-generic linux-modules-5.4.0-171-generic
linux-modules-extra-5.4.0-171-generic lua-bitop lua-cjson redis-tools
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-venv is already the newest version (3.8.2-0ubuntu2).
The following packages were automatically installed and are no longer required:
libhiredis0.14 linux-headers-5.4.0-171 linux-headers-5.4.0-171-generic linux-image-5.4.0-171-generic linux-modules-5.4.0-171-generic
linux-modules-extra-5.4.0-171-generic lua-bitop lua-cjson redis-tools
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-security InRelease
Ign:5 http://rpms.litespeedtech.com/debian focal InRelease
Hit:6 http://rpms.litespeedtech.com/debian focal Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libhiredis0.14 linux-headers-5.4.0-171 linux-headers-5.4.0-171-generic linux-image-5.4.0-171-generic linux-modules-5.4.0-171-generic
linux-modules-extra-5.4.0-171-generic lua-bitop lua-cjson redis-tools
Use 'apt autoremove' to remove them.
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
libmagickcore-6.q16-6-extra libopenexr-dev libmagickwand-6.q16-6
libmagickwand-6-headers libmagickcore-6-headers redis-tools
libmagickcore-6-arch-config libmagickwand-6.q16-dev libopenexr24
libmagickcore-6.q16-6 libmagickwand-dev libmagickcore-6.q16-dev
imagemagick-6-common
Learn more about Ubuntu Pro at https://ubuntu.com/pro
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Requirement already satisfied: virtualenv==16.7.9 in /usr/local/lib/python3.8/dist-packages (16.7.9)
No need to re-setup virtualenv at /usr/local/CyberPanel...
--2024-04-09 18:45:41-- https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.3.5/requirments.txt
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 168.119.202.235
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|168.119.202.235|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1460 (1.4K) [text/plain]
Saving to: ‘/usr/local/requirments.txt’
/usr/local/requirments.txt 100%[=============================================================================>] 1.43K --.-KB/s in 0s
2024-04-09 18:45:41 (10.3 MB/s) - ‘/usr/local/requirments.txt’ saved [1460/1460]
Traceback (most recent call last):
File "/usr/local/CyberPanel/bin/pip3", line 8, in <module>
sys.exit(main())
File "/usr/local/CyberPanel/lib/python3.8/site-packages/pip/_internal/cli/main.py", line 68, in main
command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
File "/usr/local/CyberPanel/lib/python3.8/site-packages/pip/_internal/commands/__init__.py", line 114, in create_command
module = importlib.import_module(module_path)
File "/usr/local/CyberPanel/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 848, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/CyberPanel/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 16, in <module>
from pip._internal.cli.req_command import (
File "/usr/local/CyberPanel/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 20, in <module>
from pip._internal.index.collector import LinkCollector
File "/usr/local/CyberPanel/lib/python3.8/site-packages/pip/_internal/index/collector.py", line 37, in <module>
from pip._internal.network.session import PipSession
File "/usr/local/CyberPanel/lib/python3.8/site-packages/pip/_internal/network/session.py", line 44, in <module>
from pip._internal.network.cache import SafeFileCache
File "/usr/local/CyberPanel/lib/python3.8/site-packages/pip/_internal/network/cache.py", line 9, in <module>
from pip._vendor.cachecontrol.caches import FileCache
File "/usr/local/CyberPanel/lib/python3.8/site-packages/pip/_vendor/cachecontrol/caches/__init__.py", line 6, in <module>
from .redis_cache import RedisCache
ModuleNotFoundError: No module named 'pip._vendor.cachecontrol.caches.redis_cache'
above command failed...
root@secondserverhpe:~#