Skip to content
Komando

Error codes

Every error code komando gives, with its exit code, an example message and the usual next step. The error's own hint says what to do in your case. This page is made from the code (komando schema lists the same under error_codes). Results and errors explains the common ones.

CodeExitExample messageUsual next step
AMBIGUOUS_MATCH8--old matches … times in …add surrounding context to --old so it is unique (read the file with komando fs cat SERVER PATH), or pass --all
APPROVAL_WINDOW_FAILED1read the message; komando doctor checks this computer's setup
AUDIT_TAMPERED1the audit log chain is broken at line …keep a copy of the file and find out who changed it; komando keeps adding records after it
AUDIT_UNAVAILABLE1the audit log cannot be written (…), so the key's command does not runfix the file or folder permissions on the komando computer (komando doctor checks them)
AUTH_FAILED4… asks … (two-factor login); only a person can answer it, and none is at a terminal hererun komando login SERVER in a terminal: komando asks you for the code once and keeps the login, so later commands (an AI agent's too) need no code; an AI agent asks the user to run it
AWS_FAILED4AWS profile …: …check the profile in ~/.aws/config
AWS_LOGIN_REQUIRED4AWS profile …: …a person runs komando login aws --profile … once, then run it again
AWS_PROFILE_NOT_FOUND3there is no AWS profile …add the profile to ~/.aws/config (or fix --option aws_profile)
AZURE_FAILED4…: …check that this computer reaches login.microsoftonline.com
AZURE_LOGIN_REQUIRED4…: …set AZURE_TENANT_ID, AZURE_CLIENT_ID and AZURE_CLIENT_SECRET for a service principal, run komando on Azure with a managed identity, or a person runs az login
BACKUP_FAILED5could not make a backup of …: …; the file was not changedcheck free space with komando exec TARGET --read-only -- df -h, or run without --backup
BACKUP_NOT_FOUND3no backup of … found (looked for ….bak)komando keeps a backup only when you edit with --backup; give another copy with --copy PATH
BAD_CA2registry CA …: …store the registry's CA certificate (PEM) with komando secret set NAME < ca.crt
BAD_FILE2not a backup komando can read: …give a backup komando can read: plain SQL text or a pg_dump custom archive (-Fc)
BAD_RELEASE1… is … bytes, more than komando accepts; nothing was changedreport it at …/issues
BAD_SECRET2the password for … contains a line breakstore the password again without line breaks (komando secret set NAME)
BINARY_FILE1… is a binary file; fs cat shows text onlysave it with komando download … …
BUCKET_NOT_FOUND3bucket does not existcheck the bucket name in the conn URL (komando conn show NAME)
BUILTIN_RULE2… is a built-in rule and cannot be removedbuilt-in rules always apply (see them with komando policy list); for one intended command, confirm with the user and pass --allow-dangerous
CACHE_AUTH4memcached refused the login: …check the user in the URL and the password reference (komando conn show NAME)
CACHE_CONNECT4cannot connect to …: …the server's certificate could not be checked against this computer's CAs: give the CA that signed it with ?ca=secret:NAME (komando secret set NAME < ca.pem), or reach the server --via an SSH server with the plain scheme (redis://, memcached://) instead (komando conn edit NAME --via HOST --url ...)
CACHE_ERROR5this memcached cannot list keys: …start memcached with the LRU crawler on (the default since 1.5); cache get works without it
CACHE_KEY_NOT_FOUND3no cache key named …list keys with komando cache keys CONN 'pattern*'
CACHE_SECTION_NOT_FOUND3INFO … returned nothingthis server has no such section; try komando cache info CONN --all
CANCELLED1interruptedit stopped before the end (Ctrl-C or a signal); check what it left, then run it again
CA_EXISTS8server CA … already existschoose another name, or komando host ca rm … first
CA_HOSTS_INVALID2a server CA needs the server names it may vouch forrun komando host ca add NAME --key FILE --hosts '*.corp.example', with the domains the CA may vouch for
CA_NOT_FOUND3no server CA named …see the CAs with komando host ca list
CERT_PROBLEMS1… of … targets need attention: …renew or replace the certificates marked expiring, expired or not_trusted; see each result
CHECKSUM_MISMATCH1… does not match checksums.txt of its release; nothing was changedrun it again, and report it at …/issues if it happens again
CHMOD_FAILED5cannot set mode … on …: …; the file was not changedthis SFTP server does not allow setting file modes, and its new files are more open than asked for; if the server has a shell and sudo, retry with --sudo
CODE_WRONG2that code does not match; nothing was changedcheck the phone's clock and run it again
COMMAND_FAILED5exit code …read the error output (stderr) for the reason
COMMAND_NOT_FOUND3no command …run komando schema --compact to see every command
CONFIRM_REQUIRED6deleting group … takes … entries out of itcheck with --dry-run, ask the user; once they agree, run it again with --yes (komando then asks them in a window on their screen)
CONNECTION_LOST4the connection to … broke while reading the job's statusrun it again; the job keeps running on the server
CONNECTION_REFUSED4the server refused the connection: nothing listens on that portcheck that sshd runs on the server and listens on this port: komando host show …
CONNECT_TIMEOUT7connecting to … timed outa firewall drops the connection, or the server is private: check the address with komando host show …, reach it through a bastion or VPN (komando host edit … --via NAME), or raise --connect-timeout on a slow link
CONN_EXISTS8… … already existsuse komando … edit or pass --overwrite to replace it
CONN_UNREACHABLE4cannot reach …: …check the name and port; if the site is only reachable from a server or VPN, run it again with --via: komando cert check … --via NAME
CONSUMER_GROUP_NOT_FOUND3no consumer group named …list consumer groups with komando queue groups CONN
CONSUMER_NOT_FOUND3no consumer named …list consumers with komando queue groups CONN; name one as STREAM/CONSUMER
CRONTAB_UNREADABLE5cannot read the crontab (exit …)check the user name; reading another user's crontab needs sudo
DB_AUTH4bigquery: the stored key is not a service account key: …the --password-ref of a bigquery conn holds a service account key (the JSON file from the console), or leave it out to use gcloud's login
DB_BYTES_LIMIT6the query would read …, more than --max-bytes …, so it did not runBigQuery bills by the bytes a query reads: select fewer columns, filter on the partition or cluster columns, or, if that cost is intended (ask the user), raise --max-bytes
DB_CONNECT4cannot open …: …check the file path in the conn URL (komando conn show NAME)
DB_ERROR5… (SQLSTATE …)fix the SQL; komando db schema CONN TABLE shows columns and types
DB_NOT_FOUND3… failed on … (exit …): …check the database name at the end of the conn URL (komando conn show …)
DB_PRIVILEGE5… (error …)the conn's user lacks this right; ask an admin to grant it, or use a conn with an admin user
DB_USER_EXISTS8user … already existschange its password with komando db user passwd CONN … --password-ref secret:NAME
DB_USER_IN_USE8the database user owns objects or has sessions, so it is not removedend its sessions first: find them with komando db activity CONN --all, then komando db kill CONN PID --session
DB_USER_NOT_FOUND3no database user named …list users with komando db user list CONN
DECLINED6not run: the person said no; nothing was changedrun it again to be asked again
DELETE_FAILED1cannot delete …: …check the file's permissions
DELIVERY_LIMIT_NEAR8subscription … moves a message to its dead-letter topic after … deliveries, and peek would count as onedo not peek this subscription: every delivery counts, and a message delivered too often goes to the dead-letter topic. Peek a subscription of the dead-letter topic instead, or raise maxDeliveryAttempts
DEPLOY_FAILED5key deploy could not add the key to the server's authorized_keys (the server's words follow)check that ~/.ssh is writable there: komando fs stat SERVER ~/.ssh
DIG_MISSING3… records need dig, which is not installed on this server, and komando could not ask the server's resolver itself (no nameserver in /etc/resolv.conf, or the se…install dig (Debian/Ubuntu: dnsutils, Alpine: bind-tools, RHEL: bind-utils), for example komando pkg install TARGET dnsutils; A and AAAA work without it
DNS_ERROR4the server's name does not resolve on this computerthe name does not resolve here: check it with komando host show … and fix it with komando host edit … --address ADDRESS; a name only a VPN resolves needs --via that VPN
DOCKER_ERROR5docker on the server answered with an errorcheck that Docker runs there: komando exec TARGET --read-only -- docker info
DOCKER_MISSING3docker not foundinstall Docker on the server, or pick another server
DOCKER_OBJECT_NOT_FOUND3list what exists with komando docker ps TARGET --all or komando cluster list TARGET services
DOCKER_PERMISSION5the login user may not use docker on the server (add --sudo, or the docker group)add --sudo, or add the login user to the docker group
DOCTOR_FAILED1some checks failedfix the checks marked ✗ (ok: false in -o json), then run komando doctor again
DRY_RUN_UNSUPPORTED2this change cannot be previewed; run it without --dry-run to make itrun it again without --dry-run to make the change
DUMP_FAILED5the backup stopped before the end; no partial file is leftcheck the conn with komando test …; with --run-on HOST, pg_dump or mysqldump on that server runs instead
DUMP_UNSUPPORTED2komando's own dump cannot write an object (the message names it)run pg_dump on a server that has it and can reach the database (--run-on HOST), or dump the other tables with --table
EMPTY_FOLDER_CONFIRM_REQUIRED6… lists no files in …, so --delete would remove … there in …; nothing was deletedsee what would go with komando sync SRC DST --delete --dry-run, ask the user; once they agree, run it again with --allow-dangerous (komando then asks them in a window on their screen)
ENCODED_SECRET_INVALID2the script or command holds a private key; komando does not send one this wayput the key in the vault and pass it with secret run: komando secret set NAME < key, then komando secret run --env KEY=secret:NAME -- …; to search for keys, quote only 'PRIVATE KEY-----', not the whole BEGIN line
ERROR1an error with no more specific code (read the message)read the message; komando doctor checks this computer's setup
FILE_CHANGED8… …; nothing was addedrun the same command again (komando cp SRC DST --continue): komando reads the file's length again
FILE_ERROR1a file on this computer cannot be read or writtencheck that the folder exists and is writable
FILE_EXISTS8… already exists on this computerchoose another --to, remove the file, or pass --overwrite
FILE_NOT_FOUND3identity file …: …give the path of a private key file, or register it with komando key add NAME FILE and use --key
FILE_TOO_LARGE8…:… is more than …; komando holds a copy from a pod in memory, and stoppedcopy a smaller part, or pack it smaller in the pod first: komando cluster run TARGET --write -- exec POD -- gzip PATH
FOLDER_NOT_FOUND3no folder named …add -p/--parents to create it
GCP_LOGIN_REQUIRED4…: …a person runs gcloud auth application-default login again, or set GOOGLE_APPLICATION_CREDENTIALS to a service account key file; on Google Cloud the machine's service account is used
GROUP_EXISTS8group … existspick another name; to merge them, run komando group add … @… and then komando group rm …
GROUP_NOT_FOUND3no group named …run komando group list to see groups
HELM_RELEASE_NOT_FOUND3no Helm release named … in namespace …see the releases with komando cluster helm list TARGET -A, and name the namespace with --namespace
HELM_REVISION_NOT_FOUND3… has no revision …see the revisions with komando cluster helm history TARGET RELEASE
HIDDEN_VALUE2stdin holds a value komando hid ([hidden] or [secret:NAME]); uploading it would destroy the real valueedit the file on the server with komando fs replace (an --old with [hidden] in it matches the hidden value), and put a secret in with {{secret:NAME}}
HOSTKEY_MISMATCH4host key for … changed: the server was rebuilt, or someone is intercepting the connectionpossible man-in-the-middle: report this to the user and do not re-trust the key yourself; once they have checked the new fingerprint another way, they can run komando host trust … --reset
HOSTKEY_REVOKED4… shows the revoked host key …; nothing was sentthis key is on komando's list of revoked host keys: treat the server as compromised, tell its owner, and do not re-trust it with komando host trust
HOSTKEY_UNKNOWN4host key for … is not trusted yet (host keys are strict)compare the fingerprint with what the server's owner sees, then run komando host trust … (an AI agent asks the user: its pin needs their yes)
HOSTKEY_UNREADABLE4the pinned host key for … cannot be reada person checks the server's key and runs komando host trust for it in their own terminal
HOST_EXISTS8… … already existsuse komando … edit or pass --overwrite to replace it
HOST_IN_USE8server … is on the --via path of …change them first: … (or --via OTHER), or remove them in the same command
IMAGE_TAG_NOT_FOUND3… not found; the repository has no tagslist the repositories with komando registry list CONN
IMPORT_INCOMPLETE1… not imported (see skipped)fix them in the source and import again: the rest is in, and importing again skips it
INSECURE_PROTOCOL2…:// crosses the network to … without TLS, so the password and the data travel unencrypteduse the URL's TLS form if the server has TLS (rediss://, memcacheds://, amqps://, nats tls://, kafka tls=true, an https:// endpoint, ftps://, webdavs://), or reach it --via an SSH server (--via HOST); otherwise add ?insecure=1 to accept that the login and the data travel unencrypted
IS_A_DIRECTORY2…:… is a folder, not a filecopy the folder and everything in it with -r: komando cp -r … …
IS_A_SYMLINK8… is a symbolic link (--no-follow)drop --no-follow to write the file it points to
JOB_FAILED5job exited with …read its output with komando job logs … --limit 50
JOB_KILLED5job … was killed (…)it was stopped with komando job kill
JOB_LOST5job … lostit stopped without an exit code (killed, or the server restarted): komando job logs … --limit 50 shows how far it got; start it again with komando job start … -- … if needed
JOB_NOT_FOUND3no job named …see them with komando job list
JOB_RUNNING8job … is still runningstop it first with komando job kill …, or pass --kill to stop and remove it
JOB_START_FAILED5could not start job: …check that /bin/sh and nohup work there: komando test TARGET
JOURNAL_PERMISSION5this user may not read the system journaladd --sudo, or add the login user to the systemd-journal group
K8S_CONFLICT8the object changed or exists already (the cluster's words follow)the object changed meanwhile or exists already: look at it with komando cluster get TARGET TYPE/NAME, then run it again
K8S_CONTAINER_NOT_FOUND3no container named …its containers: …
K8S_ERROR5the Kubernetes API answered with an error (its words follow)read the cluster's words; komando cluster events TARGET --warnings shows what went wrong lately
K8S_FORBIDDEN4listing Helm releases: …Helm keeps releases as Secrets: the kubeconfig's user needs to list secrets there (or name one namespace with --namespace)
K8S_INVALID2the cluster refused the request as written (its words follow)the cluster refused it as written: check the label selector (-l) or the object's YAML
K8S_NOT_FOUND3list what exists with komando cluster list TARGET pods (or deployments, services ...)
K8S_POD_NOT_FOUND3… has no running podcheck them with komando cluster list TARGET pods
KEYCHAIN_FAILED5…; the vault still uses store.key, nothing was losta person unlocks the keychain (an AI agent asks the user), then run it again; on Linux it needs secret-tool and a keyring
KEYCHAIN_SLOW1nothing was changed: the keychain did not answer in time, so komando could not check that … is the newest copyrun it again in a moment; if it keeps happening, run komando doctor
KEYCHAIN_TAKEN8…; the vault still uses store.key, nothing was lostput back the vault you moved aside, or once no vault needs that key, a person deletes the keychain item (an AI agent asks the user), then run it again
KEYSCAN_FAILED4cannot fetch host key from …: …check the address and port with komando host show …
KEY_EXISTS8key … already existschoose another name, or komando key rm … first
KEY_FAILED1could not read key …: …; nothing was writtencheck the key with komando key show …, or leave out --with-keys
KEY_INVALID2… is not a public key: …give the CA's public key file (.pub)
KEY_IN_USE8server … still uses this keygive the server another key first: komando host edit … --key OTHER
KEY_PASSPHRASE_REQUIRED2key … is encrypted and …load the key into ssh-agent with ssh-add PATH, or store its passphrase with komando secret set NAME (the hint gives the whole commands)
KEY_UNREADABLE4cannot read key …: …check the key path (komando key list shows the keys komando knows)
KILL_FAILED5the server did not stop session …you may lack the right to stop another user's session
KUBECONFIG2conn …: …import it again with komando import kubeconfig
LOGIN_FAILED4the login to … ended early (…)a person reads the whole log in …
MIXED_OS2the target picks Windows servers (…) and other servers (…)a command is written for one shell: run it twice, once with TARGET,os:windows (PowerShell) and once with TARGET,!os:windows (sh)
MOVE_FAILED5the copy on the server (…) ended badly: …; … was keptrun it again: komando storage mv CONN … …
NAME_TAKEN8the rename clashes: …; nothing was renamedpick other names, or rename or remove what is in the way first
NEEDS_PERSON6logging in to … needs a person at a terminal to answer its questionsask a person to run komando login … in a terminal; after that your commands to … need no login
NEEDS_TERMINAL2cluster shell needs a person at a terminalagents and scripts use komando cluster exec
NOTHING_TO_RENAME3no … starts with …check OLD with komando list and komando secret list; names are matched from the start, as written
NOT_A_FOLDER8… is a file, not a foldergive a folder path, not a file
NOT_SUPPORTED2… waits for data that keeps coming, so cache run would never returncache run sends one command and prints its one reply; drop BLOCK from XREAD, and use redis-cli for MONITOR or SUBSCRIBE
NOT_SWARM_MANAGER3… is not a Swarm manager (docker not found)Swarm commands run on a manager: komando exec … --read-only -- docker node ls shows whether it is one
NOT_TEXT2… is not textdownload it with komando storage download CONN OBJECT
NOT_WRITABLE8cannot replace …: …: …; nothing was changedmake … writable, or install komando in another folder with the install line (KOMANDO_INSTALL_DIR=DIR)
NO_AUTH4no authentication method available for …: it has no key or password, and …start ssh-agent, then run …
NO_CERTIFICATE5… sent no certificatecheck that … is the TLS port of the site
NO_FOLDER1cannot find the folder: …set HOME, or run it from the project folder
NO_JOURNAL3journald has no log files on this serverthe service may log to a file: komando logs TARGET --file /var/log/...
NO_MATCH8--old text not found in …read the file with komando fs cat TARGET … and copy the exact text (whitespace matters)
NO_MATCHING_TARGETS3nothing to checkgive a server, a TLS conn or a website (https://NAME): komando cert check URL
NO_PACKAGE_MANAGER3no supported package manager on this serverkomando knows apt, dnf, yum, apk, zypper and pacman
NO_PASSPHRASE2the vault has no passphrase to take awaythe vault keeps its key in store.key or the OS keychain already; the hint says which
NO_PUBLIC_KEY2komando does not have the public key of …place ….pub next to the key, then komando key rm … and add it again
NO_RECORDS3… has no … records (or does not exist) from this servercheck the name and type, and the server's DNS (/etc/resolv.conf)
NO_RESPONSE4no HTTP answer from …check the URL, and that the server can reach it: komando net check … ADDRESS:443
NO_SYSTEMD3systemd is not running on this serverthis server runs without systemd (a container?); read logs with komando logs TARGET --file PATH or komando docker logs
NO_TUNNEL_NEEDED2… has no --via, so it is reachable without a tunnelconnect to … directly
NO_USER_MANAGER3the login user has no systemd user manager running on this serverthe login user's systemd manager runs only while they are logged in, unless lingering is on: a person with sudo runs loginctl enable-linger USER on the server, then try komando svc list TARGET --user-units
NXDOMAIN3… does not resolve from this servercheck the name, and the server's DNS (/etc/resolv.conf)
OBJECT_NOT_FOUND3… not foundlist files with komando storage list CONN [PREFIX]
OPEN_BIND6the tunnel would listen on … of …, open to its network (the default 127.0.0.1 keeps it to that computer)check with --dry-run, ask the user; once they agree, run it again with --yes (komando then asks them in a window on their screen)
OPTION_LIKE_VAR2the value of … may not start with '-' (… would be read as an option)for a path that starts with -, write ./…
OUTPUT_TRUNCATED1the rows are more than the output size cap (--max-output) allows; nothing was printedraise --max-output (bytes, for example --max-output 104857600), or narrow the SQL with WHERE or LIMIT; a whole database copies with komando db dump
OVPN_UNSUPPORTED2the OpenVPN profile has an option komando's own client does not support (the message names it)change the profile, or report the option you need at …/issues
PACKAGE_NOT_FOUND3…: no such package in the server's package indexcheck the name; refresh the index with komando pkg update TARGET if the package is new
PARTIAL_FAILURE1some targets failed and some worked (see each result)read each target's error and hint (data.results in -o json)
PARTIAL_TRANSFER5… could not be copied; the other files were copiedfix the listed ones (permissions?) and run it again
PARTITION_NOT_FOUND3topic … has no partition … (it has …)partitions are numbered from 0; see them with komando queue describe CONN …
PASSPHRASE_MISMATCH2the two passphrases you typed differ; nothing was changedrun it again
PATH_NOT_FOUND3… does not exist; nothing was changedcheck the source path
PERMISSION_DENIED5cannot read …add --sudo
PHONE_KEY_INVALID2the key does not match the key check the phone shows; nothing was writtencheck that the key file came from the phone, then run komando export --for-phone --to FILE again and type the key check it shows
PKG_FAILED5pkg … failed (exit …)read the error output (stderr) for the package manager's message
POLICY_BLOCKED6the command matches destructive rules [rm-rf]: deletes files recursivelycheck with --dry-run, ask the user; once they agree, run it again with --allow-dangerous (komando then asks them in a window on their screen)
POLICY_MAC_FAILED1…: …, so komando does not run (the safety rows no longer match their policy MAC)something other than komando changed a protection, rule, setting or pinned host key; a person finds out what, then restores the komando folder from a backup made before it (komando doctor then says whether that copy is older than the keychain remembers)
PORT_CLOSED5cannot connect to …check the address, firewall or service on the other side
PORT_IN_USE8cannot listen on 127.0.0.1:…: …pick another LOCAL port (komando tunnel list shows the ones komando holds)
POWERSHELL_FAILED5the login check in PowerShell failed on … (exit …): …komando runs every command on Windows in Windows PowerShell (powershell.exe): check that it is on the PATH of the login user, and read the message
PROTECTED_TARGET6a change action on protected conn …: …check with --dry-run, ask the user; once they agree, run it again with --yes (komando then asks them in a window on their screen)
PROXY_FAILED4proxy command for …: …check the program in --proxy-command is installed
PROXY_NOT_FIRST2… has a proxy command but is reached through another hopa proxy command can only start a path; put that server first in --via
QUEUE_AUTH4the brokers refused the login: …check the user in the URL, the sasl= option and the password reference (komando conn show NAME)
QUEUE_CONNECT4cannot connect to …: …run komando test TARGET to check reachability, or reach the server --via an SSH server that can
QUEUE_DENIED5the server refused the vhost …: …check the vhost in the URL's path (%2F is the default vhost "/") and that the user has permissions on it
QUEUE_ERROR5…: could not give back the messages peek pulled: …; nothing is lostPub/Sub gives the messages out again once the subscription's ack deadline has passed
QUEUE_EXISTS8queue … already existspick another name, or see it with komando queue describe CONN …
QUEUE_NOT_FOUND3no queue named …list queues with komando queue list CONN (it needs ?management=PORT in the conn's URL); the vhost is the URL's path
READ_FAILED5cannot read …: …run it again; the output was cut (raise --max-output?)
READ_ONLY_VIOLATION6--read-only, but the command is not known to only read (…)--read-only runs only what komando knows only reads: for a server's state use komando facts, logs, svc status or fs read; otherwise tell the user what the command does, then run it without --read-only (a protected server also needs --yes)
REBOOT_FAILED5the reboot command failed (exit …): …read the error output (stderr); without sudo rights a reboot is refused
REBOOT_TIMEOUT7… did not come back within …check the server's console; komando did not reboot the servers after it
RECIPE_BUILTIN8… is a built-in recipepick another name; see komando recipe list
RECIPE_CHANGED8recipe … changed while komando was startingrun it again
RECIPE_EXISTS8recipe … existssee it with komando recipe show NAME, or pass --overwrite to replace it
RECIPE_NOT_FOUND3no recipe named …see them with komando recipe list
REGISTRY_AUTH4the registry refused to list its repositories: …the login may read images but not list every repository: name one with komando registry list CONN REPO; else check the user in the conn URL and its --password-ref
REGISTRY_ERROR5the registry did not say the image's digestrun it again; if it keeps failing, the registry may not support this image format
REGISTRY_RATE_LIMIT5the registry turned the request down: too many requests (Docker Hub's pull limit)the registry limits how many requests it takes (Docker Hub: pulls per 6 hours, fewer without a login); wait and run it again
REGISTRY_TLS4the registry's TLS certificate is for another name: …use the host name the certificate is for in the conn URL; with --via the server on the path looks the name up (its /etc/hosts applies)
REGISTRY_UNSUPPORTED5… has no list of every repositoryname the repository: komando registry list CONN REPO (on Docker Hub, nginx means library/nginx)
RELEASE_SIGNATURE_INVALID2komando … is not signed with the komando project's key; nothing was changeddo not install it another way, someone may have replaced the release's files: report it privately at …/security, and check again later with komando update --dry-run
RELEASE_SIGNATURE_NOT_FOUND3komando … has no signature, so komando cannot tell it comes from the komando project; nothing was changedreleases up to … have no signature: to go back to one anyway, use the install line with KOMANDO_VERSION=… (…#install); to stay on a signed release, run komando update
REMOTE_ERROR1an error from outside komando with no more specific code (its words follow)run it again with -o json for the details; komando doctor checks this computer's setup
REMOTE_WRITE_FAILED5cannot write …: …; the file was not changedcheck that the user may write to the folder and the disk has free space: komando fs stat SERVER PATH
RENAME_FAILED1the vault cannot rename the VPN's secrets: …; nothing was renamedcheck that the vault opens (komando secret list, KOMANDO_VAULT_PASS)
REPOSITORY_NOT_FOUND3no repository named …list the repositories with komando registry list CONN
RESERVED_SECRET2secret … belongs to komando's approval codea person manages it with komando config approval-code
RESTORE_FAILED5the restore stopped at a line: PostgreSQL changed nothing (one transaction), MySQL kept the statements before itfix the file, then restore it again: komando db restore … --from …
RESTORE_SPACE_MISSING3not enough free space for the restore's copy; nothing was sent to the databasefree … bytes in … (komando checks a private copy of the backup there before the database is touched), then restore again: komando db restore CONN --from …
RESTORE_UNSUPPORTED2line … switches to another database: …the file switches databases (pg_dump --create or pg_dumpall); dump the one database without --create and restore that into this conn
RESUME_CONFLICT8… does not match the source after the copy (sha256 …, the source …); it was left as it iscopy the whole file again without --continue (a download replaces a file here only with --overwrite): komando cp SRC DST
RESUME_UNSUPPORTED2… cannot be continued: this kind of storage (S3, Google Cloud Storage, Azure Blob, WebDAV) stores a file whole and cannot add to one; nothing was changedrun it again without --continue to copy the whole file: komando cp SRC DST
REVEAL_NEEDS_PERSON6--reveal needs the user's yesvalues stay [hidden] in a dry run; run it without --dry-run to ask the user in a window on their screen
REVEAL_NEEDS_TERMINAL6--reveal only works for a person at a terminalask a person to run komando secret show … --reveal in a terminal; to use the secret in a command, reference it (secret:…) instead
REVISION_NOT_FOUND3no earlier revision to go back tosee the revisions with komando cluster history TARGET TYPE/NAME
REVOKE_FAILED5the key could not be removed from a server's authorized_keysrun it again; to look at the file: komando fs cat SERVER ~/.ssh/authorized_keys
ROLLOUT_FAILED5pods stuck for …see why with komando cluster describe TARGET …; komando cluster rollback goes back
ROLLOUT_TIMEOUT7not rolled out after … (replicas …)…see the tasks with komando cluster describe … service/…
RULE_NOT_FOUND3no custom deny rule named …see the custom rules and their ids with komando policy list
SAFETY_SETTING6… weakens komando's safety checkscheck with --dry-run, ask the user; once they agree, run it again with --yes (komando then asks them in a window on their screen)
SEALED_FILE_INVALID2… is damaged or cut short: komando cannot read it as a sealed file; nothing was importedcopy the file again whole, or make it again with komando export --sealed --to FILE
SEALED_FILE_UNSUPPORTED2… is sealed for the iPhone app: only the phone whose key it was sealed to opens it; nothing was importedon the old computer, make a file for this one with komando export --sealed --to FILE
SECRET_DESTINATION6an AI agent asked to send …; that needs a person's yescheck with --dry-run, ask the user; once they agree, run it again with --yes (komando then asks them in a window on their screen)
SECRET_EXISTS8secret … is used by … already; --ask-password and --ask-psk do not replace ituse it with --… …, or store this one under another name: komando secret set NAME, then --… secret:NAME
SECRET_IN_ARGS2refusing a secret value on the command line: it would be saved in shell historyrun komando secret set … and type it (hidden), use --from-env VAR, or pipe it in (stdin)
SECRET_IN_USE8secret … is used by …point them at another secret first, for example …, or rename it with komando secret rename
SECRET_MISMATCH1the value is not the one stored in …if the stored one is wrong, store the right one with komando secret set …
SECRET_NOT_FOUND3no secret named …see them with komando secret list
SECRET_UNRESOLVED3registry CA …: …store the CA certificate with komando secret set NAME < ca.crt
SECURITY_UNSUPPORTED3no package manager komando knows on …komando knows apt, dnf, yum, zypper, apk and pacman; see what the server has with komando facts TARGET
SELF_NOT_FOUND1cannot find the komando program that is running: …run komando by its full path, for example /usr/local/bin/komando update
SENSITIVE_FILE6… is …, not …use a database of your own; komando's data is read only through komando's commands (komando list, komando secret list)
SESSION_NOT_FOUND3no session …list sessions with komando db activity CONN --all
SFTP_UNAVAILABLE4sftp: …enable the sftp subsystem in sshd_config
SHARED_FOLDER_CONFLICT8… can be changed by …, not only by root and the SSH user: as root, komando does not write … there (that user could swap it for a link while root writes)write it as … instead, for example komando exec TARGET --sudo-user … --stdin-file FILE -- sh -c 'cat > "$0"' …
SHELL_IDLE_TIMEOUT7the shell on … ended after … with no input and no outputconnect again (ssh -t HOST komando shell …); run long work as a job: komando job start … -- COMMAND
SIZE_CONFLICT8--size said … bytes, and stdin sent …; nothing was put into placesend the whole file again: komando upload TARGET - DEST --size N
SKIPPED1skipped: another server failed first, and --fail-fast is onrun without --fail-fast to reach every server
SOURCE_BUILD8this komando was built from source (version …), so update does not replace itbuild it again (git pull, then make build), or install a release with the install line: https://github.com/sgnd/komando#install
SOURCE_EMPTY3… has no files to sync, so --delete would remove everything in …; nothing was deletedcheck the source path
SQL_HIDDEN_CODE2-- is followed by a non-ASCII byteput a space after -- to start a comment: whether this one starts a comment depends on the server's character set
SQL_SAFE_SETTINGS_REQUIRED6this user's queries are read as …, not ClickHouse SQLkomando checks ClickHouse SQL; use a user whose settings profile keeps dialect = 'clickhouse' (komando conn edit NAME --url URL)
SQL_STRING_RULES2changing … is not allowed in komando dbleave this setting alone: komando checks SQL with the server's default string rules
SQL_TX_CHECK_REQUIRED6statement … (…) ended komando's transaction, so komando stopped (…)leave transactions to komando, and tell the user: what ran before this point may have been committed; look at the data with komando db query CONN -- SELECT ...
SQL_TX_CONTROL2… is not allowed in komando dbleave transactions to komando: without --write it runs a read-only transaction, with --write one transaction that --dry-run rolls back
SSH_AGENT_NEEDED2a key komando made is sealed in its store and never written to a file, so OpenSSH gets it from a running ssh-agent, and none was found (SSH_AUTH_SOCK)start one with eval "$(ssh-agent)" and run this again, or use komando shell SERVER, which logs in with the key itself
SSH_AGENT_REFUSED1the ssh-agent did not take key …: …check the ssh-agent, or use komando shell SERVER
SSH_GATE_NETWORK_REQUIRED6komando … is refused for a read key without network: …this key was added with --read-only and without --network: it runs only reads that stay on the servers and conns in your list; a person adds a key for this with komando ssh-gate line --read-only --network, or runs it on the komando computer
SSH_GATE_PATH1komando cannot tell its own full path, which the line needsrun komando by its full path, for example /usr/local/bin/komando ssh-gate line ...
SSH_GATE_READ_ONLY6komando … is refused for a read-only key: …this key was added with --read-only and runs only commands that read; use a key that may change things, or the komando computer itself
SSH_GATE_REFUSED6komando … needs a person at a terminal on this computer; a key cannot run ita person runs it in a terminal on the komando computer itself
SSH_GATE_SYNTAX2an ssh-gate key sent more than one komando command, or a character a shell would expand (the message names it)send one komando command; put an argument with ; | & $ or backquotes in single quotes ($ and backquotes are refused even in double quotes)
SSH_KEY_NOT_FOUND3no SSH key named …see them with komando key list
SSM_FAILED4AWS Session Manager could not open a session to the instancecheck the instance ID, its SSM agent and your AWS login (komando login aws)
STATE_CORRUPT1nothing was changed: …the key does not open every record: restore the komando folder from a backup; if komando then calls it an older copy, run komando doctor --accept-old-copy
STORAGE_AUTH4an azblob conn needs the storage account's key or a SAS tokenstore the account key or a SAS token with komando secret set NAME and pass --password-ref secret:NAME
STORAGE_CONNECT4komando could not reach the bucket or file serverrun komando test TARGET to check reachability
STORAGE_ERROR5the file is in useanother program has the file open; close it there and run it again
STORAGE_TLS4the storage server's TLS certificate does not verify: …if the server uses a self-signed certificate you trust, add ?tls=skip-verify to the conn URL
STORAGE_UNSUPPORTED2… is … storage, which has no file modeschmod works on SFTP conns; komando list kind:storage lists yours
STORE_BUSY8komando's store stayed busy for …, so the server's host key could not be checked: …another komando process is writing komando's store, or one is stuck (komando status lists what runs): wait for it to finish, then run it again
STORE_CONFLICT8nothing was done: … was replaced, given a new key or checked again while this command ran, and this command still held it as it wasrun the command again: komando opens the store again from the start; if it keeps happening, run komando doctor
STORE_KEY_CHANGED1…: …run it again: another komando changed the store's key while this one ran
STORE_NEWER1… was made by a newer komandoa newer komando made or changed this store; update this one: komando update
STORE_OLD_COPY6… …: servers, rules, secrets or pinned host keys may be oldif the komando folder was restored from a backup on purpose, a person runs komando doctor --accept-old-copy in their own terminal; otherwise find out who put an old copy back or changed the keychain
STREAM_EXISTS8stream … already existspick another name, or see it with komando queue describe CONN …
STREAM_NOT_FOUND3no stream named …list streams with komando queue list CONN
SUBSCRIPTION_EXISTS8subscription … already existspick another name, or see it with komando queue describe CONN subscriptions/…
SUBSCRIPTION_NOT_FOUND3no subscription named …list subscriptions with komando queue groups CONN; komando queue describe CONN TOPIC shows a topic's own
SVC_FAILED5systemctl daemon-reload failed (…)read the error output (stderr) for systemd's reason; a unit file with a mistake is named there
SWARM_ERROR5Docker Swarm answered with an errorcheck that Docker runs there: komando exec TARGET --read-only -- docker info
SWARM_OBJECT_NOT_FOUND3no … named …list what exists with komando cluster list TARGET …s
SWARM_SERVICE_NOT_FOUND3no service named …list services with komando cluster list TARGET services
SWARM_STACK_NOT_FOUND3no stack named …list the stacks with komando cluster list … stacks
SYMLINK_LOOP8…: too many levels of symbolic linksa link points back to itself; look at it with komando fs stat SERVER PATH
TABLE_NOT_FOUND3no table named …run komando db schema CONN to list tables
TARGET_EMPTY3target … matched nothingrun komando list to see servers, conns, groups and tags
TARGET_NOT_FOUND3no VPN named …see them with komando vpn list
TIMEOUT7redis did not answer in timeraise --timeout
TLS_HANDSHAKE_FAILED4TLS handshake with … failed: …the server ended the TLS handshake; run it again, and check that … is the TLS port (not plain HTTP)
TOOL_FAILED5kubectl exited …read the error output (stderr) for the reason; komando cluster events TARGET --warnings shows the cluster's recent problems
TOOL_MISSING3… is not a program on this computer: …check the name, or give the program's path
TOOL_TOO_OLD5… failed on … (exit …): …pg_dump … is older than the server (…): install postgresql-client-… where the tool runs, or name a server that has it with --run-on HOST
TOO_MANY8… objects match, more than --max-remove …narrow --prefix or --older-than, or raise --max-remove above … after checking the list
TOO_MANY_TAGS2… has more than … tagskomando prunes a repository of at most 10000 tags, and --match does not change that (every tag is read, so a kept tag protects its image): delete some first with komando registry rm CONN IMAGE
TOPIC_EXISTS8topic … already existspick another name, or see it with komando queue describe CONN …
TOPIC_NOT_FOUND3no topic named …list topics with komando queue list CONN
TUNNEL_FAILED4the server refused the port forwarding (AllowTcpForwarding, address)check that the server allows forwarding (AllowTcpForwarding in sshd_config) and that the address is right
TUNNEL_NOT_FOUND3no tunnel named …see them with komando tunnel list
TUNNEL_TIMEOUT7tunnel did not become ready…check that … answers: komando test …; a person reads the whole log in …
UNEXPECTED_CHANGE8… changed after patching: …check the server (komando docker ps …, komando svc list … --failed); servers after it were not patched: run it again with --keep-going to patch them anyway
UNEXPECTED_STATUS5HTTP …, expected …check the URL and the service behind it
UNIT_NOT_ACTIVE5not active after …s: …read why with komando logs TARGET --unit UNIT -n 50
UNIT_NOT_FOUND3no unit named …check the name with komando svc list TARGET
UNKNOWN_SETTING2komando has no setting named …see the settings with komando config show: …
UNKNOWN_VAR2recipe … has no blank named … (…)see the recipe with komando recipe list
UNSAFE_BACKUP6line … is a client command, not SQL: …the file contains a client command that could run programs or read files where the restore runs; remove that line if the file is not from a trusted dump
UNSAFE_PATH5path … leads outside …; nothing outside the folder was writtenrename the file so it has no .. in its path
UNSUPPORTED_PLATFORM8there is no komando release for …build komando from source: https://github.com/sgnd/komando#install
UPLOAD_NOT_RENAMED5could not rename the upload into place: …; the old file was removedthe new content is on the server as …: rename it by hand
URL_HAS_PASSWORD2a conn URL holds no passwordremove the password from the URL, store it with komando secret set NAME, then pass --password-ref secret:NAME
USAGE2--… and --unset … contradict each otherpass one of them
USER_NOT_FOUND3no user named …list the accounts with komando user list TARGET --all
VALIDATION_FAILED8--validate rejected the new file: …; the file was not changedfix the content and run it again
VAULT_CHANGED8…; nothing was changedrun it again
VAULT_DECRYPT1…; nothing was lostKOMANDO_VAULT_PASS is not the passphrase this vault was saved with: set the right one (komando doctor says which vault mode is in use)
VAULT_KEY1password for … (…): …restore ~/.komando/store.key from a backup, or move the key back with komando secret keychain on the computer whose keychain holds it; komando doctor checks the vault
VAULT_LOCKED1password for … (…): …the person who set the passphrase exports KOMANDO_VAULT_PASS in the shell that runs komando (an AI agent asks the user; it never sees the passphrase)
VERSION_NOT_FOUND3komando … has no download for …pick another version from …/releases
VIA_CYCLE2server … is in its own --via path--via names the servers (or VPN) in front of this one, not the server itself
VIA_NOT_FOUND3no server or VPN named …--via takes server and VPN names; see them with komando list
VIA_ORDER2…: the --via path reaches VPN … after another stepa path can use one VPN, as its first step
VPN_CLIENT_MISSING3… VPNs need the … program, which is not installedinstall the program the message names (macOS: brew install NAME; Linux: its package)
VPN_CONFIG2…: …check the file is a WireGuard (wg-quick) config
VPN_DOWN4VPN … did not start: …the message ends with its log; komando vpn test … tries again, and a person reads the whole log in …
VPN_EXISTS8… … already existsuse komando … edit or pass --overwrite to replace it
VPN_IN_USE8VPN … is on the --via path of …change their --via first: komando host edit TARGET --via OTHER
VPN_KEY_IN_USE8VPN …: its WireGuard key is in use by komando process … (VPN …, komando home …)one WireGuard key runs in one session at a time: stop the other with …, or give this VPN a key of its own with komando vpn add … wireguard --config FILE
VPN_LOGIN_REQUIRED4VPN … is not connected and needs a person to log inask a person to run komando vpn up … (it needs their login); then run it again
VPN_NOT_FOR_OPENSSH2VPN … (…) runs inside komando; OpenSSH cannot use ituse komando shell SERVER (it opens the VPN itself), or connect the VPN on this computer and leave it out of --via
VPN_STOP_FAILED1could not disconnect …: …run komando vpn down … again; if it still fails, end process … yourself
WAIT_TIMEOUT7job … still running after …it is still running: komando job wait … waits again, komando job logs … --limit 50 shows its output so far
WEAK_PASSPHRASE2…; nothing was changedrun it again with another passphrase
WINRM_ERROR5…: …read the message; winrm quickconfig on the server sets WinRM up, and the user needs the right to use it (an administrator, or the Remote Management Users group)
WINRM_INSECURE2Basic login over plain HTTP sends the password unencrypteduse HTTPS (leave tls=off out), or NTLM (leave auth=basic out), which never sends the password
WINRM_NOT_HTTPS4…: …the server speaks plain HTTP there: use port 5986 for HTTPS, or ?tls=off if it truly has no HTTPS (commands then travel unencrypted)
WINRM_TLS4…: the WinRM server's certificate cannot be trusted: …if the server's certificate comes from your own CA, store it with komando secret set NAME < ca.crt and add ?ca=secret:NAME to its winrm:// address (komando host edit … --address winrm://...)
WRITE_FAILED1…; nothing was changedcheck that you may write to …
WRITE_REQUIRES_FLAG6… needs --writethis command may change data (or is not known to be a read); run it again with --write
WRONG_KIND2… is a … URL, not one for komando … addadd it with komando … add (or komando conn add)
WRONG_PASSPHRASE2that passphrase does not open the vault; nothing was changedrun it again and type the passphrase the vault has now

Source: docs/features/error-codes.md in sgnd/komando at commit b622784.