newbieshan 发表于 2023-7-27 22:53:35

面板更新后无法启动

从 12.0 更新过来的,更新后无法启动,已经尝试过 pip3 install Flask-Sockets。
stopping mw-tasks... done
stopping mw-panel... /etc/rc.d/init.d/mw: line 61: 3239406 Killed                  python3 task.py >> ${mw_path}/logs/task.log 2>&1
done
starting mw-tasks... done
starting mw-panel... ................failed
------------------------------------------------------
    self.callable = self.load()
File "/www/server/mdserver-web/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
    return self.load_wsgiapp()
File "/www/server/mdserver-web/lib/python3.10/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.10/site-packages/gunicorn/util.py", line 359, in import_app
    mod = importlib.import_module(module)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name, package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, 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 96, in <module>
    from flask_sockets import Sockets
ModuleNotFoundError: No module named 'flask_sockets'

midoks 发表于 2023-7-27 22:58:23

更新命令: mw update
页: [1]
查看完整版本: 面板更新后无法启动