BCBC Help Notes

Nginx UI Install Secret Help

A quick Proxmox LXC checklist for finding the Nginx UI one-time install secret without damaging the installation.

Problem

Nginx UI may show an install screen asking for an install secret:

Enter the one-time install secret shown by the install script or found in the config directory hidden file.

Known Working Location

/usr/local/etc/nginx-ui/.install_secret

Host-Side Commands

pct list

pct exec CTID -- find /usr/local/etc/nginx-ui -type f -ls

pct exec CTID -- cat /usr/local/etc/nginx-ui/.install_secret

pct exec CTID -- /usr/local/bin/nginx-ui reset-password --config /usr/local/etc/nginx-ui/app.ini

pct exec CTID -- journalctl -u nginx-ui --no-pager -n 80

pct exec CTID -- ss -lntp

Example From BCBC Lab

CTID: 102
Hostname: nginx-ui
IP: 10.77.99.54
Nginx UI port: 9000
Secret file: /usr/local/etc/nginx-ui/.install_secret
Config file: /usr/local/etc/nginx-ui/app.ini
Database: /usr/local/etc/nginx-ui/database.db

Do Not Randomly Delete Files

Do not delete database.db or app.ini unless intentionally rebuilding Nginx UI.