|
楼主 |
发表于 2024-7-28 02:02:27
|
显示全部楼层
错误信息是这样的
- [Info] 2024-07-28 01:53:29 Initializing database connection...
- [Panic] 2024-07-28 01:53:29 Failed to connect to database: dial tcp: lookup 1Panel-mysql-mPGB on 1.1.1.1:53: no such host
- panic: Failed to connect to database: dial tcp: lookup 1Panel-mysql-mPGB on 1.1.1.1:53: no such host
- goroutine 1 [running]:
- github.com/cloudreve/Cloudreve/v3/pkg/util.(*Logger).Panic(0xc0000ae8e0, {0x1564120?, 0xc000157b98?}, {0xc000157b98?, 0x5?, 0x440b00?})
- /Users/aaronliu/Projects/Cloudreve/pkg/util/logger.go:74 +0x94
- github.com/cloudreve/Cloudreve/v3/models.Init()
- /Users/aaronliu/Projects/Cloudreve/models/init.go:76 +0x70a
- github.com/cloudreve/Cloudreve/v3/bootstrap.Init.func5()
- /Users/aaronliu/Projects/Cloudreve/bootstrap/init.go:61 +0x17
- github.com/cloudreve/Cloudreve/v3/bootstrap.Init({0xc00003a2d0, 0x4a}, {0x1a6b960, 0xc0000102b8})
- /Users/aaronliu/Projects/Cloudreve/bootstrap/init.go:128 +0x29b
- main.init.0()
- /Users/aaronliu/Projects/Cloudreve/main.go:42 +0x1ca
复制代码 |
|