bluemoe 发表于 2023-10-10 16:01:47

更新后无法访问面板,且无法启动面板

debian 11系统
Python 3.9.2


运行pip install whitenoise依然报错
===============mdserver-web cli tools=================
(1)      重启面板服务
(2)      停止面板服务
(3)      启动面板服务
(4)      重载面板服务
(5)      修改面板端口
(10)   查看面板默认信息
(11)   修改面板密码
(12)   修改面板用户名
(13)   显示面板错误日志
(20)   关闭BasicAuth认证
(21)   解除域名绑定
(100)    开启PHP52显示
(101)    关闭PHP52显示
(200)    切换Linux系统软件源
(201)    简单速度测试
(0)      取消
======================================================
请输入命令编号:3
starting mw-tasks... done
starting mw-panel... ................failed
------------------------------------------------------
    self.callable = self.load()
File "/www/server/mdserver-web/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
    return self.load_wsgiapp()
File "/www/server/mdserver-web/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
    return util.import_app(self.app_uri)
File "/www/server/mdserver-web/lib/python3.9/site-packages/gunicorn/util.py", line 359, in import_app
    mod = importlib.import_module(module)
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name, package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 790, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/www/server/mdserver-web/app.py", line 25, in <module>
    from route import app, socketio
File "/www/server/mdserver-web/route/__init__.py", line 31, in <module>
    from whitenoise import WhiteNoise
ModuleNotFoundError: No module named 'whitenoise'
------------------------------------------------------
Error: mw-panel service startup failed.


admin 发表于 2023-10-10 16:22:02

最有效的升级方式,mw update_dev.
手到升级,需要进入虚拟环境venv.
cd /www/server/mdserver-web && source bin/activate

https://github.com/midoks/mdserver-web/wiki#%E8%BF%9B%E5%85%A5%E8%99%9A%E6%8B%9F%E7%8E%AF%E5%A2%83

bluemoe 发表于 2023-10-10 16:24:10

还有这个Google硬盘有获取授权提示为空的bug

生成了两套ui
https://img.imgdd.com/f210f3.2ec00a21-fb3b-423f-9ca9-9449357e5034.png
https://img.imgdd.com/f210f3.fdd4be22-a143-4491-a624-6238d7dacc51.png

bluemoe 发表于 2023-10-10 16:28:30

admin 发表于 2023-10-10 16:22
最有效的升级方式,mw update_dev.
手到升级,需要进入虚拟环境venv.
cd /www/server/mdserver-web && sou ...

感谢 好了
页: [1]
查看完整版本: 更新后无法访问面板,且无法启动面板