mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 16:55:56 +03:00
[GH-ISSUE #1161] 会自动停止服务吗 #631
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#631
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Rongbeixu on GitHub (Jun 21, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1161
2025-06-20 21:55:23 WARN /home/runner/work/nginx-ui/nginx-ui/main.go:129 parent.[::]:9000.Accept%!(EXTRA *net.OpError=accept tcp [::]:9000: use of closed network connection)
[GIN] 2025/06/20 - 21:55:23 | 200 | 3m7s | 219.142.150.127 | GET "/api/notifications/live"
2025-06-20 21:55:23 INFO /home/runner/work/nginx-ui/nginx-ui/main.go:95 Server exited
[GIN] 2025/06/20 - 21:55:23 | 200 | 3m7s | 219.142.150.127 | GET "/api/system/processing"
2025-06-20 21:55:23 DEBUG /home/runner/work/nginx-ui/nginx-ui/internal/cache/index.go:224 Context cancelled, shutting down scanner
2025-06-20 21:55:23 INFO /home/runner/work/nginx-ui/nginx-ui/internal/analytic/analytic.go:57 RecordServerAnalytic Stopped
@0xJacky commented on GitHub (Jun 22, 2025):
部署方式是什么
@Rongbeixu commented on GitHub (Jun 22, 2025):
下载的最新的发行包,然后nohup ./nginx-ui -config app.ini & 运行的
@0xJacky commented on GitHub (Jun 23, 2025):
停止前有做过什么操作吗
@Rongbeixu commented on GitHub (Jun 23, 2025):
没有
---原始邮件---
发件人: @.>
发送时间: 2025年6月23日(周一) 上午8:48
收件人: @.>;
抄送: @.@.>;
主题: Re: [0xJacky/nginx-ui] 会自动停止服务吗 (Issue #1161)
0xJacky left a comment (0xJacky/nginx-ui#1161)
停止前有做过什么操作吗
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>
@0xJacky commented on GitHub (Jun 23, 2025):
一般来说,只有接收到这三个信号的其中一个才会退出 syscall.SIGHUP, syscall.SIGINT, syscall.SIGTERM
@Rongbeixu commented on GitHub (Jun 23, 2025):
什么情况下会收到这三个信号中的一个呢?
---原始邮件---
发件人: @.>
发送时间: 2025年6月23日(周一) 上午8:53
收件人: @.>;
抄送: @.@.>;
主题: Re: [0xJacky/nginx-ui] 会自动停止服务吗 (Issue #1161)
0xJacky left a comment (0xJacky/nginx-ui#1161)
一般来说,只有接收到这三个信号的其中一个才会退出 syscall.SIGHUP, syscall.SIGINT, syscall.SIGTERM
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>
@0xJacky commented on GitHub (Jun 23, 2025):
全称: Hang Up
值: 1
用途:
• 最初用于终端挂断,比如关闭 SSH 会话时发送该信号。
• 在服务中常用来表示“配置重载”,如:
• Nginx、Apache 收到 SIGHUP 会重新加载配置文件。
• 你也可以在程序中捕获它来自定义行为(如热更新)。
全称: Interrupt
值: 2
用途:
• 用户按下 Ctrl+C 时由终端发送给前台进程组。
• 常用于让程序 优雅退出(graceful shutdown)。
全称: Terminate
值: 15
用途:
• 请求程序终止(默认行为是立即退出)。
• 是系统中最常见的“安全退出”信号之一,通常用于:
• kill (不带 -9)命令发送
• 系统关机时通知服务关闭
• 程序可捕获该信号实现优雅清理。
@0xJacky commented on GitHub (Jun 23, 2025):
推荐使用脚本进行安装,会开机自启动
@0xJacky commented on GitHub (Jun 24, 2025):
使用的操作系统是?系统内存多大的呀
@Rongbeixu commented on GitHub (Jun 24, 2025):
操作系统:debian 内存:4g
---原始邮件---
发件人: @.>
发送时间: 2025年6月24日(周二) 上午9:14
收件人: @.>;
抄送: @.@.>;
主题: Re: [0xJacky/nginx-ui] 会自动停止服务吗 (Issue #1161)
0xJacky left a comment (0xJacky/nginx-ui#1161)
使用的操作系统是?系统内存多大的呀
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>
@0xJacky commented on GitHub (Jun 24, 2025):
每次用
nohup ./nginx-ui -config app.ini &过一段时间都会自动退出?会不会重复执行了nohup ./nginx-ui -config app.ini &@Rongbeixu commented on GitHub (Jun 24, 2025):
没有重复执行
---原始邮件---
发件人: @.>
发送时间: 2025年6月24日(周二) 晚上10:09
收件人: @.>;
抄送: @.@.>;
主题: Re: [0xJacky/nginx-ui] 会自动停止服务吗 (Issue #1161)
0xJacky left a comment (0xJacky/nginx-ui#1161)
每次用 nohup ./nginx-ui -config app.ini & 过一段时间都会自动退出?会不会重复执行了 nohup ./nginx-ui -config app.ini &
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>
@0xJacky commented on GitHub (Jun 24, 2025):
那不太清楚了,目前没有观察出现过自动退出的问题,再看看
@Rongbeixu commented on GitHub (Jun 25, 2025):
会跟app.ini 配置有关吗
[app]
PageSize = 20
JwtSecret = f83f0f36-6c4e-4c4c-af89-5f61137219bf
[server]
Host =
Port = 9000
RunMode = debug
BaseUrl =
EnableHTTPS = false
SSLCert =
SSLKey =
[database]
Name = database
[log]
EnableFileLog = false
Dir =
MaxSize = 0
MaxAge = 0
MaxBackups = 0
Compress = false
[auth]
IPWhiteList =
BanThresholdMinutes = 10
MaxAttempts = 10
[backup]
GrantedAccessPath =
[casdoor]
Endpoint =
ExternalUrl =
ClientId =
ClientSecret =
CertificatePath =
Organization =
Application =
RedirectUri =
[cert]
RecursiveNameservers =
Email = 1729902487@qq.com
CADir =
RenewalInterval = 7
HTTPChallengePort = 9180
[cluster]
Node =
[crypto]
Secret = 583247f66fbd70402f8a18e5f7e7bb72f7227162f5821aac12796b63433a4b41
[http]
GithubProxy =
InsecureSkipVerify = false
[logrotate]
Enabled = false
CMD = logrotate /etc/logrotate.d/nginx
Interval = 1440
[nginx]
AccessLogPath = /usr/local/nginx/logs/access.log
ErrorLogPath = /usr/local/nginx/logs/error.log
LogDirWhiteList =
ConfigDir = /usr/local/nginx/conf
ConfigPath = /usr/local/nginx/conf/nginx.conf
PIDPath = /usr/local/nginx/logs/nginx.pid
TestConfigCmd =
ReloadCmd =
RestartCmd =
StubStatusPort = 0
ContainerName =
[node]
Name =
Secret = f4093623-68d5-4958-a1dc-eabb22f51da4
SkipInstallation = false
Demo = false
ICPNumber =
PublicSecurityNumber =
[openai]
BaseUrl =
Token =
Proxy =
Model =
APIType = OPEN_AI
EnableCodeCompletion = false
CodeCompletionModel =
[terminal]
StartCmd = login
[webauthn]
RPDisplayName =
RPID =
RPOrigins =
@0xJacky commented on GitHub (Jun 25, 2025):
应该不会,现在这个问题能稳定复现?
@Rongbeixu commented on GitHub (Jun 25, 2025):
能
---原始邮件---
发件人: @.>
发送时间: 2025年6月25日(周三) 晚上7:03
收件人: @.>;
抄送: @.@.>;
主题: Re: [0xJacky/nginx-ui] 会自动停止服务吗 (Issue #1161)
0xJacky left a comment (0xJacky/nginx-ui#1161)
应该不会,现在这个问题能稳定复现?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>
@0xJacky commented on GitHub (Jun 25, 2025):
系统内存使用量怎么样,不会被系统杀了吧。
然后您有对运行目录下的 nginx-ui.sock 做了什么吗?
另外 9000 端口有其他程序尝试占用吗
@Rongbeixu commented on GitHub (Jun 25, 2025):
可以确定9000端口没有被占用,nginx-ui.sock 没做任何操作,启动服务后就再也没碰服务器了,内存的话4G应该够用吧,是个云服务器,上面没别的东西
------------------ 原始邮件 ------------------
发件人: "0xJacky/nginx-ui" @.>;
发送时间: 2025年6月25日(星期三) 晚上7:07
@.>;
@.@.>;
主题: Re: [0xJacky/nginx-ui] 会自动停止服务吗 (Issue #1161)
0xJacky left a comment (0xJacky/nginx-ui#1161)
系统内存使用量怎么样,不会被系统杀了吧。
然后您有对运行目录下的 nginx-ui.sock 做了什么吗?
另外 9000 端口有其他程序尝试占用吗
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>
@Rongbeixu commented on GitHub (Jun 25, 2025):
2025/06/25 19:19:54 /home/runner/work/nginx-ui/nginx-ui/internal/cron/clear_token.go:18
[0.290ms] [rows:0] DELETE FROM
auth_tokensWHEREauth_tokens.expired_at< 17508503942025-06-25 19:24:54 DEBUG /home/runner/work/nginx-ui/nginx-ui/internal/cron/clear_token.go:16 clean expired auth tokens
2025/06/25 19:24:54 /home/runner/work/nginx-ui/nginx-ui/internal/cron/clear_token.go:18
[0.177ms] [rows:0] DELETE FROM
auth_tokensWHEREauth_tokens.expired_at< 17508506942025-06-25 19:24:54 DEBUG /home/runner/work/nginx-ui/nginx-ui/internal/cache/index.go:224 Context cancelled, shutting down scanner
2025-06-25 19:24:54 WARN /home/runner/work/nginx-ui/nginx-ui/main.go:129 parent.[::]:9000.Accept%!(EXTRA net.OpError=accept tcp [::]:9000: use of closed network connection)
2025-06-25 19:24:54 INFO /home/runner/work/nginx-ui/nginx-ui/main.go:95 Server exited
^C
(base) @.**:/usr/local/nginxUI# cat nohup.out
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
2025/06/25 19:09:54 @.**/gormigrate.go:401
[0.086ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="migrations"
2025/06/25 19:09:54 @.**/gormigrate.go:412
[0.094ms] [rows:1] SELECT count() FROM
migrationsWHERE id = "202505120000001"2025/06/25 19:09:54 @.**/model/model.go:76
[0.009ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="config_backups"
2025/06/25 19:09:54 @.***/model/model.go:76
[0.098ms] [rows:2] SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "config_backups" AND sql IS NOT NULL order by type = "table" desc
2025/06/25 19:09:54 @.***/model/model.go:76
[0.030ms] [rows:-] SELECT * FROM
config_backupsLIMIT 12025/06/25 19:09:54 @.**/model/model.go:76
[0.026ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "config_backups" AND name = "idx_config_backups_deleted_at"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.004ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="users"
2025/06/25 19:09:54 @.***/model/model.go:76
[0.041ms] [rows:2] SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "users" AND sql IS NOT NULL order by type = "table" desc
2025/06/25 19:09:54 @.***/model/model.go:76
[0.027ms] [rows:-] SELECT * FROM
usersLIMIT 12025/06/25 19:09:54 @.**/model/model.go:76
[0.005ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "users" AND name = "idx_users_deleted_at"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.003ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="auth_tokens"
2025/06/25 19:09:54 @.***/model/model.go:76
[0.034ms] [rows:1] SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "auth_tokens" AND sql IS NOT NULL order by type = "table" desc
2025/06/25 19:09:54 @.***/model/model.go:76
[0.021ms] [rows:-] SELECT * FROM
auth_tokensLIMIT 12025/06/25 19:09:54 @.**/model/model.go:76
[0.003ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="dns_credentials"
2025/06/25 19:09:54 @.***/model/model.go:76
[0.037ms] [rows:2] SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "dns_credentials" AND sql IS NOT NULL order by type = "table" desc
2025/06/25 19:09:54 @.***/model/model.go:76
[0.079ms] [rows:-] SELECT * FROM
dns_credentialsLIMIT 12025/06/25 19:09:54 @.**/model/model.go:76
[0.006ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "dns_credentials" AND name = "idx_dns_credentials_deleted_at"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.003ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="acme_users"
2025/06/25 19:09:54 @.***/model/model.go:76
[0.039ms] [rows:2] SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "acme_users" AND sql IS NOT NULL order by type = "table" desc
2025/06/25 19:09:54 @.***/model/model.go:76
[0.057ms] [rows:-] SELECT * FROM
acme_usersLIMIT 12025/06/25 19:09:54 @.**/model/model.go:76
[0.005ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "acme_users" AND name = "idx_acme_users_deleted_at"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.003ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="certs"
2025/06/25 19:09:54 @.***/model/model.go:76
[0.056ms] [rows:2] SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "certs" AND sql IS NOT NULL order by type = "table" desc
2025/06/25 19:09:54 @.***/model/model.go:76
[0.068ms] [rows:-] SELECT * FROM
certsLIMIT 12025/06/25 19:09:54 @.**/model/model.go:76
[0.005ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "certs" AND name = "idx_certs_deleted_at"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.003ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="chat_gpt_logs"
2025/06/25 19:09:54 @.***/model/model.go:76
[0.036ms] [rows:1] SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "chat_gpt_logs" AND sql IS NOT NULL order by type = "table" desc
2025/06/25 19:09:54 @.***/model/model.go:76
[0.042ms] [rows:-] SELECT * FROM
chat_gpt_logsLIMIT 12025/06/25 19:09:54 @.**/model/model.go:76
[0.003ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="env_groups"
2025/06/25 19:09:54 @.***/model/model.go:76
[0.054ms] [rows:2] SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "env_groups" AND sql IS NOT NULL order by type = "table" desc
2025/06/25 19:09:54 @.***/model/model.go:76
[0.039ms] [rows:-] SELECT * FROM
env_groupsLIMIT 12025/06/25 19:09:54 @.**/model/model.go:76
[0.006ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "env_groups" AND name = "idx_env_groups_deleted_at"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.004ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="sites"
2025/06/25 19:09:54 @.***/model/model.go:76
[0.043ms] [rows:3] SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "sites" AND sql IS NOT NULL order by type = "table" desc
2025/06/25 19:09:54 @.***/model/model.go:76
[0.040ms] [rows:-] SELECT * FROM
sitesLIMIT 12025/06/25 19:09:54 @.**/model/model.go:76
[0.004ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "sites" AND name = "idx_sites_deleted_at"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.004ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "sites" AND name = "idx_sites_path"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.003ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="streams"
2025/06/25 19:09:54 @.***/model/model.go:76
[0.040ms] [rows:3] SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "streams" AND sql IS NOT NULL order by type = "table" desc
2025/06/25 19:09:54 @.***/model/model.go:76
[0.031ms] [rows:-] SELECT * FROM
streamsLIMIT 12025/06/25 19:09:54 @.**/model/model.go:76
[0.004ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "streams" AND name = "idx_streams_deleted_at"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.004ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "streams" AND name = "idx_streams_path"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.003ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="environments"
2025/06/25 19:09:54 @.***/model/model.go:76
[0.058ms] [rows:2] SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "environments" AND sql IS NOT NULL order by type = "table" desc
2025/06/25 19:09:54 @.***/model/model.go:76
[0.050ms] [rows:-] SELECT * FROM
environmentsLIMIT 12025/06/25 19:09:54 @.**/model/model.go:76
[0.005ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "environments" AND name = "idx_environments_deleted_at"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.003ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="notifications"
2025/06/25 19:09:54 @.***/model/model.go:76
[0.055ms] [rows:2] SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "notifications" AND sql IS NOT NULL order by type = "table" desc
2025/06/25 19:09:54 @.***/model/model.go:76
[0.040ms] [rows:-] SELECT * FROM
notificationsLIMIT 12025/06/25 19:09:54 @.**/model/model.go:76
[0.004ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "notifications" AND name = "idx_notifications_deleted_at"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.003ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="ban_ips"
2025/06/25 19:09:54 @.***/model/model.go:76
[0.054ms] [rows:2] SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "ban_ips" AND sql IS NOT NULL order by type = "table" desc
2025/06/25 19:09:54 @.***/model/model.go:76
[0.026ms] [rows:-] SELECT * FROM
ban_ipsLIMIT 12025/06/25 19:09:54 @.**/model/model.go:76
[0.004ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "ban_ips" AND name = "idx_ban_ips_expired_at"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.003ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="configs"
2025/06/25 19:09:54 @.***/model/model.go:76
[0.054ms] [rows:2] SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "configs" AND sql IS NOT NULL order by type = "table" desc
2025/06/25 19:09:54 @.***/model/model.go:76
[0.037ms] [rows:-] SELECT * FROM
configsLIMIT 12025/06/25 19:09:54 @.**/model/model.go:76
[0.004ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "configs" AND name = "idx_configs_deleted_at"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.003ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="passkeys"
2025/06/25 19:09:54 @.***/model/model.go:76
[0.038ms] [rows:2] SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "passkeys" AND sql IS NOT NULL order by type = "table" desc
2025/06/25 19:09:54 @.***/model/model.go:76
[0.056ms] [rows:-] SELECT * FROM
passkeysLIMIT 12025/06/25 19:09:54 @.**/model/model.go:76
[0.007ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "passkeys" AND name = "idx_passkeys_deleted_at"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.012ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="external_notifies"
2025/06/25 19:09:54 @.***/model/model.go:76
[0.045ms] [rows:4] SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "external_notifies" AND sql IS NOT NULL order by type = "table" desc
2025/06/25 19:09:54 @.***/model/model.go:76
[0.033ms] [rows:-] SELECT * FROM
external_notifiesLIMIT 12025/06/25 19:09:54 @.**/model/model.go:76
[0.004ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "external_notifies" AND name = "idx_external_notifies_deleted_at"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.005ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "external_notifies" AND name = "idx_external_notifies_type"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.004ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "external_notifies" AND name = "idx_external_notifies_language"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.003ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="auto_backups"
2025/06/25 19:09:54 @.***/model/model.go:76
[0.079ms] [rows:5] SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "auto_backups" AND sql IS NOT NULL order by type = "table" desc
2025/06/25 19:09:54 @.***/model/model.go:76
[0.080ms] [rows:-] SELECT * FROM
auto_backupsLIMIT 12025/06/25 19:09:54 @.**/model/model.go:76
[0.008ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "auto_backups" AND name = "idx_auto_backups_deleted_at"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.007ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "auto_backups" AND name = "idx_auto_backups_backup_type"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.006ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "auto_backups" AND name = "idx_auto_backups_storage_type"
2025/06/25 19:09:54 @.**/model/model.go:76
[0.005ms] [rows:-] SELECT count() FROM sqlite_master WHERE type = "index" AND tbl_name = "auto_backups" AND name = "idx_auto_backups_enabled"
2025/06/25 19:09:54 @.**/gormigrate.go:401
[0.004ms] [rows:-] SELECT count() FROM sqlite_master WHERE type='table' AND name="migrations"
2025/06/25 19:09:54 @.**/gormigrate.go:412
[0.029ms] [rows:1] SELECT count() FROM
migrationsWHERE id = "20250405000001"2025/06/25 19:09:54 @.**/gormigrate.go:412
[0.029ms] [rows:1] SELECT count() FROM
migrationsWHERE id = "20250405000002"2025-06-25 19:09:54 INFO /home/runner/work/nginx-ui/nginx-ui/internal/analytic/node_record.go:99 RetrieveNodesStatus start
2025-06-25 19:09:54 DEBUG /home/runner/work/nginx-ui/nginx-ui/internal/passkey/webauthn.go:18 WebAuthn settings are not configured
2025/06/25 19:09:54 /home/runner/work/nginx-ui/nginx-ui/internal/kernel/register_acme_user.go:12
[1.730ms] [rows:0] SELECT * FROM
acme_usersWHEREacme_users.register_on_startup= true ANDacme_users.deleted_atIS NULL2025/06/25 19:09:54 /home/runner/work/nginx-ui/nginx-ui/internal/analytic/node_record.go:109
[7.723ms] [rows:0] SELECT * FROM
environmentsWHEREenvironments.enabled= true ANDenvironments.deleted_atIS NULL2025-06-25 19:09:54 INFO /home/runner/work/nginx-ui/nginx-ui/internal/analytic/node_record.go:147 RetrieveNodesStatus exited
2025/06/25 19:09:54 /home/runner/work/nginx-ui/nginx-ui/internal/cert/register.go:26
[38.940ms] [rows:1] SELECT * FROM
acme_usersWHEREacme_users.email= @.***" ANDacme_users.ca_dir= "https://acme-v02.api.letsencrypt.org/directory" ANDacme_users.deleted_atIS NULL ORDER BYacme_users.idLIMIT 1[GIN-debug] GET /pages/maintenance --> github.com/0xJacky/Nginx-UI/api/pages.MaintenancePage (6 handlers)
2025-06-25 19:09:54 INFO /home/runner/work/nginx-ui/nginx-ui/internal/analytic/analytic.go:53 RecordServerAnalytic Started
[GIN-debug] GET /mcp --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func1 (8 handlers)
[GIN-debug] POST /mcp --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func1 (8 handlers)
[GIN-debug] PUT /mcp --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func1 (8 handlers)
[GIN-debug] PATCH /mcp --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func1 (8 handlers)
[GIN-debug] HEAD /mcp --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func1 (8 handlers)
[GIN-debug] OPTIONS /mcp --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func1 (8 handlers)
[GIN-debug] DELETE /mcp --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func1 (8 handlers)
[GIN-debug] CONNECT /mcp --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func1 (8 handlers)
[GIN-debug] TRACE /mcp --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func1 (8 handlers)
[GIN-debug] GET /mcp_message --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func2 (7 handlers)
[GIN-debug] POST /mcp_message --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func2 (7 handlers)
[GIN-debug] PUT /mcp_message --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func2 (7 handlers)
[GIN-debug] PATCH /mcp_message --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func2 (7 handlers)
[GIN-debug] HEAD /mcp_message --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func2 (7 handlers)
[GIN-debug] OPTIONS /mcp_message --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func2 (7 handlers)
[GIN-debug] DELETE /mcp_message --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func2 (7 handlers)
[GIN-debug] CONNECT /mcp_message --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func2 (7 handlers)
[GIN-debug] TRACE /mcp_message --> github.com/0xJacky/Nginx-UI/mcp.InitRouter.func2 (7 handlers)
[GIN-debug] GET /api/icp_settings --> github.com/0xJacky/Nginx-UI/api/public.GetICPSettings (7 handlers)
2025/06/25 19:09:54 /home/runner/work/nginx-ui/nginx-ui/internal/backup/auto_backup.go:310
[19.006ms] [rows:0] SELECT * FROM
auto_backupsWHEREauto_backups.enabled= true ANDauto_backups.deleted_atIS NULL2025-06-25 19:09:54 DEBUG /home/runner/work/nginx-ui/nginx-ui/internal/cron/clear_token.go:16 clean expired auth tokens
[GIN-debug] GET /api/crypto/public_key --> github.com/0xJacky/Nginx-UI/api/crypto.GetPublicKey (7 handlers)
[GIN-debug] POST /api/login --> github.com/0xJacky/Nginx-UI/api/user.Login (8 handlers)
[GIN-debug] DELETE /api/logout --> github.com/0xJacky/Nginx-UI/api/user.Logout (7 handlers)
[GIN-debug] GET /api/begin_passkey_login --> github.com/0xJacky/Nginx-UI/api/user.BeginPasskeyLogin (7 handlers)
[GIN-debug] POST /api/finish_passkey_login --> github.com/0xJacky/Nginx-UI/api/user.FinishPasskeyLogin (7 handlers)
[GIN-debug] GET /api/casdoor_uri --> github.com/0xJacky/Nginx-UI/api/user.GetCasdoorUri (7 handlers)
[GIN-debug] POST /api/casdoor_callback --> github.com/0xJacky/Nginx-UI/api/user.CasdoorCallback (7 handlers)
[GIN-debug] GET /api/passkeys/config --> github.com/0xJacky/Nginx-UI/api/user.GetPasskeyConfigStatus (7 handlers)
[GIN-debug] GET /api/install --> github.com/0xJacky/Nginx-UI/api/system.InstallLockCheck (7 handlers)
[GIN-debug] POST /api/install --> github.com/0xJacky/Nginx-UI/api/system.InstallNginxUI (8 handlers)
[GIN-debug] GET /api/translation/:code --> github.com/0xJacky/Nginx-UI/api/system.GetTranslation (7 handlers)
[GIN-debug] GET /api/self_check --> github.com/0xJacky/Nginx-UI/api/system.SelfCheck (9 handlers)
[GIN-debug] POST /api/self_check/:name/fix --> github.com/0xJacky/Nginx-UI/api/system.SelfCheckFix (9 handlers)
[GIN-debug] GET /api/self_check/sse --> github.com/0xJacky/Nginx-UI/api/system.CheckSSE (9 handlers)
[GIN-debug] GET /api/self_check/websocket --> github.com/0xJacky/Nginx-UI/api/system.CheckWebSocket (9 handlers)
[GIN-debug] GET /api/backup --> github.com/0xJacky/Nginx-UI/api/backup.CreateBackup (7 handlers)
[GIN-debug] POST /api/restore --> github.com/0xJacky/Nginx-UI/api/backup.RestoreBackup (8 handlers)
[GIN-debug] GET /api/debug/pprof/ --> github.com/gin-contrib/pprof.RouteRegister.WrapF.func1 (9 handlers)
[GIN-debug] GET /api/debug/pprof/cmdline --> github.com/gin-contrib/pprof.RouteRegister.WrapF.func2 (9 handlers)
[GIN-debug] GET /api/debug/pprof/profile --> github.com/gin-contrib/pprof.RouteRegister.WrapF.func3 (9 handlers)
[GIN-debug] POST /api/debug/pprof/symbol --> github.com/gin-contrib/pprof.RouteRegister.WrapF.func4 (9 handlers)
[GIN-debug] GET /api/debug/pprof/symbol --> github.com/gin-contrib/pprof.RouteRegister.WrapF.func5 (9 handlers)
[GIN-debug] GET /api/debug/pprof/trace --> github.com/gin-contrib/pprof.RouteRegister.WrapF.func6 (9 handlers)
[GIN-debug] GET /api/debug/pprof/allocs --> github.com/gin-contrib/pprof.RouteRegister.WrapH.func7 (9 handlers)
[GIN-debug] GET /api/debug/pprof/block --> github.com/gin-contrib/pprof.RouteRegister.WrapH.func8 (9 handlers)
[GIN-debug] GET /api/debug/pprof/goroutine --> github.com/gin-contrib/pprof.RouteRegister.WrapH.func9 (9 handlers)
[GIN-debug] GET /api/debug/pprof/heap --> github.com/gin-contrib/pprof.RouteRegister.WrapH.func10 (9 handlers)
[GIN-debug] GET /api/debug/pprof/mutex --> github.com/gin-contrib/pprof.RouteRegister.WrapH.func11 (9 handlers)
[GIN-debug] GET /api/debug/pprof/threadcreate --> github.com/gin-contrib/pprof.RouteRegister.WrapH.func12 (9 handlers)
[GIN-debug] GET /api/2fa_status --> github.com/0xJacky/Nginx-UI/api/user.Get2FAStatus (9 handlers)
[GIN-debug] GET /api/2fa_secure_session/status --> github.com/0xJacky/Nginx-UI/api/user.SecureSessionStatus (9 handlers)
[GIN-debug] POST /api/2fa_secure_session/otp --> github.com/0xJacky/Nginx-UI/api/user.Start2FASecureSessionByOTP (9 handlers)
[GIN-debug] GET /api/2fa_secure_session/passkey --> github.com/0xJacky/Nginx-UI/api/user.BeginStart2FASecureSessionByPasskey (9 handlers)
[GIN-debug] POST /api/2fa_secure_session/passkey --> github.com/0xJacky/Nginx-UI/api/user.FinishStart2FASecureSessionByPasskey (9 handlers)
[GIN-debug] GET /api/otp_secret --> github.com/0xJacky/Nginx-UI/api/user.GenerateTOTP (9 handlers)
[GIN-debug] POST /api/otp_enroll --> github.com/0xJacky/Nginx-UI/api/user.EnrollTOTP (9 handlers)
[GIN-debug] GET /api/begin_passkey_register --> github.com/0xJacky/Nginx-UI/api/user.BeginPasskeyRegistration (9 handlers)
[GIN-debug] POST /api/finish_passkey_register --> github.com/0xJacky/Nginx-UI/api/user.FinishPasskeyRegistration (9 handlers)
[GIN-debug] GET /api/passkeys --> github.com/0xJacky/Nginx-UI/api/user.GetPasskeyList (9 handlers)
[GIN-debug] POST /api/passkeys/:id --> github.com/0xJacky/Nginx-UI/api/user.UpdatePasskey (9 handlers)
[GIN-debug] DELETE /api/passkeys/:id --> github.com/0xJacky/Nginx-UI/api/user.DeletePasskey (9 handlers)
[GIN-debug] GET /api/otp_reset --> github.com/0xJacky/Nginx-UI/api/user.ResetOTP (10 handlers)
[GIN-debug] GET /api/recovery_codes --> github.com/0xJacky/Nginx-UI/api/user.ViewRecoveryCodes (10 handlers)
[GIN-debug] GET /api/recovery_codes_generate --> github.com/0xJacky/Nginx-UI/api/user.GenerateRecoveryCodes (10 handlers)
[GIN-debug] GET /api/user --> github.com/0xJacky/Nginx-UI/api/user.GetCurrentUser (9 handlers)
[GIN-debug] POST /api/user --> github.com/0xJacky/Nginx-UI/api/user.UpdateCurrentUser (10 handlers)
[GIN-debug] POST /api/user/password --> github.com/0xJacky/Nginx-UI/api/user.UpdateCurrentUserPassword (10 handlers)
[GIN-debug] GET /api/analytic/init --> github.com/0xJacky/Nginx-UI/api/analytic.GetAnalyticInit (9 handlers)
[GIN-debug] GET /api/users/:id --> github.com/uozi-tech/cosy.(*Curd[...]).Get.func1 (9 handlers)
[GIN-debug] GET /api/users --> github.com/uozi-tech/cosy.(*Curd[...]).GetList.func1 (9 handlers)
[GIN-debug] POST /api/users --> github.com/uozi-tech/cosy.(*Curd[...]).Create.func1 (9 handlers)
[GIN-debug] POST /api/users/:id --> github.com/uozi-tech/cosy.(*Curd[...]).Modify.func1 (9 handlers)
[GIN-debug] DELETE /api/users/:id --> github.com/uozi-tech/cosy.(*Curd[...]).Destroy.func1 (9 handlers)
[GIN-debug] PATCH /api/users/:id --> github.com/uozi-tech/cosy.(*Curd[...]).Recover.func2 (9 handlers)
[GIN-debug] POST /api/ngx/build_config --> github.com/0xJacky/Nginx-UI/api/nginx.BuildNginxConfig (9 handlers)
[GIN-debug] POST /api/ngx/tokenize_config --> github.com/0xJacky/Nginx-UI/api/nginx.TokenizeNginxConfig (9 handlers)
[GIN-debug] POST /api/ngx/format_code --> github.com/0xJacky/Nginx-UI/api/nginx.FormatNginxConfig (9 handlers)
[GIN-debug] POST /api/nginx/reload --> github.com/0xJacky/Nginx-UI/api/nginx.Reload (9 handlers)
[GIN-debug] POST /api/nginx/restart --> github.com/0xJacky/Nginx-UI/api/nginx.Restart (9 handlers)
[GIN-debug] POST /api/nginx/test --> github.com/0xJacky/Nginx-UI/api/nginx.TestConfig (9 handlers)
[GIN-debug] GET /api/nginx/status --> github.com/0xJacky/Nginx-UI/api/nginx.Status (9 handlers)
[GIN-debug] GET /api/nginx/detail_status --> github.com/0xJacky/Nginx-UI/api/nginx.GetDetailStatus (9 handlers)
[GIN-debug] GET /api/nginx/detail_status/stream --> github.com/0xJacky/Nginx-UI/api/nginx.StreamDetailStatus (9 handlers)
[GIN-debug] GET /api/nginx/stub_status --> github.com/0xJacky/Nginx-UI/api/nginx.CheckStubStatus (9 handlers)
[GIN-debug] POST /api/nginx/stub_status --> github.com/0xJacky/Nginx-UI/api/nginx.ToggleStubStatus (9 handlers)
[GIN-debug] POST /api/nginx_log --> github.com/0xJacky/Nginx-UI/api/nginx_log.GetNginxLogPage (9 handlers)
[GIN-debug] GET /api/nginx/directives --> github.com/0xJacky/Nginx-UI/api/nginx.GetDirectives (9 handlers)
[GIN-debug] GET /api/nginx/performance --> github.com/0xJacky/Nginx-UI/api/nginx.GetPerformanceSettings (9 handlers)
[GIN-debug] POST /api/nginx/performance --> github.com/0xJacky/Nginx-UI/api/nginx.UpdatePerformanceSettings (9 handlers)
[GIN-debug] GET /api/nginx/modules --> github.com/0xJacky/Nginx-UI/api/nginx.GetModules (9 handlers)
[GIN-debug] GET /api/sites --> github.com/0xJacky/Nginx-UI/api/sites.GetSiteList (9 handlers)
[GIN-debug] GET /api/sites/:name --> github.com/0xJacky/Nginx-UI/api/sites.GetSite (9 handlers)
[GIN-debug] PUT /api/sites --> github.com/0xJacky/Nginx-UI/api/sites.BatchUpdateSites (9 handlers)
[GIN-debug] POST /api/sites/:name/advance --> github.com/0xJacky/Nginx-UI/api/sites.DomainEditByAdvancedMode (9 handlers)
[GIN-debug] POST /api/auto_cert/:name --> github.com/0xJacky/Nginx-UI/api/sites.AddDomainToAutoCert (9 handlers)
[GIN-debug] DELETE /api/auto_cert/:name --> github.com/0xJacky/Nginx-UI/api/sites.RemoveDomainFromAutoCert (9 handlers)
[GIN-debug] POST /api/sites/:name/rename --> github.com/0xJacky/Nginx-UI/api/sites.RenameSite (9 handlers)
[GIN-debug] POST /api/sites/:name/enable --> github.com/0xJacky/Nginx-UI/api/sites.EnableSite (9 handlers)
[GIN-debug] POST /api/sites/:name/disable --> github.com/0xJacky/Nginx-UI/api/sites.DisableSite (9 handlers)
[GIN-debug] POST /api/sites/:name --> github.com/0xJacky/Nginx-UI/api/sites.SaveSite (9 handlers)
[GIN-debug] DELETE /api/sites/:name --> github.com/0xJacky/Nginx-UI/api/sites.DeleteSite (9 handlers)
[GIN-debug] POST /api/sites/:name/duplicate --> github.com/0xJacky/Nginx-UI/api/sites.DuplicateSite (9 handlers)
[GIN-debug] POST /api/sites/:name/maintenance --> github.com/0xJacky/Nginx-UI/api/sites.EnableMaintenanceSite (9 handlers)
[GIN-debug] GET /api/streams --> github.com/0xJacky/Nginx-UI/api/streams.GetStreams (9 handlers)
[GIN-debug] GET /api/streams/:name --> github.com/0xJacky/Nginx-UI/api/streams.GetStream (9 handlers)
[GIN-debug] PUT /api/streams --> github.com/0xJacky/Nginx-UI/api/streams.BatchUpdateStreams (9 handlers)
[GIN-debug] POST /api/streams/:name --> github.com/0xJacky/Nginx-UI/api/streams.SaveStream (9 handlers)
[GIN-debug] POST /api/streams/:name/rename --> github.com/0xJacky/Nginx-UI/api/streams.RenameStream (9 handlers)
[GIN-debug] POST /api/streams/:name/enable --> github.com/0xJacky/Nginx-UI/api/streams.EnableStream (9 handlers)
[GIN-debug] POST /api/streams/:name/disable --> github.com/0xJacky/Nginx-UI/api/streams.DisableStream (9 handlers)
[GIN-debug] POST /api/streams/:name/advance --> github.com/0xJacky/Nginx-UI/api/streams.AdvancedEdit (9 handlers)
[GIN-debug] DELETE /api/streams/:name --> github.com/0xJacky/Nginx-UI/api/streams.DeleteStream (9 handlers)
[GIN-debug] POST /api/streams/:name/duplicate --> github.com/0xJacky/Nginx-UI/api/streams.Duplicate (9 handlers)
[GIN-debug] GET /api/config_base_path --> github.com/0xJacky/Nginx-UI/api/config.GetBasePath (9 handlers)
[GIN-debug] GET /api/configs --> github.com/0xJacky/Nginx-UI/api/config.GetConfigs (9 handlers)
[GIN-debug] GET /api/configs/*path --> github.com/0xJacky/Nginx-UI/api/config.GetConfig (9 handlers)
[GIN-debug] POST /api/configs --> github.com/0xJacky/Nginx-UI/api/config.AddConfig (9 handlers)
[GIN-debug] POST /api/configs/*path --> github.com/0xJacky/Nginx-UI/api/config.EditConfig (9 handlers)
[GIN-debug] POST /api/config_mkdir --> github.com/0xJacky/Nginx-UI/api/config.Mkdir (10 handlers)
[GIN-debug] POST /api/config_rename --> github.com/0xJacky/Nginx-UI/api/config.Rename (10 handlers)
[GIN-debug] POST /api/config_delete --> github.com/0xJacky/Nginx-UI/api/config.DeleteConfig (10 handlers)
[GIN-debug] GET /api/config_histories --> github.com/0xJacky/Nginx-UI/api/config.GetConfigHistory (9 handlers)
[GIN-debug] GET /api/default_site_template --> github.com/0xJacky/Nginx-UI/api/template.GetDefaultSiteTemplate (9 handlers)
[GIN-debug] GET /api/templates/configs --> github.com/0xJacky/Nginx-UI/api/template.GetTemplateConfList (9 handlers)
[GIN-debug] GET /api/templates/blocks --> github.com/0xJacky/Nginx-UI/api/template.GetTemplateBlockList (9 handlers)
[GIN-debug] GET /api/templates/block/:name --> github.com/0xJacky/Nginx-UI/api/template.GetTemplateBlock (9 handlers)
[GIN-debug] POST /api/templates/block/:name --> github.com/0xJacky/Nginx-UI/api/template.GetTemplateBlock (9 handlers)
2025-06-25 19:09:54 INFO /home/runner/work/nginx-ui/nginx-ui/internal/cert/auto_cert.go:23 AutoCert Worker Started
2025/06/25 19:09:54 /home/runner/work/nginx-ui/nginx-ui/internal/cron/clear_token.go:18
[20.207ms] [rows:1] DELETE FROM
auth_tokensWHEREauth_tokens.expired_at< 17508497942025/06/25 19:09:54 /home/runner/work/nginx-ui/nginx-ui/model/cert.go:82
[3.279ms] [rows:0] SELECT * FROM
certsWHEREauto_cert= 1 ANDcerts.deleted_atIS NULL2025-06-25 19:09:54 INFO /home/runner/work/nginx-ui/nginx-ui/internal/cert/auto_cert.go:28 AutoCert Worker End
2025/06/25 19:09:54 /home/runner/work/nginx-ui/nginx-ui/internal/cert/check_expired.go:14
[3.883ms] [rows:0] SELECT * FROM
certsWHEREcerts.deleted_atIS NULL[GIN-debug] GET /api/certs --> github.com/0xJacky/Nginx-UI/api/certificate.GetCertList (9 handlers)
[GIN-debug] GET /api/certs/:id --> github.com/0xJacky/Nginx-UI/api/certificate.GetCert (9 handlers)
[GIN-debug] POST /api/certs --> github.com/0xJacky/Nginx-UI/api/certificate.AddCert (9 handlers)
[GIN-debug] POST /api/certs/:id --> github.com/0xJacky/Nginx-UI/api/certificate.ModifyCert (9 handlers)
[GIN-debug] DELETE /api/certs/:id --> github.com/0xJacky/Nginx-UI/api/certificate.RemoveCert (9 handlers)
[GIN-debug] PUT /api/cert_sync --> github.com/0xJacky/Nginx-UI/api/certificate.SyncCertificate (9 handlers)
[GIN-debug] GET /api/certificate/dns_providers --> github.com/0xJacky/Nginx-UI/api/certificate.GetDNSProvidersList (9 handlers)
[GIN-debug] GET /api/certificate/dns_provider/:code --> github.com/0xJacky/Nginx-UI/api/certificate.GetDNSProvider (9 handlers)
[GIN-debug] GET /api/dns_credentials --> github.com/0xJacky/Nginx-UI/api/certificate.GetDnsCredentialList (9 handlers)
[GIN-debug] GET /api/dns_credentials/:id --> github.com/0xJacky/Nginx-UI/api/certificate.GetDnsCredential (9 handlers)
[GIN-debug] POST /api/dns_credentials --> github.com/0xJacky/Nginx-UI/api/certificate.AddDnsCredential (9 handlers)
[GIN-debug] POST /api/dns_credentials/:id --> github.com/0xJacky/Nginx-UI/api/certificate.EditDnsCredential (9 handlers)
[GIN-debug] DELETE /api/dns_credentials/:id --> github.com/0xJacky/Nginx-UI/api/certificate.DeleteDnsCredential (9 handlers)
[GIN-debug] GET /api/acme_users --> github.com/0xJacky/Nginx-UI/api/certificate.GetAcmeUserList (9 handlers)
[GIN-debug] GET /api/acme_users/:id --> github.com/0xJacky/Nginx-UI/api/certificate.GetAcmeUser (9 handlers)
[GIN-debug] POST /api/acme_users --> github.com/0xJacky/Nginx-UI/api/certificate.CreateAcmeUser (9 handlers)
[GIN-debug] POST /api/acme_users/:id --> github.com/0xJacky/Nginx-UI/api/certificate.ModifyAcmeUser (9 handlers)
[GIN-debug] POST /api/acme_users/:id/register --> github.com/0xJacky/Nginx-UI/api/certificate.RegisterAcmeUser (9 handlers)
[GIN-debug] DELETE /api/acme_users/:id --> github.com/0xJacky/Nginx-UI/api/certificate.DestroyAcmeUser (9 handlers)
[GIN-debug] PATCH /api/acme_users/:id --> github.com/0xJacky/Nginx-UI/api/certificate.RecoverAcmeUser (9 handlers)
[GIN-debug] GET /api/upgrade/release --> github.com/0xJacky/Nginx-UI/api/system.GetRelease (9 handlers)
[GIN-debug] GET /api/upgrade/current --> github.com/0xJacky/Nginx-UI/api/system.GetCurrentVersion (9 handlers)
[GIN-debug] GET /api/system/processing --> github.com/0xJacky/Nginx-UI/api/system.GetProcessingStatus (9 handlers)
[GIN-debug] POST /api/system/port_scan --> github.com/0xJacky/Nginx-UI/api/system.PortScan (9 handlers)
[GIN-debug] GET /api/settings/server/name --> github.com/0xJacky/Nginx-UI/api/settings.GetServerName (9 handlers)
[GIN-debug] GET /api/settings --> github.com/0xJacky/Nginx-UI/api/settings.GetSettings (9 handlers)
[GIN-debug] POST /api/settings --> github.com/0xJacky/Nginx-UI/api/settings.SaveSettings (10 handlers)
[GIN-debug] GET /api/settings/auth/banned_ips --> github.com/0xJacky/Nginx-UI/api/settings.GetBanLoginIP (9 handlers)
[GIN-debug] DELETE /api/settings/auth/banned_ip --> github.com/0xJacky/Nginx-UI/api/settings.RemoveBannedIP (9 handlers)
[GIN-debug] POST /api/chatgpt --> github.com/0xJacky/Nginx-UI/api/openai.MakeChatCompletionRequest (9 handlers)
[GIN-debug] GET /api/chatgpt/history --> github.com/0xJacky/Nginx-UI/api/openai.GetChatGPTRecord (9 handlers)
[GIN-debug] POST /api/chatgpt_record --> github.com/0xJacky/Nginx-UI/api/openai.StoreChatGPTRecord (9 handlers)
[GIN-debug] GET /api/code_completion --> github.com/0xJacky/Nginx-UI/api/openai.CodeCompletion (9 handlers)
[GIN-debug] GET /api/code_completion/enabled --> github.com/0xJacky/Nginx-UI/api/openai.GetCodeCompletionEnabledStatus (9 handlers)
[GIN-debug] GET /api/environments --> github.com/0xJacky/Nginx-UI/api/cluster.GetEnvironmentList (9 handlers)
[GIN-debug] GET /api/environments/enabled --> github.com/0xJacky/Nginx-UI/api/cluster.GetAllEnabledEnvironment (9 handlers)
[GIN-debug] POST /api/environments/load_from_settings --> github.com/0xJacky/Nginx-UI/api/cluster.LoadEnvironmentFromSettings (9 handlers)
[GIN-debug] GET /api/environments/:id --> github.com/0xJacky/Nginx-UI/api/cluster.GetEnvironment (9 handlers)
[GIN-debug] POST /api/environments --> github.com/0xJacky/Nginx-UI/api/cluster.AddEnvironment (9 handlers)
[GIN-debug] POST /api/environments/:id --> github.com/0xJacky/Nginx-UI/api/cluster.EditEnvironment (9 handlers)
[GIN-debug] DELETE /api/environments/:id --> github.com/0xJacky/Nginx-UI/api/cluster.DeleteEnvironment (9 handlers)
[GIN-debug] GET /api/node --> github.com/0xJacky/Nginx-UI/api/cluster.GetCurrentNode (9 handlers)
[GIN-debug] POST /api/environments/reload_nginx --> github.com/0xJacky/Nginx-UI/api/cluster.ReloadNginx (9 handlers)
[GIN-debug] POST /api/environments/restart_nginx --> github.com/0xJacky/Nginx-UI/api/cluster.RestartNginx (9 handlers)
[GIN-debug] GET /api/env_groups --> github.com/0xJacky/Nginx-UI/api/cluster.GetGroupList (9 handlers)
[GIN-debug] GET /api/env_groups/:id --> github.com/0xJacky/Nginx-UI/api/cluster.GetGroup (9 handlers)
[GIN-debug] POST /api/env_groups --> github.com/0xJacky/Nginx-UI/api/cluster.AddGroup (9 handlers)
[GIN-debug] POST /api/env_groups/:id --> github.com/0xJacky/Nginx-UI/api/cluster.ModifyGroup (9 handlers)
[GIN-debug] DELETE /api/env_groups/:id --> github.com/0xJacky/Nginx-UI/api/cluster.DeleteGroup (9 handlers)
[GIN-debug] POST /api/env_groups/:id/recover --> github.com/0xJacky/Nginx-UI/api/cluster.RecoverGroup (9 handlers)
[GIN-debug] POST /api/env_groups/order --> github.com/0xJacky/Nginx-UI/api/cluster.UpdateGroupsOrder (9 handlers)
[GIN-debug] GET /api/notifications --> github.com/0xJacky/Nginx-UI/api/notification.GetList (9 handlers)
[GIN-debug] GET /api/notifications/:id --> github.com/0xJacky/Nginx-UI/api/notification.Get (9 handlers)
[GIN-debug] DELETE /api/notifications/:id --> github.com/0xJacky/Nginx-UI/api/notification.Destroy (9 handlers)
[GIN-debug] DELETE /api/notifications --> github.com/0xJacky/Nginx-UI/api/notification.DestroyAll (9 handlers)
[GIN-debug] GET /api/notifications/live --> github.com/0xJacky/Nginx-UI/api/notification.Live (9 handlers)
[GIN-debug] GET /api/external_notifies/:id --> github.com/uozi-tech/cosy.(*Curd[...]).Get.func1 (9 handlers)
[GIN-debug] GET /api/external_notifies --> github.com/uozi-tech/cosy.(*Curd[...]).GetList.func1 (9 handlers)
[GIN-debug] POST /api/external_notifies --> github.com/uozi-tech/cosy.(*Curd[...]).Create.func1 (9 handlers)
[GIN-debug] POST /api/external_notifies/:id --> github.com/uozi-tech/cosy.(*Curd[...]).Modify.func1 (9 handlers)
[GIN-debug] DELETE /api/external_notifies/:id --> github.com/uozi-tech/cosy.(*Curd[...]).Destroy.func1 (9 handlers)
[GIN-debug] PATCH /api/external_notifies/:id --> github.com/uozi-tech/cosy.(*Curd[...]).Recover.func2 (9 handlers)
[GIN-debug] GET /api/auto_backup --> github.com/0xJacky/Nginx-UI/api/backup.GetAutoBackupList (9 handlers)
[GIN-debug] POST /api/auto_backup --> github.com/0xJacky/Nginx-UI/api/backup.CreateAutoBackup (9 handlers)
[GIN-debug] GET /api/auto_backup/:id --> github.com/0xJacky/Nginx-UI/api/backup.GetAutoBackup (9 handlers)
[GIN-debug] POST /api/auto_backup/:id --> github.com/0xJacky/Nginx-UI/api/backup.ModifyAutoBackup (9 handlers)
[GIN-debug] DELETE /api/auto_backup/:id --> github.com/0xJacky/Nginx-UI/api/backup.DestroyAutoBackup (9 handlers)
[GIN-debug] PATCH /api/auto_backup/:id --> github.com/0xJacky/Nginx-UI/api/backup.RestoreAutoBackup (9 handlers)
[GIN-debug] POST /api/auto_backup/test_s3 --> github.com/0xJacky/Nginx-UI/api/backup.TestS3Connection (9 handlers)
[GIN-debug] GET /api/analytic --> github.com/0xJacky/Nginx-UI/api/analytic.Analytic (9 handlers)
[GIN-debug] GET /api/analytic/intro --> github.com/0xJacky/Nginx-UI/api/analytic.GetNodeStat (9 handlers)
[GIN-debug] GET /api/analytic/nodes --> github.com/0xJacky/Nginx-UI/api/analytic.GetNodesAnalytic (9 handlers)
[GIN-debug] GET /api/domain/:name/cert --> github.com/0xJacky/Nginx-UI/api/certificate.IssueCert (9 handlers)
[GIN-debug] GET /api/certs/:id/revoke --> github.com/0xJacky/Nginx-UI/api/certificate.RevokeCert (9 handlers)
[GIN-debug] GET /api/pty --> github.com/0xJacky/Nginx-UI/api/terminal.Pty (10 handlers)
[GIN-debug] GET /api/nginx_log --> github.com/0xJacky/Nginx-UI/api/nginx_log.Log (9 handlers)
[GIN-debug] GET /api/nginx_logs --> github.com/0xJacky/Nginx-UI/api/nginx_log.GetLogList (9 handlers)
[GIN-debug] GET /api/availability_test --> github.com/0xJacky/Nginx-UI/api/upstream.AvailabilityTest (9 handlers)
[GIN-debug] GET /api/upgrade/perform --> github.com/0xJacky/Nginx-UI/api/system.PerformCoreUpgrade (9 handlers)
2025-06-25 19:09:54 INFO /home/runner/work/nginx-ui/nginx-ui/main.go:94 Starting HTTP server
2025-06-25 19:14:54 DEBUG /home/runner/work/nginx-ui/nginx-ui/internal/cron/clear_token.go:16 clean expired auth tokens
2025/06/25 19:14:54 /home/runner/work/nginx-ui/nginx-ui/internal/cron/clear_token.go:18
[0.346ms] [rows:0] DELETE FROM
auth_tokensWHEREauth_tokens.expired_at< 17508500942025-06-25 19:19:54 DEBUG /home/runner/work/nginx-ui/nginx-ui/internal/cron/clear_token.go:16 clean expired auth tokens
2025/06/25 19:19:54 /home/runner/work/nginx-ui/nginx-ui/internal/cron/clear_token.go:18
[0.290ms] [rows:0] DELETE FROM
auth_tokensWHEREauth_tokens.expired_at< 17508503942025-06-25 19:24:54 DEBUG /home/runner/work/nginx-ui/nginx-ui/internal/cron/clear_token.go:16 clean expired auth tokens
2025/06/25 19:24:54 /home/runner/work/nginx-ui/nginx-ui/internal/cron/clear_token.go:18
[0.177ms] [rows:0] DELETE FROM
auth_tokensWHEREauth_tokens.expired_at< 17508506942025-06-25 19:24:54 DEBUG /home/runner/work/nginx-ui/nginx-ui/internal/cache/index.go:224 Context cancelled, shutting down scanner
2025-06-25 19:24:54 WARN /home/runner/work/nginx-ui/nginx-ui/main.go:129 parent.[::]:9000.Accept%!(EXTRA *net.OpError=accept tcp [::]:9000: use of closed network connection)
2025-06-25 19:24:54 INFO /home/runner/work/nginx-ui/nginx-ui/main.go:95 Server exited
这次就是5分钟停了,我的云服务器2c4g,就起个nginx和nginx-ui啊,我怎么感觉是什么证书的问题呢,老出现 AutoCert Worker End 这个日志
------------------ 原始邮件 ------------------
发件人: "0xJacky/nginx-ui" @.>;
发送时间: 2025年6月25日(星期三) 晚上7:07
@.>;
@.@.>;
主题: Re: [0xJacky/nginx-ui] 会自动停止服务吗 (Issue #1161)
0xJacky left a comment (0xJacky/nginx-ui#1161)
系统内存使用量怎么样,不会被系统杀了吧。
然后您有对运行目录下的 nginx-ui.sock 做了什么吗?
另外 9000 端口有其他程序尝试占用吗
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>
@0xJacky commented on GitHub (Jun 25, 2025):
可以看看 dmesg -T | grep nginx-ui 有输出吗
@Rongbeixu commented on GitHub (Jun 25, 2025):
没有
------------------ 原始邮件 ------------------
发件人: "0xJacky/nginx-ui" @.>;
发送时间: 2025年6月25日(星期三) 晚上7:40
@.>;
@.@.>;
主题: Re: [0xJacky/nginx-ui] 会自动停止服务吗 (Issue #1161)
0xJacky left a comment (0xJacky/nginx-ui#1161)
可以看看 dmesg -T | grep nginx-ui 有输出吗
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>
@0xJacky commented on GitHub (Jun 25, 2025):
您试试使用这个命令启动呢
最好是通过使用一键安装脚本进行安装,我们会自动配置 systemd
如果您认为不是外部信号导致的,也可以在前台运行下述命令,捕获信号
@0xJacky commented on GitHub (Jul 7, 2025):
可以试试 v2.1.12,如果是内存泄漏导致被系统 kill 了,这个版本应该修复。