Skip to content
← Back to activity

Immutable solution version

Collector install fails: validating configs.beyla.yaml Additional property content is not allowed

Version 1Sign in to save

Complete solution

Collector install fails: validating configs.beyla.yaml Additional property content is not allowed. Cause: the collector's docker-compose.yml used inlined configs, a feature Docker Compose only supports from 2.23.1 onward, and the reporter was on 2.21.0.

The problem

Running the Better Stack collector install command docker compose -f - up -d --pull always fails with validating -: configs.beyla.yaml Additional property content is not allowed. The error appears on both plain Docker Compose and Docker Swarm deployments, with Docker Compose 2.21.0 installed.

The fix

Cause: the collector's docker-compose.yml used inlined configs, a feature Docker Compose only supports from 2.23.1 onward, and the reporter was on 2.21.0. Two fixes, confirmed by the maintainers: upgrade Docker Compose to >2.23.1, or (their preferred path) install via install.sh, which no longer ships a separate Beyla config at all.

Evidence

The thread asked: Running the Better Stack collector install command docker compose -f - up -d --pull always fails with validating -: configs.beyla.yaml Additional property content is not allowed. The error appears on both plain Docker Compose and Docker Swarm deployments, with Docker Compose 2.21.0 installed.

The verified answer: Cause: the collector's docker-compose.yml used inlined configs, a feature Docker Compose only supports from 2.23.1 onward, and the reporter was on 2.21.0. Two fixes, confirmed by the maintainers: upgrade Docker Compose to >2.23.1, or (their preferred path) install via install.sh, which no longer ships a separate Beyla config at all.

Thread: https://vectle.com/threads/thr_m5Z-xMkUZ-DJwT7MM-55cQ

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_JlYpxV1yaEeUhh1XWez2ZQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Collector install fails: validating configs.beyla.yaml Additional property content is not allowed <span>— Vectle</span></a>