We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cieyget@gmail.com
当前运行版本:v1.10.2-lts
新建站点后,修改配置文件第一次保存后,再次修改保存提示服务器内部错误。以下为log和openresty配置 演示视频:
https://github.com/cieyget/log/blob/main/OBS-2024-04-09%2008-19-39.mp4
openresty配置:
upstream halo { server 127.0.0.1:8090; } server { listen 80 ; server_name 10.10.100.203; index index.php index.html index.htm default.php default.htm default.html; location / { proxy_pass http://halo; proxy_set_header HOST $host; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } access_log /www/sites/web/log/access.log; error_log /www/sites/web/log/error.log; access_by_lua_file /www/common/waf/access.lua; set $RulePath /www/sites/web/waf/rules; set $logdir /www/sites/web/log; set $redirect on; set $attackLog on; set $CCDeny off; set $urlWhiteAllow off; set $urlBlockDeny off; set $argsDeny off; set $postDeny off; set $cookieDeny off; set $fileExtDeny off; set $ipBlockDeny off; set $ipWhiteAllow off; location ^~ /.well-known/acme-challenge { allow all; root /usr/share/nginx/html; } }
创建静态站点-修改配置 - 保存- 再次修改配置
No response
log(路径:日志审计--系统日志): [2024-04-09 07:28:51] [INFO] init logger successfully [2024-04-09 07:28:51] [INFO] init db successfully [2024-04-09 07:28:52] [INFO] Migration run successfully [2024-04-09 07:28:53] [INFO] init cache successfully [2024-04-09 07:28:53] [INFO] init session successfully [2024-04-09 07:28:53] [DEBUG] synchronize system time with [pool.ntp.org] successful! [2024-04-09 07:28:56] [INFO] Starting synchronization with App Store... [2024-04-09 07:28:56] [INFO] listen at http://0.0.0.0:20677 [tcp4] [2024-04-09 07:28:56] [INFO] [AppStore] download file from https://apps-assets.fit2cloud.com/stable/1panel.json.zip [2024-04-09 07:28:56] [INFO] Starting synchronization of application details... [2024-04-09 07:29:08] [INFO] Synchronization of application details Success [2024-04-09 07:29:08] [INFO] Synchronization with the App Store was successful! [2024-04-09 07:29:57] [INFO] new container info it-tools has been update, now start to recreate [2024-04-09 07:29:57] [INFO] update container it-tools successful! now check if the container is started. [2024-04-09 07:30:24] [INFO] init logger successfully [2024-04-09 07:30:24] [INFO] init db successfully [2024-04-09 07:30:24] [INFO] Migration run successfully [2024-04-09 07:30:24] [INFO] init cache successfully [2024-04-09 07:30:24] [INFO] init session successfully [2024-04-09 07:30:25] [DEBUG] synchronize system time with [pool.ntp.org] successful! [2024-04-09 07:30:28] [INFO] Starting synchronization with App Store... [2024-04-09 07:30:28] [INFO] listen at http://10.10.100.203:20677 [tcp4] [2024-04-09 07:30:28] [INFO] [AppStore] download file from https://apps-assets.fit2cloud.com/stable/1panel.json.zip [2024-04-09 07:30:28] [INFO] The App Store is at the latest version [2024-04-09 07:38:48] [INFO] start container it-tools operation start [2024-04-09 07:39:08] [ERROR] handler ws faled:, err: stdout: OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown : exit status 126 [2024-04-09 07:43:41] [INFO] download app[OpenResty] from https://apps-assets.fit2cloud.com/stable/1panel/openresty/1.21.4.3-0-focal/openresty-1.21.4.3-0-focal.tar.gz 2024/04/09 07:49:02 [INFO] acme: Registering account for cieyget@gmail.com 2024/04/09 07:49:34 [INFO] acme: Registering account for cieyget@gmail.com [2024-04-09 07:52:28] [ERROR] load the fail2ban version failed, err: stderr: 2024-04-09 07:52:28,665 fail2ban [122670]: ERROR Failed to access socket path: /var/run/fail2ban/fail2ban.sock. Is fail2ban running? [2024-04-09 07:52:39] [ERROR] load the fail2ban version failed, err: stderr: 2024-04-09 07:52:39,011 fail2ban [122695]: ERROR Failed to access socket path: /var/run/fail2ban/fail2ban.sock. Is fail2ban running? [2024-04-09 07:52:52] [ERROR] load the fail2ban version failed, err: stderr: 2024-04-09 07:52:52,689 fail2ban [122715]: ERROR Failed to access socket path: /var/run/fail2ban/fail2ban.sock. Is fail2ban running? �[31m2024/04/09 08:01:53 [Recovery] 2024/04/09 - 08:01:53 panic recovered: POST /api/v1/websites/nginx/update HTTP/1.1 Host: 10.10.100.203:20677 Accept: application/json, text/plain, */* Accept-Encoding: gzip, deflate Accept-Language: zh Connection: keep-alive Content-Length: 1268 Content-Type: application/json Cookie: scroll-cookie=307.77777099609375|/; psession=326056d8-c7a0-499e-9fe6-36ee73ef25e3; JSESSIONID=node07237wk7mrhlc1el24ao4dtcro0.node0 Origin: http://10.10.100.203:20677 Referer: http://10.10.100.203:20677/websites/1/config/resource User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0 runtime error: invalid memory address or nil pointer dereference runtime/panic.go:261 (0x6354b) runtime/signal_unix.go:861 (0x63518) github.com/1Panel-dev/1Panel/backend/utils/nginx/components/server.go:50 (0x190b060) github.com/1Panel-dev/1Panel/backend/utils/nginx/components/upstream_server.go:59 (0x191011f) github.com/1Panel-dev/1Panel/backend/utils/nginx/components/upstream.go:55 (0x190ee9b) github.com/1Panel-dev/1Panel/backend/utils/nginx/parser/parser.go:193 (0x1edb737) github.com/1Panel-dev/1Panel/backend/utils/nginx/parser/parser.go:55 (0x1edb738) github.com/1Panel-dev/1Panel/backend/utils/nginx/parser/parser.go:175 (0x1edc57f) github.com/1Panel-dev/1Panel/backend/utils/nginx/parser/parser.go:117 (0x1edbb37) github.com/1Panel-dev/1Panel/backend/utils/nginx/parser/parser.go:85 (0x1edb8b3) github.com/1Panel-dev/1Panel/backend/app/service/nginx_utils.go:60 (0x25517d7) github.com/1Panel-dev/1Panel/backend/app/service/website.go:910 (0x2578c23) github.com/1Panel-dev/1Panel/backend/app/api/v1/website.go:385 (0x284450f) github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x7d08db) github.com/1Panel-dev/1Panel/backend/middleware/password_expired.go:24 (0x285dd3b) github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x7d08db) github.com/1Panel-dev/1Panel/backend/middleware/session.go:36 (0x285d9e3) github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x7d08db) github.com/1Panel-dev/1Panel/backend/middleware/jwt.go:15 (0x285d7bb) github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x7d08db) github.com/1Panel-dev/1Panel/backend/middleware/loading.go:22 (0x2893923) github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x7d08db) github.com/1Panel-dev/1Panel/backend/middleware/bind_domain.go:22 (0x289378b) github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x7d08db) github.com/1Panel-dev/1Panel/backend/middleware/ip_limit.go:25 (0x2893463) github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x7d08db) github.com/1Panel-dev/1Panel/backend/middleware/operation.go:131 (0x289268f) github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x7dca7f) github.com/gin-gonic/gin@v1.9.1/recovery.go:102 (0x7dca64) github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x7dbe1f) github.com/gin-gonic/gin@v1.9.1/logger.go:240 (0x7dbde8) github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x7daf53) github.com/gin-gonic/gin@v1.9.1/gin.go:620 (0x7dac7c) github.com/gin-gonic/gin@v1.9.1/gin.go:576 (0x7da89f) net/http/server.go:2938 (0x43246b) net/http/server.go:2009 (0x42e867) runtime/asm_arm64.s:1197 (0x82543) �[0m
### 附加信息 _No response_
The text was updated successfully, but these errors were encountered:
感谢反馈,我们会在近期版本修复上述问题。
目前你需要手动删除 upstream 相关配置。
已知问题:#4258
Sorry, something went wrong.
遇到了相同问题,也是把upstream独立出来导致的,期待修复
3天前。。。。我还以为上线了 着急用咋办
3天前。。。。我还以为上线了
着急用咋办
手动编辑配置文件,重建 openresty 就可以,然后尽量不要操作网站配置
wanghe-fit2cloud
No branches or pull requests
联系方式
cieyget@gmail.com
1Panel 版本
当前运行版本:v1.10.2-lts
问题描述
新建站点后,修改配置文件第一次保存后,再次修改保存提示服务器内部错误。以下为log和openresty配置
演示视频:
https://github.com/cieyget/log/blob/main/OBS-2024-04-09%2008-19-39.mp4
openresty配置:
重现步骤
创建静态站点-修改配置 - 保存- 再次修改配置
期待的正确结果
No response
相关日志输出
The text was updated successfully, but these errors were encountered: