Skip to content

docker setup fails: target ente-web: failed to solve [...] did not complete successfully: exit code: 1Β #9720

@audricd

Description

@audricd

Hello,

I am following step by step this guide:
https://ente.io/help/self-hosting/installation/compose

Repro step:

  1. Set up new debian 13 LXC on proxmox
  2. give it these newlines config for docker to work
lxc.cap.drop: 
lxc.apparmor.profile: unconfined
lxc.mount.auto: proc:rw sys:rw
lxc.mount.entry: /proc/sys/net/ipv4/ip_unprivileged_port_start proc/sys/net/ipv4/ip_unprivileged_port_start none bind,create=file,optional 0 0
  1. set up docker
  2. git clone https://github.com/ente-io/ente
  3. cd ente/server/config
  4. made the following modifications:
  • in env: set up password for db and credentials for minio
  • in compose,yaml, removed volume for minio and set up a path (s3 data i want on another drive, a mountpoint of the lxc)
  • in musuem, used ${VARIABLES} for sensitive data

and nothing else

  1. docker compose up --build

relevant output:

=> => sha256:bc1da058f299723f8258c5a82dd007d1dd72e275087b726d5e1be5ef6198f286 3.64MB / 3.64MB                                        0.5s
 => => extracting sha256:bc1da058f299723f8258c5a82dd007d1dd72e275087b726d5e1be5ef6198f286                                             0.5s
 => [museum builder 2/8] RUN apk add --no-cache gcc musl-dev git build-base pkgconfig                                                17.1s
 => [ente-web stage-1  2/11] WORKDIR /out                                                                                             1.2s
 => [museum builder 3/8] WORKDIR /etc/ente/                                                                                           1.5s
 => [museum builder 4/8] COPY go.mod .                                                                                                2.4s
 => [museum builder 5/8] COPY go.sum .                                                                                                1.3s
 => [museum builder 6/8] RUN go mod download                                                                                         54.9s
 => [museum builder 7/8] COPY . .                                                                                                     3.2s
 => ERROR [ente-web builder  2/14] RUN apt-get update && apt-get install -y curl build-essential && rm -rf /var/lib/apt/lists/* &&   62.1s
 => CANCELED [museum builder 8/8] RUN --mount=type=cache,target=/root/.cache/go-build   go build -o museum cmd/museum/main.go        63.0s
------
 > [ente-web builder  2/14] RUN apt-get update && apt-get install -y curl build-essential && rm -rf /var/lib/apt/lists/* &&     curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --target wasm32-unknown-unknown:
1.724 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
1.883 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
1.883 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
2.650 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8792 kB]
2.772 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
2.809 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [294 kB]
3.874 Fetched 9348 kB in 2s (4256 kB/s)
3.874 Reading package lists...
4.739 Reading package lists...
5.621 Building dependency tree...
5.839 Reading state information...
6.315 curl is already the newest version (7.88.1-10+deb12u14).
6.315 The following NEW packages will be installed:
6.318   build-essential
6.358 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
6.358 Need to get 7704 B of archives.
6.358 After this operation, 20.5 kB of additional disk space will be used.
6.358 Get:1 http://deb.debian.org/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B]
7.008 debconf: delaying package configuration, since apt-utils is not installed
7.157 Fetched 7704 B in 0s (328 kB/s)
7.469 Selecting previously unselected package build-essential.
(Reading database ... 23258 files and directories currently installed.)
8.083 Preparing to unpack .../build-essential_12.9_amd64.deb ...
8.325 Unpacking build-essential (12.9) ...
8.726 Setting up build-essential (12.9) ...
9.463 info: downloading installer
10.22 warn: It looks like you have an existing rustup settings file at:
10.22 warn: /root/.rustup/settings.toml
10.22 warn: Rustup will install the default toolchain as specified in the settings file,
10.22 warn: instead of the one inferred from the default host triple.
10.49 info: profile set to default
10.49 info: default host triple is x86_64-unknown-linux-gnu
10.49 info: syncing channel updates for stable-x86_64-unknown-linux-gnu
11.00 info: latest update on 2026-03-05 for version 1.94.0 (4a4ef493e 2026-03-02)
[+] up 30/32downloading 7 components
 _ Image alpine/socat       Pulled                                                                                                   15.7s
 _ Image postgres:15-trixie Pulled                                                                                                   38.3s
 _ Image minio/minio        Pulled                                                                                                   24.2s
 _ Image config-ente-web    Building                                                                                                 187.6s
 _ Image config-museum      Building                                                                                                 187.6s
Dockerfile:6

--------------------

   5 |     # Install Rust for building ente-wasm

   6 | >>> RUN apt-get update && apt-get install -y curl build-essential && rm -rf /var/lib/apt/lists/* && \

   7 | >>>     curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --target wasm32-unknown-unknown

   8 |     ENV PATH="/root/.cargo/bin:${PATH}"

--------------------

target ente-web: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y curl build-essential && rm -rf /var/lib/apt/lists/* &&     curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --target wasm32-unknown-unknown" did not complete successfully: exit code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions