#13148·portainer

Edge configurations not extracting and there are no logs

Author: mortenmoulderCreated Apr 20, 2026Updated Sep 21, 2026
Labelskind/bugbug/need-confirmation1-product-review-requiredbot/kind-classification-complete

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:

  1. It's not clear when or if the configuration is downloaded, directories are created, and files are extracted
  2. 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:

  1. Download the configuration files from the Portainer server
  2. Extract them to the configured host path (via the /host bind mount)
  3. 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

  1. Start the Portainer Edge Agent with a bind mount of / to /host and a named volume for /data as per the documentation
  2. 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)
  3. Associate the edge device with that edge group
  4. Wait for the agent to poll and receive the configuration
  5. Observe that the target directory is created on the host but is empty
  6. 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?

bash
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.0

Additional 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.