从 v1.10.2-lts升级到v1.10.3-lts无法启动了
OS: Debian
Kernel: aarch64 Linux 6.1.0-18-arm64
运行1panel提示:
[2024-04-18 18:24:11] [INFO] upgrade successful!
[2024-04-18 18:24:11] [INFO] init logger successfully
[2024-04-18 18:24:11] [INFO] init monitor db successfully
[2024-04-18 18:24:11] [INFO] init db successfully
[2024-04-18 18:24:24] [ERROR] empty slice found
panic: empty slice found
goroutine 1 [running]:
github.com/1Panel-dev/1Panel/backend/init/migration.Init()
github.com/1Panel-dev/1Panel/backend/init/migration/migrate.go:87 +0x9e4
github.com/1Panel-dev/1Panel/backend/server.Start()
github.com/1Panel-dev/1Panel/backend/server/server.go:38 +0x34
github.com/1Panel-dev/1Panel/cmd/server/cmd.glob..func10(0x4000f45a00?, {0x338168d?, 0x4?, 0x338158d?})
github.com/1Panel-dev/1Panel/cmd/server/cmd/root.go:22 +0x1c
github.com/spf13/cobra.(*Command).execute(0x8d029c0, {0x400004c0a0, 0x0, 0x0})
github.com/spf13/cobra@v1.8.0/command.go:983 +0x840
github.com/spf13/cobra.(*Command).ExecuteC(0x8d029c0)
github.com/spf13/cobra@v1.8.0/command.go:1115 +0x344
github.com/spf13/cobra.(*Command).Execute(0x400006a728?)
github.com/spf13/cobra@v1.8.0/command.go:1039 +0x1c
main.main()
./main.go:23 +0x24
运行1pctl status
1panel.service - 1Panel, a modern open source linux panel
Loaded: loaded (/etc/systemd/system/1panel.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2024-04-18 18:50:11 CST; 4s ago
Process: 3495070 ExecStart=/usr/bin/1panel (code=exited, status=2)
Main PID: 3495070 (code=exited, status=2)
CPU: 6.259s
如何查看更详细的日志以及如何解决此问题…惨啊
王贺
2
确实在部分用户环境出现了这个问题。
麻烦关注一下这个 issue,我们在本地环境尝试复现这个问题: