Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

The background process won't start

A command stops with daemonUnavailable, daemonTimeout, or daemonIoError, or hangs before it does anything. These errors come from the background process that devo starts to talk to your workspace. Their exit code is 3.

Most of the time you never see this process: the first command that needs your workspace starts it, the following ones reuse it, and it stops by itself after 60 minutes without use. See How Devolutions CLI works.

Why it happens

  • A setting tells devo not to start the process: --daemon require, --daemon never, or --no-daemon-autostart, or the matching environment variables.

  • The process is running, but for another configuration folder.

  • The process stopped answering, or a previous one didn't shut down cleanly.

  • An environment variable that controls the process has a value it can't read.

  • The local profile's configuration is protected and must be unlocked first.

Fix it

1

Check the process

devo daemon status

Daemon running with its process number means a background process is up. When several are registered, this is the preferred one, which can serve another configuration folder than yours: devo doctor then says so in a Hint: line. Daemon not running means none was found. For more detail, devo daemon sessions --details lists the registered background processes, with the configuration folder each one serves.

2

Start or repair it

devo daemon ensure

It starts the process if none is running, repairs a registration that no longer answers, and shows the status. If the process still misbehaves, restart it:

devo daemon restart --wait

--wait waits for the old process to stop before starting the new one. To stop it without restarting, use devo daemon stop --wait. The next command that needs it starts it again.

3

Check the settings that keep it off

MESSAGE
WHAT TO DO

"The Devolutions CLI daemon is not running, and --daemon require (or DEVO_DAEMON_MODE=require) prevents starting one."

require only uses a process that's already running. Run devo daemon ensure first, or switch back to --daemon auto.

"… --no-daemon-autostart (or DEVO_DAEMON_AUTOSTART) prevents starting one."

Remove --no-daemon-autostart, or unset DEVO_DAEMON_AUTOSTART (the values 0, false, and no turn the automatic start off). Or run devo daemon ensure first.

"Daemon-backed commands are disabled by --daemon never."

The command needs the process. Use --daemon auto or require, and check that DEVO_DAEMON_MODE isn't set to never.

"Unsupported DEVO_DAEMON_MODE '<value>'. Use auto, require, or never."

Fix or unset DEVO_DAEMON_MODE.

"DEVO_DAEMON_IDLE_TIMEOUT must be a duration like 30s, 15m, 1h, or 00:30:00."

Fix or unset DEVO_DAEMON_IDLE_TIMEOUT.

4

Check the configuration folder

Each configuration folder has its own background process, so two terminals that use different folders don't share one. If a message says "the running daemon serves another root", the process that's running is for another folder. In the default --daemon auto mode, devo starts one for your folder by itself. With require or --no-daemon-autostart, run devo daemon ensure from the terminal that needs it.

devo config path prints the configuration folder devo uses, without starting anything.

5

Check the workspace runtime

When the process runs but commands on a local profile fail, check what it loaded:

devo runtime status

It shows whether the runtime is loaded, the profile folder and workspace in use, and the reason when something is blocked. After you change the profile outside Devolutions CLI, for example in Devolutions Remote Desktop Manager, reload it:

devo runtime reload

If the local profile's configuration is protected by an application password, unlock it for the running process. The password is read from an environment variable or a file:

devo config unlock --password-env <VARIABLE_NAME> --yes

To see when devo starts the process, add --verbose to a command: the notice Starting Devolutions CLI daemon... goes to the standard error stream, even with --output json.

Still failing?

Run devo doctor: it checks the process without starting one, and its Hint: lines suggest what to do next. Then collect diagnostics and contact Devolutions support.

Last updated

Was this helpful?