You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [[ "$Server_OS_Version"="9" ]] || [[ "$Server_OS_Version"="10" ]];then
801
+
echo -e "[$(date +"%Y-%m-%d %H:%M:%S")] AlmaLinux/Rocky $Server_OS_Version: will use python3 -m venv, skipping virtualenv package"| tee -a /var/log/cyberpanel_upgrade_debug.log
802
+
else
803
+
if [ -e /usr/bin/pip3 ];then PIP3="/usr/bin/pip3";else PIP3="pip3.6";fi
804
+
$PIP3 install --default-timeout=3600 virtualenv
805
+
Check_Return
806
+
fi
800
807
else
801
-
PIP3="pip3.6"
808
+
if [ -e /usr/bin/pip3 ];then PIP3="/usr/bin/pip3";else PIP3="pip3.6";fi
809
+
$PIP3 install --default-timeout=3600 virtualenv
810
+
Check_Return
802
811
fi
803
-
$PIP3 install --default-timeout=3600 virtualenv
804
-
Check_Return
805
812
fi
806
813
807
814
if [[ -f /usr/local/CyberPanel/bin/python2 ]];then
if [[ "$Server_OS_Version"="9" ]] || [[ "$Server_OS_Version"="10" ]];then
822
+
echo -e "[$(date +"%Y-%m-%d %H:%M:%S")] AlmaLinux/Rocky $Server_OS_Version detected, using python3 -m venv..."| tee -a /var/log/cyberpanel_upgrade_debug.log
if [[ "$Server_OS_Version"="9" ]] || [[ "$Server_OS_Version"="10" ]];then
845
+
echo -e "[$(date +"%Y-%m-%d %H:%M:%S")] AlmaLinux/Rocky $Server_OS_Version: using python3 -m venv (no virtualenv pkg needed)..."| tee -a /var/log/cyberpanel_upgrade_debug.log
<description>Configure custom domain(s) for accessing CyberPanel behind a reverse proxy. Fixes 403 CSRF errors on POST (e.g. Ban IP) and optionally sets up OpenLiteSpeed proxy so the panel is reachable at your domain without manual OLS config. Detects panel port from bind.conf (2087/8090).</description>
0 commit comments