【待反馈】面板从7.x更新到9.2后访问网页白屏
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:面板9.2
系统版本:
root@debian:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
问题描述:
面板从7.x更新到9.2
相关截图(日志、错误):
请输入命令编号:22
===============================================
正在执行(22)...
===============================================
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
File "<frozen importlib._bootstrap>", line 983 in _find_and_load
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 953 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 983 in _find_and_load
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/exceptions.py", line 2 in <module>
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 728 in exec_module
File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 983 in _find_and_load
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 11 in <module>
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 728 in exec_module
File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 983 in _find_and_load
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/__init__.py", line 7 in <module>
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 728 in exec_module
File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 983 in _find_and_load
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/__init__.py", line 43 in <module>
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 728 in exec_module
File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 983 in _find_and_load
File "class/http_requests.py", line 18 in <module>
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 728 in exec_module
File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 983 in _find_and_load
File "class/public.py", line 49 in HttpGet
File "class/public.py", line 541 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
File "class/public.py", line 578 in GetHost
File "class/public.py", line 536 in GetLocalIp
...
\n
\n
\n
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
\n
root@debian:~# locale -a
C
C.UTF-8
POSIX
zh_CN.utf8
删除之前无法使用的面板环境
mv/www/server/panel/pyenv /www/backup/pyenv_backup
重新获取新的面板环境和更新包
curl http://download.bt.cn/install/update_panel.sh|bash
已经执行过上述代码,还是一样的报错 您好,做一下磁盘快照,避免数据丢失
然后执行下面命令,尝试修复
mv /www/server/panel/pyenv/ /www/backup/pyenv_backup
curl https://download.bt.cn/install/update_panel.sh|bash
页:
[1]