Skip to content

[Bug] Upgrade from v2.0.14 to v2.0.15 failed #11320

@xiaoge19961220

Description

@xiaoge19961220

Contact Information

No response

1Panel Version

v2.0.14

Problem Description

升级v2.0.15后,重新登陆后提示成功,但是查看版本还是v2.0.14

Steps to Reproduce

mac 的orbstack安装的v2.0.14升级2.0.15

The expected correct result

No response

Related log output

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2c pc=0xca105c]
goroutine 741 gp=0xc000513340 m=6 mp=0xc000480008 [running]:
panic({0x188a820?, 0x4f914f0?})
	runtime/panic.go:811 +0x168 fp=0xc0009f3c80 sp=0xc0009f3bd0 pc=0x478868
runtime.panicmem(...)
	runtime/panic.go:262
runtime.sigpanic()
	runtime/signal_unix.go:925 +0x359 fp=0xc0009f3ce0 sp=0xc0009f3c80 pc=0x47b0d9
github.com/sirupsen/logrus.(*Logger).level(...)
	github.com/sirupsen/logrus@v1.9.3/logger.go:358
github.com/sirupsen/logrus.(*Logger).IsLevelEnabled(...)
	github.com/sirupsen/logrus@v1.9.3/logger.go:380
github.com/sirupsen/logrus.(*Logger).Logf(0xc000f00370?, 0x18011e0?, {0x1aff1a3?, 0x1acc1a0?}, {0xc0009f3f80?, 0xc0009f3f70?, 0xc0009f3f60?})
	github.com/sirupsen/logrus@v1.9.3/logger.go:152 +0x1c fp=0xc0009f3d30 sp=0xc0009f3ce0 pc=0xca105c
github.com/sirupsen/logrus.(*Logger).Errorf(0xc0009f0100?, {0x1aff1a3?, 0x51?}, {0xc0009f3f80?, 0xe?, 0xc000b06000?})
	github.com/sirupsen/logrus@v1.9.3/logger.go:186 +0x31 fp=0xc0009f3d78 sp=0xc0009f3d30 pc=0xca1511
github.com/1Panel-dev/1Panel/core/app/service.(*UpgradeService).Upgrade.func1()
	github.com/1Panel-dev/1Panel/core/app/service/upgrade.go:166 +0x79a fp=0xc0009f3fe0 sp=0xc0009f3d78 pc=0x15b263a
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc0009f3fe8 sp=0xc0009f3fe0 pc=0x480c41
created by github.com/1Panel-dev/1Panel/core/app/service.(*UpgradeService).Upgrade in goroutine 151
	github.com/1Panel-dev/1Panel/core/app/service/upgrade.go:131 +0x565
[2025-12-12 15:42:43] [INFO] init logger successfully

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions