Skip to content
Discussion options

You must be logged in to vote

The new agent is most likely exiting on startup because of ARCANE_AGENT_MODE=true.

In v3.1.1, Config.Validate() returns an error when ARCANE_AGENT_MODE (or AGENT_MODE) is set but ARCANE_AGENT is not (config.go):

direct agents were removed in v3; set ARCANE_AGENT=true and ARCANE_MANAGER_API_URL, then re-enroll from the manager

That check runs during bootstrap, so the container stops before it ever connects to the manager, and the environment stays pending. docker logs arcane-agent on the new host should show that message.

What worked for me in the v3 format (same as the snippet the manager generates):

services:
  arcane-agent:
    image: ghcr.io/getarcaneapp/agent:latest
    container_name…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nthskyradiated
Comment options

Answer selected by nthskyradiated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants