Skip to content

Troubleshooting ​

The messages below are the ones the installer prints. Most situations are solved by fixing the cause and running sudo rosepetal-cli again: the CLI inspects the machine on every run and continues from what it finds.

Where to Look ​

WhatWhere
Log of the background part of the install (steps 3 to 13)/var/log/rosepetal-install.log, readable by root. It is started anew by every install
Whether an install is running in the backgroundsystemctl is-active rosepetal-install
Follow a running installsudo rosepetal-cli, then Install controller: the CLI attaches to its log
State of the controller after the installtailscale status and docker compose -f /opt/rosepetal/docker-compose.yml ps
What the backup module did during Run a backup, Restore backup or Clear controllerdocker logs backup; see Backups

Getting and Starting the CLI ​

Message or symptomMeaning and what to do
This installer must be run as rootThe install script was piped to bash without sudo. Run the command with sudo bash after the pipe, as in Get the CLI
Download failed. Check your network and try again.The script could not download the binary. Check the internet access of the machine
An entry of the menu is red, with needs sudoThe CLI was started without sudo. Choose Quit and run sudo rosepetal-cli
An entry of the menu is red, with not a controllerThe entry works on an installed controller only: /opt/rosepetal/docker-compose.yml does not exist on this machine
The banner appears and the CLI ends without a menuThe menu needs an interactive terminal. Run the CLI from a console or an SSH session, not through a pipe or a script
Self-update failed: self-update needs rootThe CLI offered to update itself but was started without sudo. It continues with the current version. Start it with sudo to update, or run the install command again

Phase 1 ​

Message or symptomMeaning and what to do
Phase 1 failed: ...A package step failed; the output of apt-get or of the install script above the message says why. Fix the cause (usually the access to a repository) and run the CLI again: what is already installed is detected and skipped
nvidia-smi failed (needs reboot — driver not loaded or version mismatch), then Reboot requiredThe machine has an NVIDIA GPU and nvidia-smi does not work yet: the driver was just installed, or it was upgraded and the loaded kernel module no longer matches the libraries. Reboot, then run the CLI and Install controller again. The install does not go on to Phase 2 until nvidia-smi works
Reboot required again after rebootingThe driver is installed but still does not work. The CLI installs a driver only when no nvidia-driver-* package is installed, so it keeps asking for a reboot. Run nvidia-smi to read its error and repair the driver by hand, then run the CLI again
The machine has an NVIDIA GPU but the host check says No NVIDIA GPU detectedThe card is not visible on the PCI bus of the machine (not seated, or disabled in the firmware setup). Answer no to Proceed? in Phase 2 and fix it first: confirming installs a CPU-only controller

Enrollment Token ​

When the token is asked for, the user rosepetal already exists and the other login users are deleted. After an error from the API the CLI ends; run it again and choose Install controller to get back to the token.

MessageMeaning and what to do
expected RPC1-XXXX-YYYY ... under the promptThe text typed is not in the form of a token. The prompt stays open: type it again. Tokens never contain the letters I, L, O or U: type 1 for an I or an L and 0 for an O
enrollment not found (HTTP 404)The API does not know the token. Check it for typing errors; if it is right, a new token is needed
this token has already been redeemed or has expired (HTTP 410)The token cannot be used any more. A new token is needed
meta-api failed to mint install credentials, with an HTTP 5xx codeThe API could not prepare the credentials of the install. Try again after a minute
redeem failed (HTTP ...)The API refused the token for another reason, given after the code
redeem: POST ... followed by a network errorThe machine could not reach the Rosepetal API. Check its internet access

Background Install ​

Message or symptomMeaning and what to do
The SSH session drops during the installExpected when connected through the Tailscale address of the machine, whose Tailscale identity the install resets. The install keeps running. Reconnect and attach again: see Installing over SSH
A controller install is already running in the background — attaching to its log.Install controller found the unit of a previous run still working and shows its log instead of starting a second install
could not start the background install unit, Falling back to running the install in THIS sessionThe systemd unit could not be started. The rest of the install runs in the current session: do not let the connection drop
Background install unit finished — outcome is in the lines aboveThe unit ended without rebooting the machine: a step failed, which the log above marks, or the final reboot was cancelled. After a failed step, fix the cause and run Install controller again. If it finds traces of the partial install it asks to wipe them first, and it asks for the token again; if the API answers that the token was already redeemed, a new one is needed

Tailscale ​

MessageMeaning and what to do
tailscaled did not come back within 30s of restartStep 6 restarted the Tailscale daemon and it did not answer. The install stops. Check systemctl status tailscaled, then run Install controller again
DNS for the Tailscale control plane is still failing after 90sThe machine cannot resolve the names of Tailscale's control plane. The install tries the join anyway; check the DNS server and the router of the machine
tailscale up failed (...) — retry 1/4 in 5sThe join failed and is retried, up to four times with growing pauses. No action while it retries
tailscale up failed after 5 attemptsThe join kept failing, usually because the machine cannot reach Tailscale's control plane. The install stops. Check the network and the DNS of the machine, then run Install controller again
tailscale up rejected its command lineThe Tailscale installed on the machine does not accept one of the options the CLI passes to tailscale up; the usage text above the message shows which. This is a mismatch between the versions of Tailscale and the CLI, not a network problem, and it is not retried. Update Tailscale or the CLI, then run Install controller again
could not read tailscale ipv4 after 45sThe join worked but the machine's tailnet address could not be read in time. The install goes on, with HOST_IP empty in /opt/rosepetal/.env
proxy.sh failed; stack is up but the tailnet HTTPS serves are NOT configured.The containers run but the Tailscale serves were not applied. Run sudo /opt/rosepetal/proxy.sh, or Refresh Tailscale proxy from the menu (Updates)

Containers ​

MessageMeaning and what to do
docker login: ..., docker compose pull: ... or docker compose up: ...Logging in to the image registry, downloading the images or starting the containers failed, and the install stops. The output above the message says why; for the login and the download, check the access of the machine to the registry. Then run Install controller again
aux-image pre-pull failed; some node-red node packages may fail at runtime.The auxiliary images of the Node-RED nodes could not be downloaded. The install goes on and the controller starts, but nodes that need one of those images can fail. The installer's own advice is to run Install controller again once the cause is fixed. That is a reinstall: it wipes the controller just installed and asks for a token again
could not mark install completeThe controller is installed and running, but the API was not told so: its record of the controller stays at installing until the install is run again or an administrator corrects it

Final Reboot ​

Message or symptomMeaning and what to do
Rebooting in 20s to finalizeThe install is complete and the machine is about to reboot. To cancel it: sudo systemctl stop rosepetal-install within the 20 seconds. When the line ends with press Ctrl+C to cancel, the install ran in the current session: press Ctrl+C instead
The reboot was cancelled, or Reboot skippedRun sudo reboot when convenient. That boot removes the account the install was started from, when it was not rosepetal or root
The account used for the install does not work after the rebootExpected: every login user other than rosepetal is deleted. Log in as rosepetal
could not schedule bootstrap-user cleanupThe account the install was started from could not be scheduled for removal. Remove it by hand later, as the message says: sudo userdel -rf followed by the account name