Skip to content

Download failed when using add-package #580

Closed

Description

@krystof018

What happened?

I was trying to install this module on my caddy instance and I was unable to do so, because of this error:
/# caddy add-package github.com/dunglas/frankenphp/caddy

2024/02/15 22:58:24.088 INFO    this executable will be replaced        {"path": "/usr/bin/caddy"}
2024/02/15 22:58:24.088 INFO    requesting build        {"os": "linux", "arch": "arm64", "packages": ["github.com/dunglas/frankenphp/caddy"]}
Error: download failed: download failed: HTTP 400: unable to fulfill download request (id=def3bbd7-c4c8-4461-83dc-187d6f1d44ed)

I tried to run this on multiple servers but with the same result.

Build Type

Docker (Debian Bookworm)

Worker Mode

Yes

Operating System

GNU/Linux

CPU Architecture

aarch64

Relevant log output

2024/02/15 22:58:24.088 INFO    this executable will be replaced        {"path": "/usr/bin/caddy"}
2024/02/15 22:58:24.088 INFO    requesting build        {"os": "linux", "arch": "arm64", "packages": ["github.com/dunglas/frankenphp/caddy"]}
Error: download failed: download failed: HTTP 400: unable to fulfill download request (id=def3bbd7-c4c8-4461-83dc-187d6f1d44ed)

Activity

  1. added
    bug
    on Feb 15, 2024
  2. dunglas commented on Feb 15, 2024

    @dunglas
    Member

    This command is part of Caddy (not FrankenPHP) and isn't supporting the FrankenPHP module because it relies on cgo, which isn't supporter by the Caddy API.

    We should disable this command (as well as the self-update command) in our builds, if possible.

    To install extra packages, you have to rely on xcaddy: https://frankenphp.dev/docs/docker/#how-to-install-more-caddy-modules

  3. added a commit that references this issue on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions