Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]网站配置操作提示系统异常 #4258

Closed
z514987467 opened this issue Mar 21, 2024 · 2 comments
Closed

[BUG]网站配置操作提示系统异常 #4258

z514987467 opened this issue Mar 21, 2024 · 2 comments

Comments

@z514987467
Copy link

联系方式

zhangmingzheng2006@126.com

1Panel 版本

v1.10.2-lts

问题描述

在v1.10.1-lts版本配置的网站,并且配置了upstream,升级了v1.10.2-lts后upstream配置消失,并且无法配置默认站点

重现步骤

在v1.10.1-lts版本配置的网站,并且配置了upstream,升级了v1.10.2-lts后upstream配置消失,并且无法配置默认站点

期待的正确结果

No response

相关日志输出

runtime error: invalid memory address or nil pointer dereference
runtime/panic.go:261 (0x453157)
runtime/signal_unix.go:861 (0x453125)
github.com/1Panel-dev/1Panel/backend/utils/nginx/components/server.go:50 (0x1e66120)
github.com/1Panel-dev/1Panel/backend/utils/nginx/components/upstream_server.go:59 (0x1e6b9f2)
github.com/1Panel-dev/1Panel/backend/utils/nginx/components/upstream.go:55 (0x1e6a534)
github.com/1Panel-dev/1Panel/backend/utils/nginx/parser/parser.go:193 (0x24b193c)
github.com/1Panel-dev/1Panel/backend/utils/nginx/parser/parser.go:55 (0x24b193d)
github.com/1Panel-dev/1Panel/backend/utils/nginx/parser/parser.go:175 (0x24b2993)
github.com/1Panel-dev/1Panel/backend/utils/nginx/parser/parser.go:117 (0x24b1d56)
github.com/1Panel-dev/1Panel/backend/utils/nginx/parser/parser.go:162 (0x24b28bc)
github.com/1Panel-dev/1Panel/backend/utils/nginx/parser/parser.go:117 (0x24b1d56)
github.com/1Panel-dev/1Panel/backend/utils/nginx/parser/parser.go:85 (0x24b1abd)
github.com/1Panel-dev/1Panel/backend/app/service/nginx_utils.go:40 (0x2bde784)
github.com/1Panel-dev/1Panel/backend/app/service/nginx_utils.go:74 (0x2bdebfe)
github.com/1Panel-dev/1Panel/backend/app/service/website.go:1035 (0x2c0f0e4)
github.com/1Panel-dev/1Panel/backend/app/api/v1/website.go:428 (0x2f23e61)
github.com/gin-gonic/gin@v1.9.1/context.go:174 (0xc6098a)
github.com/1Panel-dev/1Panel/backend/middleware/password_expired.go:24 (0x2f3fc69)
github.com/gin-gonic/gin@v1.9.1/context.go:174 (0xc6098a)
github.com/1Panel-dev/1Panel/backend/middleware/session.go:36 (0x2f3f81a)
github.com/gin-gonic/gin@v1.9.1/context.go:174 (0xc6098a)
github.com/1Panel-dev/1Panel/backend/middleware/jwt.go:15 (0x2f3f528)
github.com/gin-gonic/gin@v1.9.1/context.go:174 (0xc6098a)
github.com/1Panel-dev/1Panel/backend/middleware/loading.go:22 (0x2f79b44)
github.com/gin-gonic/gin@v1.9.1/context.go:174 (0xc6098a)
github.com/1Panel-dev/1Panel/backend/middleware/bind_domain.go:22 (0x2f79930)
github.com/gin-gonic/gin@v1.9.1/context.go:174 (0xc6098a)
github.com/1Panel-dev/1Panel/backend/middleware/ip_limit.go:25 (0x2f79524)
github.com/gin-gonic/gin@v1.9.1/context.go:174 (0xc6098a)
github.com/1Panel-dev/1Panel/backend/middleware/operation.go:131 (0x2f78384)
github.com/gin-gonic/gin@v1.9.1/context.go:174 (0xc6d899)
github.com/gin-gonic/gin@v1.9.1/recovery.go:102 (0xc6d887)
github.com/gin-gonic/gin@v1.9.1/context.go:174 (0xc6ca3d)
github.com/gin-gonic/gin@v1.9.1/logger.go:240 (0xc6ca00)
github.com/gin-gonic/gin@v1.9.1/context.go:174 (0xc6bafa)
github.com/gin-gonic/gin@v1.9.1/gin.go:620 (0xc6b78d)
github.com/gin-gonic/gin@v1.9.1/gin.go:576 (0xc6b2bc)
net/http/server.go:2938 (0x87944d)
net/http/server.go:2009 (0x875333)
runtime/asm_amd64.s:1650 (0x472080)
�[0m

附加信息

No response

@z514987467 z514987467 changed the title [BUG] [BUG]网站配置操作提示系统异常 Mar 21, 2024
@zhengkunwang223
Copy link
Member

感谢反馈 后续版本修复

@wanghe-fit2cloud
Copy link
Member

v1.10.3-lts 版本已发布。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants