[GH-ISSUE #1513] First time installtion page skip when start with NGINX_UI_NODE_SECRET and NGINX_UI_APP_JWT_SECRET defined #3018

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

Originally created by @lionmark01 on GitHub (Jan 7, 2026).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1513

Describe the bug
When I try to start nginxui (docker) with these two environment variables set (NGINX_UI_NODE_SECRET and NGINX_UI_APP_JWT_SECRET), first time installation page will not showing and redirect me to login page instead which make me unable to setup.

To Reproduce
Steps to reproduce the behavior:

  1. Run nginxui as a docker with this command docker run -dit --name=nginx-ui --restart=always -e TZ=Asia/Shanghai -e NGINX_UI_NODE_SECRET=1234567890 -e NGINX_UI_APP_JWT_SECRET=abcedfg -v /mnt/user/appdata/nginx:/etc/nginx -v /mnt/user/appdata/nginx-ui:/etc/nginx-ui -v /var/www:/var/www -v /var/run/docker.sock:/var/run/docker.sock -p 8080:80 -p 8443:443 uozi/nginx-ui:sha-cb1fb69
  2. Goto localhost:8080 and you will see a login page instead of first time installation page

Expected behavior
It should show first time installation page instead of login page

Info:

  • Server OS: Ubuntu 24.04
  • Docker version: 29.1.3 build f52814d
  • Nginx UI Version: 2.3.2
  • Your Browser: Chrome

Additional context

  1. I also try to manually goto this url localhost:8080/#/install but it will not allow me to stay on this page and redirect me back to login page too
  2. I try multiple times with a step to delete and recreate /mnt/user/appdata/nginx on my node to make sure it actually empty but it still unable to access first time installation page
Originally created by @lionmark01 on GitHub (Jan 7, 2026). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1513 **Describe the bug** When I try to start nginxui (docker) with these two environment variables set (NGINX_UI_NODE_SECRET and NGINX_UI_APP_JWT_SECRET), first time installation page will not showing and redirect me to login page instead which make me unable to setup. **To Reproduce** Steps to reproduce the behavior: 1. Run nginxui as a docker with this command `docker run -dit --name=nginx-ui --restart=always -e TZ=Asia/Shanghai -e NGINX_UI_NODE_SECRET=1234567890 -e NGINX_UI_APP_JWT_SECRET=abcedfg -v /mnt/user/appdata/nginx:/etc/nginx -v /mnt/user/appdata/nginx-ui:/etc/nginx-ui -v /var/www:/var/www -v /var/run/docker.sock:/var/run/docker.sock -p 8080:80 -p 8443:443 uozi/nginx-ui:sha-cb1fb69` 2. Goto `localhost:8080` and you will see a login page instead of first time installation page **Expected behavior** It should show first time installation page instead of login page **Info:** - Server OS: Ubuntu 24.04 - Docker version: 29.1.3 build f52814d - Nginx UI Version: 2.3.2 - Your Browser: Chrome **Additional context** 1. I also try to manually goto this url `localhost:8080/#/install` but it will not allow me to stay on this page and redirect me back to login page too 2. I try multiple times with a step to delete and recreate `/mnt/user/appdata/nginx` on my node to make sure it actually empty but it still unable to access first time installation page
kerem 2026-02-27 12:30:12 +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#3018
No description provided.