Skip to content

Troubleshooting & FAQ

Harbor suiteNo sign-in neededDescribes Onboard 0.58.0 / Health 0.21.0

Start with the console’s own checks: Setup Doctor in Harbor Onboard, or Test-HarborSetup -Connect in PowerShell. Every check says Pass, Warn or Fail, with a hint.

Symptom Fix
The console does not open Double-click Harbor.cmd again: if Harbor is already running, it just opens the browser on it. For a service: Get-HarborService.
The port is in use Start on another port: Harbor.cmd -Port 9000 (or Launch-Harbor.ps1 -Port 9000).
http://localhost:8787 stopped working HTTPS is set up: use https://localhost:8787 (and :8788).
A red or amber strip under the header Read it: it names the problem and the fix. Amber “HTTPS is not set up” is the supported http fallback; see HTTPS setup.
“This console is LOCKED: the profile it serves changed into a demo profile while it was running.” Restart Harbor.
“Harbor could not read its configuration …” Another program may be holding the file, or the JSON is invalid. Fix or release it, then reload the page. The console keeps its last known settings meanwhile.
503 with “busy” The console is at its request limit. Wait a moment and retry; long scans run separately.
504 “may still complete” A read took longer than its limit. Check before retrying.
“Register locked by another Harbor process” Another Harbor process is writing the register. If none is running, delete the named .lock file next to the register.
Symptom Fix
The Welcome to Harbor setup screen asks for a setup code This console has no sign-in yet. See First-run setup.
Locked out after failed attempts Wait (at most 15 minutes), or have an administrator on the machine run Set-HarborWebLogin -Username <account name>. See Break-glass account.
Forgotten emergency password An administrator on the machine runs Set-HarborWebLogin -Username <account name>.
Single sign-on loops, or a signature error The redirect URI in the CyberArk Identity app must match the console URL exactly (scheme, host and port), and the user must be assigned to the app. See SSO.
Single sign-on broke after the move to HTTPS Register https://localhost:8787/auth/callback and https://localhost:8788/auth/callback.
A single sign-on user can read but not create anything They are a viewer: add them under Operators in the SSO setup dialog, or with Set-HarborSsoConfig -OperatorUsers.
“Settings need the admin role.” Ask an admin, or sign in with the emergency account.
Harbor Health shows Sign in at Harbor Home It is shown inside Harbor Home and shares its sign-in: sign in at Home.
Confirm your identity before an action Destructive actions need a recent sign-in. Confirm, then run the action again.
Symptom Fix
“Signed in. The vault is not connected: no service account is declared” An admin declares one under Tenant & service account. See Service account.
“… the service account connects on request” Account menu, Connect vault (admin).
“… the service account did not connect when Harbor started” Its secret source cannot be read by the account running Harbor (a SYSTEM service cannot read your DPAPI blob or your shell’s variables). Check the source.
CyberArk answers 403 The acting identity (your own SSO identity, or the service account) lacks the right in CyberArk. That is CyberArk’s access control working as intended.
Harbor Health: “SystemHealth API refused this identity (403)” Harbor Health needs administrator-grade rights for component data: an SSO admin, or a service account in an admin role.
Persona group not found when creating a safe Harbor resolves every group (or Identity role) before it creates a safe. Create the group, or fix the group naming pattern in the permission map. For Identity roles, the service account must be able to read roles: Test-HarborSetup -Connect warns when it cannot.
Symptom Fix
“No TLS certificate is bound to port …” Run Initialize-HarborTls -TrustRoot elevated. The message contains the exact command.
The browser warns about the certificate Trust it: Initialize-HarborTls -TrustRoot.
“Mixed schemes” Only one port is bound. Run the HTTPS setup again; it binds both.
-SetupTls refuses to elevate The Harbor folder can be changed by a standard user. Use an all-users install.
File Where
harbor-YYYYMMDD.log Readable log, one line per event, in the profile’s logPath (by default Logs under the module folder).
harbor-YYYYMMDD.jsonl The structured, hash-chained audit log.
service-refused.log In the service’s install folder, when the service refused to load code it does not trust.
Terminal window
Get-HarborActivity -Tail 100 # the latest events
Test-PAMAuditLog # is today's log intact?

Back up these small text files:

  • %ProgramData%\Harbor\environment.local.json: the shared configuration (tenants, sign-in, service account, notifications);
  • Config\*.json of each module, if you changed the standards;
  • the register files (the profile’s registerPath and accountRegisterPath) and their .sync.json files;
  • the Logs folders (logs, audit chains, compliance snapshots, health history).

DPAPI-protected secrets in the configuration can be decrypted only by the same Windows account on the same machine. After restoring to another machine, declare the service account’s secret again.

Restore is putting the files back. The safe register is a cache of the vault: in the worst case, rebuild it from the vault, where each safe’s unique ID lives in its description:

Terminal window
Sync-PAMSafeRegister -Backfill -MarkMissing

Does Harbor install anything in CyberArk? No. It uses CyberArk’s REST APIs from your machine.

Does Harbor store the vault secret? Only if you choose a stored source, and then encrypted (DPAPI) or in your SecretManagement vault. Never in clear. See Service account.

Can I turn sign-in off? No, except on a demo profile. See Sign-in overview.

Can I try Harbor without a tenant? Yes: Harbor-Demo.cmd runs everything against a built-in sample vault.

Which version am I running? Get-Module HarborOnboard -ListAvailable, or the version at the bottom of the gear menu.

Where do I get help? Email hello@harbor-pam.com with the version, an excerpt of the activity log, and screenshots. Never send secrets or tenant data.

Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.