1Panel icon indicating copy to clipboard operation
1Panel copied to clipboard

[BUG] 面板更新后无法启动

Open IsaacWangTT opened this issue 2 years ago • 2 comments

联系方式

[email protected]

1Panel 版本

1.3.2

问题描述

  • OS: Arch Linux x86_64
  • Kernel: 6.1.31-hardened1-1-hardened

面板更新 1.3.2 后无法启动(上一个版本可以正常使用), 卸载重新安装后无果

重现步骤

  1. 安装最小化 Arch Linux
  2. 安装部署 1Panel

期待的正确结果

部署完成并成功访问网页

相关日志输出

install.log
[1Panel Log]: ======================= 开始安装 ======================= 
[1Panel Log]: 您选择的安装路径为 /opt 
[1Panel Log]: 检测到 Docker 已安装,跳过安装步骤 
[1Panel Log]: 启动 Docker  
[1Panel Log]: 检测到 Docker Compose 已安装,跳过安装步骤 
[1Panel Log]: 您设置的端口为:30760 
[1Panel Log]: 防火墙开放 30760 端口 
[1Panel Log]: 您设置的用户名称为:a04e4eb8ec 
[1Panel Log]: 配置 1Panel Service 
[1Panel Log]: 启动 1Panel 服务 
[1Panel Log]: 1Panel 服务启动出错! 

journalctl -u 1panel -exf
Jun 08 16:01:05 VM-CORsfDkwiPcP 1panel[16399]: [2023-06-08 16:01:05] [INFO] init logger successfully
Jun 08 16:01:05 VM-CORsfDkwiPcP 1panel[16399]: [2023-06-08 16:01:05] [INFO] init db successfully
Jun 08 16:01:05 VM-CORsfDkwiPcP 1panel[16399]: [2023-06-08 16:01:05] [INFO] Migration run successfully
Jun 08 16:01:05 VM-CORsfDkwiPcP 1panel[16399]: [2023-06-08 16:01:05] [INFO] init cache successfully
Jun 08 16:01:05 VM-CORsfDkwiPcP 1panel[16399]: [2023-06-08 16:01:05] [INFO] init session successfully
Jun 08 16:01:05 VM-CORsfDkwiPcP 1panel[16399]: [2023-06-08 16:01:05] [INFO] sync app start...
Jun 08 16:01:05 VM-CORsfDkwiPcP systemd[1]: 1panel.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ An ExecStart= process belonging to unit 1panel.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 2.
Jun 08 16:01:05 VM-CORsfDkwiPcP systemd[1]: 1panel.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit 1panel.service has entered the 'failed' state with result 'exit-code'.
Jun 08 16:01:10 VM-CORsfDkwiPcP systemd[1]: 1panel.service: Scheduled restart job, restart counter is at 231.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ Automatic restarting of the unit 1panel.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Jun 08 16:01:10 VM-CORsfDkwiPcP systemd[1]: Stopped 1Panel, a modern open source linux panel.
░░ Subject: A stop job for unit 1panel.service has finished
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A stop job for unit 1panel.service has finished.
░░ 
░░ The job identifier is 24894 and the job result is done.
Jun 08 16:01:10 VM-CORsfDkwiPcP systemd[1]: Started 1Panel, a modern open source linux panel.
░░ Subject: A start job for unit 1panel.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit 1panel.service has finished successfully.
░░ 
░░ The job identifier is 24894.

附加信息

情况和上一次Issue一样,1.3.1的版本也确实修复了,故新开了个Issue反馈。

刚刚更新了1.3.3,还是有问题

IsaacWangTT avatar Jun 13 '23 10:06 IsaacWangTT

后面版本会针对 CGO 兼容性的问题做出优化。你的问题,可以先更换非 Arch 服务器来安装 1Panel。

wanghe-fit2cloud avatar Jun 13 '23 11:06 wanghe-fit2cloud

可以进微信交流群,添加一下我好友。

wanghe-fit2cloud avatar Jun 14 '23 06:06 wanghe-fit2cloud

v1.3.5 版本已修复上述问题。

wanghe-fit2cloud avatar Jun 17 '23 05:06 wanghe-fit2cloud

可以进微信交流群,添加一下我好友。

前几天在忙,没看到,不好意思

IsaacWangTT avatar Jun 17 '23 16:06 IsaacWangTT

v1.3.5 版本已修复上述问题。

好的好的辛苦了

IsaacWangTT avatar Jun 17 '23 16:06 IsaacWangTT