请问0.17.4如何升级0.18.0
请问 是 重装系统然后安装全新的0.18.0.
或者 通过卸载脚本卸载0.17.4后再安装0.18.0呢
如果站点信息为空,rm -rf /www/server/mdserver-web。mw update 直接升级 本帖最后由 yugege 于 2024-12-29 22:23 编辑
midoks 发表于 2024-12-28 22:17
如果站点信息为空,rm -rf /www/server/mdserver-web。mw update 直接升级
有建站,目前已经执行 rm -rf /www/server/mdserver-web 命令,mw update报错。新安装报错,稍后我看怎么发错误日志。 midoks 发表于 2024-12-28 22:17
如果站点信息为空,rm -rf /www/server/mdserver-web。mw update 直接升级
starting mw-tasks... failed
------------------------------------------------------
python3: can't open file '/www/server/mdserver-web/task.py': No such file or directory
------------------------------------------------------
Error: mw-tasks service startup failed.
starting mw-panel...
Error: 'setting.py' doesn't exist
.............................................................failed
------------------------------------------------------
tail: cannot open '/www/server/mdserver-web/logs/error.log' for reading: No such file or directory
------------------------------------------------------
Error: mw-panel service startup failed.
python3: can't open file '/www/server/mdserver-web/tools.py': No such file or directory
python3: can't open file '/www/server/mdserver-web/tools.py': No such file or directory
==================================================================
MW-Panel default info!
==================================================================
MW-Panel-Url: http://you-network-ip:17526
python3: can't open file '/www/server/mdserver-web/tools.py': No such file or directory
python3: can't open file '/www/server/mdserver-web/tools.py': No such file or directory
Warning:
If you cannot access the panel.
release the following port (17526|888|80|443|22) in the security group.
==================================================================
Time consumed: 5 Minute!
Install completed. If error occurs, please contact us with the log file mw-install.log .
安装完毕,如果出现错误,请带上同目录下的安装日志 mw-install.log 联系我们反馈.
本帖最后由 yugege 于 2024-12-29 23:17 编辑
你应该是安装好了,有旧脚本。mw update_dev 试试。 midoks 发表于 2024-12-30 11:25
你应该是安装好了,有旧脚本。mw update_dev 试试。
执行 mw update_dev 后,还是报错。无法进入后台,端口都是开启状态。
stopping mw-panel... cli.sh: line 20: 325882 Killed python3 panel_task.py >> ${DIR}/logs/panel_task.log 2>&1
done
starting mw-tasks... failed
------------------------------------------------------
python3: can't open file '/www/server/mdserver-web/task.py': No such file or directory
python3: can't open file '/www/server/mdserver-web/task.py': No such file or directory
python3: can't open file '/www/server/mdserver-web/task.py': No such file or directory
python3: can't open file '/www/server/mdserver-web/task.py': No such file or directory
------------------------------------------------------
Error: mw-tasks service startup failed.
starting mw-panel...
Error: 'setting.py' doesn't exist
.............................................................failed
------------------------------------------------------
tail: cannot open '/www/server/mdserver-web/logs/error.log' for reading: No such file or directory
------------------------------------------------------
Error: mw-panel service startup failed.
python3: can't open file '/www/server/mdserver-web/tools.py': No such file or directory
python3: can't open file '/www/server/mdserver-web/tools.py': No such file or directory
==================================================================
MW-Panel default info!
==================================================================
MW-Panel-Url: http://you-network-ip:17526
python3: can't open file '/www/server/mdserver-web/tools.py': No such file or directory
python3: can't open file '/www/server/mdserver-web/tools.py': No such file or directory
Warning:
If you cannot access the panel.
release the following port (17526|888|80|443|22) in the security group.
==================================================================
rm: cannot remove '/usr/bin/mw': Operation not permitted
Time consumed: 0 Minute!
root@VM-4-12-debian:~#
页:
[1]