Skip to main content
Troubleshooting

FAQ

Installation failures, the portal not opening, sign-in and single sign-on, staff not joining departments, Feishu, availability checks, the AI API, licence activation and upgrades. Causes and fixes by symptom.

Installation and start-up

install.sh says Docker or the docker compose plugin is needed

The host has no Docker, or only the old docker-compose. Install Docker Engine and the Compose v2 plugin, check that docker compose version prints a version, then run the installer again.

install.sh says /etc/machine-id is missing

The licence is bound to the host, so installation needs this file. Run systemd-machine-id-setup to create it and try again. On machines cloned from the same virtual machine template, regenerate it on each one first.

install.sh says the port is in use

The default port 8080 is held by another container or program, and the services have not started. Change RSTNAV_PORT in .env and the port in the access URL, then run docker compose up -d.

install.sh says data already exists on the host

The portal has been installed on this host before and its database volume is still there. Do not reinstall in a new directory. Upgrade from the original installation directory. See Upgrade and backup.

The portal does not open in the browser

In the installation directory, run docker compose ps and docker compose logs rstnav to see container status and the portal logs. Check that the firewall allows the portal port and that you are using the port set in .env.

Sign-in

The admin password is lost

Another company admin can reset it on the Users page. The initial password in .env is used only when the account is created on first start; changing .env later does not change the password.

The sign-in page has no single sign-on button

Check in turn: whether the Enterprise licence is valid (CAS, OIDC and SAML buttons are hidden without one); whether the source has been added to config.yaml; and whether docker compose restart was run after editing config.yaml.

The callback fails after single sign-on or Feishu sign-in

The access URL in .env must be the address staff actually use. Callback URLs are built from it and must match the addresses registered with the IdP or on the Feishu Open Platform exactly. After changing the access URL, run docker compose up -d and update the IdP as well.

Staff disabled in the directory can still use the portal

Sessions stay valid until they expire (12 hours by default), and the portal does not query the directory again. To make access end sooner, shorten session_ttl in config.yaml.

One person has two accounts

Signing in from different identity sources creates separate accounts by default. Staff can link them under Account and sign-in, or an admin can merge them on the Users page. See Organisation and accounts.

New staff cannot sign in because the user limit is reached

The Standard Edition allows up to 200 users, not counting local administrator accounts. Existing users are not affected. Upgrade to Enterprise or license more users. See Editions.

Departments

Staff do not join their department after signing in and cannot see its navigation

  • The department's external key does not match the groups returned by the identity source. AD groups can be given as a full DN or a CN name; to map OUs, turn on include_ou in the LDAP settings.
  • OIDC returns no groups: check scopes and claim_groups.
  • Feishu: the external key must be the open_department_id, and the directory permissions and data scope must be enabled.
  • Memberships sync at sign-in, so staff need to sign in again after an external key changes.

Feishu

Staff authorisation or Feishu sign-in fails after Feishu docs is turned on

The Feishu app is missing the document permissions. Enable every document permission for both user identity and app identity on the Feishu Open Platform and publish a new version. See Feishu.

No documents appear after binding a group to a wiki space or folder

Sync runs as the app. Check that the group chat containing the app's bot is a member of the wiki space, or that the folder is shared with that group chat, and that the app's availability includes the document owners.

The Feishu settings page is read-only

When the Feishu source is defined in config.yaml, the file takes precedence. Remove the Feishu settings from config.yaml and restart to manage it from the page instead.

After changing the session secret, the Feishu settings ask for the secret again

The App Secret is stored encrypted with the session secret and cannot be decrypted once the secret changes. Enter the App Secret again on the page; staff also need to authorise Feishu docs again.

Availability checks and icons

Personal links have no status dot and cannot be checked

By default only company and department links are checked. Personal links are checked only when health.scope in config.yaml is set to all. Before turning that on, weigh the risk of the server visiting addresses on behalf of staff. See Configuration reference.

Many links show as down

Checks run from the portal server, so addresses it cannot reach show as down. Review the access policy for the server's network. HTTP addresses returning status 500 or above also count as down.

Cards show no site icon

On isolated networks, external sites have no icon and the card shows the first character of the name. Icons are fetched only from the same host, and SVG is not accepted. You can pick an icon by hand when editing the link.

AI API

Calls return 401

The request has no Authorization: Bearer rstnav_xxxxxxxx header, or the token has been rotated or revoked.

Writing asset facts returns 403 license_required

Writing asset facts and querying fact conflicts need Enterprise. Filling in entry context, creating applications and registering APIs work in the Standard Edition.

The AI cannot find some entries

The token is limited to certain departments or business zones. Entries outside that scope are invisible, and resolving endpoints outside it returns known=false. Staff personal navigation is never visible to AI.

Facts written by AI do not appear

The token has facts-need-review on, so facts take effect only after approval in AI review.

Licence

Online activation fails

The server needs access to license.reallysec.com on port 443; set HTTPS_PROXY if a proxy is required. Servers without internet access should use offline activation. See Licence.

The licence page says this version cannot install a licence

The program is a development or test build with no built-in licence public key. Install an official release.

The licence stops working after a move or reinstall

The licence is bound to the host's machine-id. After changing host, reinstalling the system or regenerating the machine-id, activate again.

The admin console says the licence is in its grace period

The online licence cannot reach the licence server. Enterprise features keep working for 3 days. Check the server's network access to license.reallysec.com.

Upgrades

No new-version notice appears

  • The version-check URL in .env is empty, so the portal makes no check requests.
  • The server cannot reach updates.reallysec.com, or the proxy is not set.
  • Version information that fails signature verification is ignored without a notice.
  • Only admins see the notice. You can also choose Check for updates under System > Updates.

One-click upgrade is unavailable because the updater is not installed or not running

Run sudo ./install.sh updater <installation-directory> as root. Hosts without systemd can only be upgraded manually.

The upgrade rolled back automatically

The new version did not start properly, so the previous version and database were restored. The page shows the step that failed, and the database backup is in backups/. A common cause is a missing /etc/machine-id on the host; create it and upgrade again.

The page shows Rollback failed or Interrupted

Follow the manual recovery steps.

For other API errors, see Error reference.

On this page