Edge configurations not extracting and there are no logs
Before you start please confirm the following.
- Yes, I've searched similar issues on GitHub.
- Yes, I've checked whether this issue is covered in the Portainer documentation.
Problem Description
The Portainer Edge Agent receives edge configurations from the server (directories are created at the configured extraction path on the host) but the files are never extracted into those directories. There is no log output from the agent indicating any attempt to extract, fail, or skip the configuration files, making it impossible to diagnose the root cause.
I can list a few problems:
- It's not clear when or if the configuration is downloaded, directories are created, and files are extracted
- There are no logs indicating whether or not it went well
Expected Behavior
When an edge configuration is assigned to an edge group and the agent is associated with that group, the agent should:
- Download the configuration files from the Portainer server
- Extract them to the configured host path (via the
/hostbind mount) - Log the outcome - success or failure
Actual Behavior
The target directories are created on the host (confirming the agent is aware of the configuration and has write access via the /host bind mount), but the directories remain empty. docker logs portainer_edge_agent contains no entries related to edge configuration download, extraction, or any error. There is no indication of what went wrong.
Steps to Reproduce
- Start the Portainer Edge Agent with a bind mount of
/to/hostand a named volume for/dataas per the documentation - In Portainer, create an Edge Configuration with files and a target extraction path, and assign it to an edge group. Set the directory to something like
/srv/test-configuration(directories do not exist already on host) - Associate the edge device with that edge group
- Wait for the agent to poll and receive the configuration
- Observe that the target directory is created on the host but is empty
- Run
docker logs portainer_edge_agent- no logs related to edge configurations are present
Portainer logs or screenshots
No response
Portainer version
2.40.0
Portainer Edition
Business Edition (BE/EE) with 5NF / 3NF license
Platform and Version
Docker 28.4.0
OS and Architecture
Ubuntu Server 25.10
Browser
No response
What command did you use to deploy Portainer?
docker run -d \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/lib/docker/volumes:/var/lib/docker/volumes \
-v /:/host \
-v portainer_agent_data:/data \
--restart always \
-e EDGE=1 \
-e EDGE_ID=xxxx\
-e EDGE_KEY=xxxx\
-e EDGE_INSECURE_POLL=1 \
-e PORTAINER_TAGS=3 \
--name portainer_edge_agent \
portainer/agent:2.40.0Additional Information
Some logging would be really helpful, together with the option to force push configuration files. Being able to see the status per edge device would be nice.
Source: portainer/portainer