What you’ll need
- A working install (Installation). The installer puts the dashboard in
/usr/local/share/russel/dashboard. - Your API token, from
/etc/russel/envon the server.
Open it
Then go to Settings and paste the token (the part after
RUSSEL_API_TOKEN=). Leave the API address at /api in all three cases.
The dashboard keeps the token for that browser tab only, and forgets it when you close the tab. russel login doesn’t sign in the dashboard; each has its own copy of the token.
”Unauthorized” or “Offline”?
The dashboard tells these apart:- Unauthorized (HTTP 401): the control plane is reachable but rejected the token. Paste the token again. The dashboard keeps what you entered so you can fix it.
- Offline: nothing answered. The SSH tunnel is down, the proxy is down, or
russel-ctrlisn’t running. Checksystemctl status russel-ctrlon the server and restart the tunnel.
Behind a proxy
The dashboard calls the API on its own origin, under/api. The control plane doesn’t send CORS headers, so the dashboard can’t be hosted on one address and call the API on another. Proxy the whole origin to 127.0.0.1:7878; TLS reverse proxy has working configs.
Without the dashboard
russel-ctrl --no-dashboard serves the API only. --dashboard-dir PATH (or RUSSEL_DASHBOARD_DIR) loads it from another folder. To work on the dashboard itself, see Contributing.