[GH-ISSUE #1420] 日志无法查看 #2881

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

Originally created by @AceCandy on GitHub (Nov 3, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1420

Describe the bug
无法查看到对应的访问日志和错误日志

To Reproduce
我一开始是用docker安装的,之后导出配置后是用脚本sudo方式直接安装,日志目录是/var/log/nginx/access.log,但从nginxui中无法进行查看,都是空的

Expected behavior
由于发现无法查看日志,到/var/log/nginx文件夹下删除掉所有日志,通过nginxui重启nginx,看到所有日志文件创建了,但都是空的,且用户都是root

Screenshots
nginx.conf配置截图:
Image
目录下日志截图:
Image

Info (please complete the following information):

  • Server OS: Debian GNU/Linux 12 (bookworm)
  • Server Arch: x86_64
  • Nginx UI Version: 2.2.0
  • Your Browser: Edge

Additional context
Add any other context about the problem here.

Originally created by @AceCandy on GitHub (Nov 3, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1420 **Describe the bug** 无法查看到对应的访问日志和错误日志 **To Reproduce** 我一开始是用docker安装的,之后导出配置后是用脚本sudo方式直接安装,日志目录是/var/log/nginx/access.log,但从nginxui中无法进行查看,都是空的 **Expected behavior** 由于发现无法查看日志,到/var/log/nginx文件夹下删除掉所有日志,通过nginxui重启nginx,看到所有日志文件创建了,但都是空的,且用户都是root **Screenshots** nginx.conf配置截图: <img width="1078" height="826" alt="Image" src="https://github.com/user-attachments/assets/c1830da9-6764-4d24-8ef5-bf64c8f0c5d4" /> 目录下日志截图: <img width="1880" height="1414" alt="Image" src="https://github.com/user-attachments/assets/fccbf509-7f42-40fc-ae36-2185270b349e" /> **Info (please complete the following information):** - Server OS: Debian GNU/Linux 12 (bookworm) - Server Arch: x86_64 - Nginx UI Version: 2.2.0 - Your Browser: Edge **Additional context** Add any other context about the problem here.
kerem 2026-02-27 12:28:24 +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#2881
No description provided.