[GH-ISSUE #1398] [Bug] Docker log keeps showing record not found #2840

Closed
opened 2026-02-27 12:27:50 +03:00 by kerem · 0 comments
Owner

Originally created by @LimLLL on GitHub (Oct 18, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1398

Describe the bug
docker logs一直显示这个错误

nginx-ui  | 2025/10/18 10:58:14 github.com/0xJacky/Nginx-UI/api/notification/notification.go:18 record not found
nginx-ui  | [0.127ms] [rows:0] SELECT * FROM `notifications` WHERE id=0  AND `notifications`.`deleted_at` IS NULL LIMIT 1
nginx-ui  | 2025-10-18 10:58:14.300     ERROR   github.com/0xJacky/Nginx-UI/api/notification/notification.go:21 record not found
nginx-ui  | [GIN] 2025/10/18 - 10:58:14 | 404 |     479.167µs |       127.0.0.1 | GET      "/api/notifications/live"
nginx-ui  | [GIN] 2025/10/18 - 10:58:20 | 404 |      98.648µs |       127.0.0.1 | GET      "/api/system/processing"
nginx-ui  | 
nginx-ui  | 2025/10/18 10:58:20 github.com/0xJacky/Nginx-UI/api/notification/notification.go:18 record not found
nginx-ui  | [0.146ms] [rows:0] SELECT * FROM `notifications` WHERE id=0  AND `notifications`.`deleted_at` IS NULL LIMIT 1
nginx-ui  | 2025-10-18 10:58:20.332     ERROR   github.com/0xJacky/Nginx-UI/api/notification/notification.go:21 record not found
nginx-ui  | [GIN] 2025/10/18 - 10:58:20 | 404 |     531.702µs |       127.0.0.1 | GET      "/api/notifications/live"
nginx-ui  | [GIN] 2025/10/18 - 10:58:26 | 404 |      89.412µs |       127.0.0.1 | GET      "/api/system/processing"
nginx-ui  | 

我是从老版本v2.0.0-rc.7直接升级到目前最新的2.2.0版本,是不是因为这个原因导致的?只要在nginxui的前端ui界面,就会一直提示这个错误。似乎是和消息提醒有关?

To Reproduce
Steps to reproduce the behavior:

  1. Docker imploy v2.0.0-rc.7
  2. Login to Nginx-UI
  3. Shut down Nginx-UI and pull newest image and restart
  4. go to Nginx-UI frontend
  5. docker compose logs -f and See error

Info (please complete the following information):

  • Server OS: Ubuntu 22.04
  • Server Arch: amd64
  • Nginx UI Version: 2.2.0
  • Your Browser: Chrome
Originally created by @LimLLL on GitHub (Oct 18, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1398 **Describe the bug** docker logs一直显示这个错误 ```bash nginx-ui | 2025/10/18 10:58:14 github.com/0xJacky/Nginx-UI/api/notification/notification.go:18 record not found nginx-ui | [0.127ms] [rows:0] SELECT * FROM `notifications` WHERE id=0 AND `notifications`.`deleted_at` IS NULL LIMIT 1 nginx-ui | 2025-10-18 10:58:14.300 ERROR github.com/0xJacky/Nginx-UI/api/notification/notification.go:21 record not found nginx-ui | [GIN] 2025/10/18 - 10:58:14 | 404 | 479.167µs | 127.0.0.1 | GET "/api/notifications/live" nginx-ui | [GIN] 2025/10/18 - 10:58:20 | 404 | 98.648µs | 127.0.0.1 | GET "/api/system/processing" nginx-ui | nginx-ui | 2025/10/18 10:58:20 github.com/0xJacky/Nginx-UI/api/notification/notification.go:18 record not found nginx-ui | [0.146ms] [rows:0] SELECT * FROM `notifications` WHERE id=0 AND `notifications`.`deleted_at` IS NULL LIMIT 1 nginx-ui | 2025-10-18 10:58:20.332 ERROR github.com/0xJacky/Nginx-UI/api/notification/notification.go:21 record not found nginx-ui | [GIN] 2025/10/18 - 10:58:20 | 404 | 531.702µs | 127.0.0.1 | GET "/api/notifications/live" nginx-ui | [GIN] 2025/10/18 - 10:58:26 | 404 | 89.412µs | 127.0.0.1 | GET "/api/system/processing" nginx-ui | ``` 我是从老版本`v2.0.0-rc.7`直接升级到目前最新的`2.2.0`版本,是不是因为这个原因导致的?只要在nginxui的前端ui界面,就会一直提示这个错误。似乎是和消息提醒有关? **To Reproduce** Steps to reproduce the behavior: 1. Docker imploy `v2.0.0-rc.7` 2. Login to Nginx-UI 3. Shut down Nginx-UI and pull newest image and restart 4. go to Nginx-UI frontend 5. `docker compose logs -f` and See error **Info (please complete the following information):** - Server OS: Ubuntu 22.04 - Server Arch: amd64 - Nginx UI Version: 2.2.0 - Your Browser: Chrome
kerem 2026-02-27 12:27:50 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#2840
No description provided.