[GH-ISSUE #1020] Error log path not exist #6319

Closed
opened 2026-03-01 17:11:08 +03:00 by kerem · 1 comment
Owner

Originally created by @Fchen48 on GitHub (May 7, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1020

Describe the bug
I installed nginx-ui on a fresh installed server running Ubuntu 24.04.
After visiting https://server.local:9000/ I will be facing the error "Error log path not exist".
In /etc/nginx/nginx.conf everything is set correctly to /var/log/nginx/error.log, file exists and contains errors.
nginx -V still shows --error-log-path=stderr.
I tried changing this via systemd to ExecStart=/usr/sbin/nginx -g 'daemon on; master_process on; error_log /var/log/nginx/error.log;' and also tried ExecStart=/usr/sbin/nginx -g 'daemon on; master_process on;' -e /var/log/nginx/error.log

Info (please complete the following information):

  • Server OS: Ubuntu 24.04
  • Server Arch: x86_64
  • Nginx UI Version: 1.24.0
  • Your Browser: Chrome
Originally created by @Fchen48 on GitHub (May 7, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1020 **Describe the bug** I installed nginx-ui on a fresh installed server running Ubuntu 24.04. After visiting https://server.local:9000/ I will be facing the error "Error log path not exist". In `/etc/nginx/nginx.conf` everything is set correctly to `/var/log/nginx/error.log`, file exists and contains errors. `nginx -V` still shows `--error-log-path=stderr`. I tried changing this via systemd to `ExecStart=/usr/sbin/nginx -g 'daemon on; master_process on; error_log /var/log/nginx/error.log;'` and also tried `ExecStart=/usr/sbin/nginx -g 'daemon on; master_process on;' -e /var/log/nginx/error.log` **Info (please complete the following information):** - Server OS: Ubuntu 24.04 - Server Arch: x86_64 - Nginx UI Version: 1.24.0 - Your Browser: Chrome
kerem 2026-03-01 17:11:08 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@0xJacky commented on GitHub (May 7, 2025):

Hi @Fchen48, you should configure an nginx error log path for Nginx UI in '/usr/local/etc/nginx-ui/app.ini' then restart nginx-ui, refer to docs for more details: https://nginxui.com/guide/config-nginx.html#logs.

<!-- gh-comment-id:2858492175 --> @0xJacky commented on GitHub (May 7, 2025): Hi @Fchen48, you should configure an nginx error log path for Nginx UI in '/usr/local/etc/nginx-ui/app.ini' then restart nginx-ui, refer to docs for more details: https://nginxui.com/guide/config-nginx.html#logs.
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#6319
No description provided.