Troubleshooting
https://portplane.localhost does not open. The portless proxy is not running. In Settings → portless → Proxy, click Start the proxy, or Install the service so it starts with your computer (both show the exact command first and ask for your password through your system's dialog when needed). Setup, in the sidebar, walks you through it. By hand: sudo portless service install once, or portless proxy start for this session. Portplane also prints its direct http://127.0.0.1:<port> URL when it starts.
The password dialog does not open. Portplane asks through pkexec on Linux, which needs a polkit agent in your desktop session (most desktops run one; minimal window managers may not). Without one, the step shows the sudo … command to run in a terminal; then click I ran it: check again. You can also choose Without a password (port 1355): the proxy runs as you and addresses carry :1355.
The proxy stopped starting with the computer after an upgrade. The service starts the proxy with the Node.js and portless that installed it. A versioned path (Homebrew's Cellar/node/<version>, a version manager's folder) disappears on upgrade. Health and Settings → portless → Proxy mark the missing path; click Reinstall (or run sudo portless service install).
An install failed. The card shows the error and the installer's output. Retry runs it again; Copy the command to do it by hand copies the official command (curl -fsSL https://dekit.run/install.sh | sh, npm install -g portless). Portplane downloads only from dekit.run, GitHub, nodejs.org and the npm registry, and refuses a Node.js archive whose SHA-256 does not match SHASUMS256.txt.
dekit or portless work in Portplane but not in a terminal. Portplane installs them in ~/.local/bin and uses them by full path. If your shell does not have that folder on PATH, the install step offers to add one line to your shell profile (~/.zshrc, ~/.bashrc, ~/.bash_profile on macOS, ~/.profile, or ~/.config/fish/conf.d/portplane.fish); it shows the line first and never adds it twice. On Windows, dekit's installer adds the folder to your user Path.
Something is off with portless and you don't know what. Health runs portless doctor and offers a fix next to each problem. The palette's Run diagnostics does the same.
Browsers warn about the certificate. Your system doesn't trust portless's local certificate authority yet: Settings → portless → Certificates → Trust the certificate. Firefox and, on some Linux setups, Chrome keep their own list: the guided setup's browser step adds the certificate there. On Linux, if Portplane says the trusted copy belongs to your user, click Fix ownership.
Names under .test (or another domain) don't load. Only .localhost reaches your computer without help; other domains need portless's block in the hosts file: Settings → portless → Proxy → Hosts file → Sync.
An old address still shows up, or a port stays taken after an app crashed. Its address is stale: Addresses → Clean up removes it and asks the leftover server to stop.
Change an app's URL. Open the app, then its Address tab, and click Change name. Portplane edits the name where it lives (its task, portless.json or an alias), shows the change first, then reloads dekit and restarts the app.
A compose project has no file, or Start asks for one. portless doesn't record where a project's compose file is. Portplane finds it from the file it last started the project with, a dekit task running portless compose, the folder Docker recorded on the containers, or the folders the project builds from. Otherwise give the file (or its folder) once in the dialog. Start a project with Start or portless compose up, not plain docker compose up, which brings back the original ports.
Starting a compose project fails because the proxy needs a password. portless compose up starts the proxy first when it isn't running, and can't ask for your password from a job. Start the proxy in Settings → portless → Proxy, then Start the project again.
Phones can't open my apps in LAN mode. The phone must be on the same Wi-Fi, and this computer must publish the names: install avahi-publish-address (sudo dnf install avahi-tools, sudo apt install avahi-utils) and run the Avahi service (sudo systemctl enable --now avahi-daemon) on Linux; macOS has dns-sd. portless 0.16 can't publish .local names on Windows. Apps that were running when you turned LAN mode on keep their .localhost address until they restart. For the padlock, install portless's certificate on the phone: Settings → portless → Sharing → Local network → Open on a phone exports ca.pem and lists the iPhone and Android steps.
"dekit isn't running for …". Each dekit project has its own runner, which stops after a reboot until something starts it. Click Start runner, or run dekit -C <folder> up.
An app stays "starting". Its process is alive but its port is not listening yet. If it never gets there, it usually ignores the PORT variable portless sets: run portplane setup <folder> to see the suggested command, or start the framework directly (pnpm exec next dev) instead of a script that pins --port.
An app shows as on, but its URL says "no app registered". The app was started outside portless, or under a different name. Its row shows the internal port; open that, or wrap the command with portless <name> in dekit.yaml.
The Output tab shows only the last lines. It shows the screen dekit keeps for the app (dekit screen), refreshed once a second while the tab is open, so lines that scrolled off the top are not there. Open in a terminal copies dekit -C <folder> attach <app>, where you can scroll back and type into the app. To keep everything an app prints, turn on its log setting in dekit.yaml.
The Output tab says "Not updating". It keeps the last screen it got and asks again every few seconds; the message says why, such as a remote machine that went offline. Try again asks at once. It also stops refreshing while Portplane's window is hidden, and starts again when you come back.
A remote machine stays offline. Check ssh <host> true works without a prompt: Portplane runs ssh with BatchMode=yes, so passwords and host-key questions fail. The error under the machine's name is ssh's own message.
"Update the agent on <machine>". That machine runs a Portplane agent older than this Portplane, which can't run setup, dekit or portless from here. Click Update the agent (in the banner or in Health): Portplane uploads its own agent over SSH and reconnects. If it keeps asking, the machine's agent comes from another build: run the same Portplane version on both ends.
A step on a remote machine shows an ssh -t … 'sudo …' command instead of asking for a password. Nobody sits at that machine's screen to answer a password dialog, and Portplane never sends a password anywhere. Paste the command into a terminal on this computer: it opens SSH to the machine, where sudo asks for your password. Then click Check again.
"This machine has no desktop to open the file on". On a machine over SSH, edit dekit and portless config in Portplane (the task form or the YAML tab), or over SSH. Exported certificates of a remote machine are saved on this computer, in Downloads, as portless-ca-<machine>.pem.
No tray icon on Linux. Your desktop needs a StatusNotifier host; on GNOME install the AppIndicator extension (on Fedora, sudo dnf install gnome-shell-extension-appindicator, then log out and in; Ubuntu ships it). Portplane works without it, and closing its window then quits it.
Portplane opens in the browser instead of its own window (Linux). The window needs portplane-window next to portplane and WebKitGTK 6.0 (sudo dnf install webkitgtk6.0, or sudo apt install libwebkitgtk-6.0-4). Portplane prints why the window did not open when you start it from a terminal. If the window opens blank on some graphics drivers, start Portplane with WEBKIT_DISABLE_DMABUF_RENDERER=1.
Portplane opens in the browser instead of its own window (Windows). The WebView2 runtime is missing; install it from Microsoft (Evergreen runtime).
Portplane cannot find dekit or portless when started at login. Login items get a minimal PATH. Portplane adds your login shell's PATH and the usual install folders (~/.local/bin, Homebrew, mise shims); if your tools live elsewhere, add that folder to the PATH your login shell sets.
A task's form is read-only, or a field says "Written with !js". Portplane edits dekit.yaml entry by entry and keeps your comments, but it does not rewrite !js values, YAML anchors and aliases, or entries written in flow style ({…}). Change those in the YAML tab of the project, or click Open in your editor; Portplane picks up the change.
"Configuration changed: review and reload". A runner reads dekit.yaml when it starts; after that, changes on disk wait until a reload. The banner lists what a reload would change; Review and reload applies it, and can restart the running tasks it changes. From a terminal: dekit -C <folder> reload --yes.
A runner shows "Stale record". dekit has a record for a runner whose process is gone (it crashed, or the computer restarted). Start it again, or use Clean stale records in the menu of Settings → dekit → Runners (dekit runner clean), which never touches running runners.
A runner shows "Needs restart". The project now selects another dekit binary (its kernel:, or the default you set). Restart runner or Upgrade switches it without stopping its tasks. On Windows dekit cannot do this in place: stop the runner and start it again.
Starting a runner says some tasks didn't start. Start waits until every task is ready; the job names the ones that failed, and their app shows why (Why it is like this) and their last output.
No system notifications. Turn them on in Settings → General → Notifications and click Send a test notification: it says why when your desktop has no notification service. On Linux they go through the desktop's notification server over D-Bus (GNOME, KDE, dunst, mako); clicking one opens the app in Portplane. On macOS they come from AppleScript, so clicking one does not open Portplane, and macOS may ask once to allow notifications from Script Editor. On Windows they appear as Windows PowerShell's; clicking one opens the app in your browser. Only failures notify until you turn more on.
The tray has no pinned apps. Pin an app with the star on its row (or press f on it) in the Apps view; the tray lists up to twelve, each with start, stop, restart and its details.
Something is wrong and you want help. Health → Export diagnostics (also in Settings → Advanced) saves a zip with the versions, portless doctor, the proxy service's status, your runners and what Portplane shows. Secrets, environment values and your home folder are left out, and nothing is sent: attach it to an issue if you choose to.
"Check for updates" says it couldn't check. It needs to reach github.com (Portplane and dekit) and registry.npmjs.org (portless) over HTTPS; behind a proxy or offline, it fails and changes nothing. It only reads: update dekit and portless from Settings → Tools, and Portplane the way you installed it.
Keyboard shortcuts. Press ? anywhere for the list. Single keys never fire while you type in a field.
Start from a clean state. Quit Portplane, remove <user config dir>/portplane/settings.json, start it again.
Browsers and the local certificate
portless signs every https://….localhost certificate with its own local CA. portless trust (and portless service install) adds that CA to the system's store: the login keychain on macOS, the user's Root store on Windows, and /etc/pki/ca-trust or /usr/local/share/ca-certificates on Linux. Whether a browser then trusts it depends on where the browser reads certificates:
| Browser | macOS | Windows | Linux |
|---|---|---|---|
| Chrome, Chromium, Brave, Edge | The system's store: nothing else to do | The system's store: nothing else to do | Its NSS database, ~/.pki/nssdb (Snap and Flatpak builds keep their own) |
| Firefox | The system's store, through "Allow Firefox to automatically trust third-party root certificates you install" (security.enterprise_roots.enabled, on by default since Firefox 120) |
Same as macOS | Its own database per profile (cert9.db) |
On Linux, NSS loads the system's trust when its root module is p11-kit's (libnssckbi.so links to p11-kit-trust.so), as on Fedora, Arch and openSUSE: browsers installed from the distribution then trust the CA after portless trust. Debian, Ubuntu, Firefox's own builds, and Snap or Flatpak browsers bring their own NSS and need the CA in their database.
The guided setup's Browser trust step lists each browser and profile it finds (Firefox in ~/.mozilla/firefox, ~/.config/mozilla/firefox, Snap and Flatpak; the Chrome family's databases) and says which trust the CA. For one that does not, Add Portplane's certificate to … runs, without a password:
certutil -A -d sql:<profile folder> -n "portless Local CA" -t "C,," -i ~/.portless/ca.pem
It needs certutil from NSS's tools: sudo dnf install nss-tools on Fedora, sudo apt install libnss3-tools on Debian and Ubuntu, brew install nss on macOS. Restart the browser if it was open. A profile that has an older portless CA (after portless clean, say) gets it replaced.
To check for real, open https://portplane.localhost in the browser: no warning means it trusts the CA.