Skip to content

chown: invalid user: 'vroom:vroom' #3851

@LvckyAPI

Description

@LvckyAPI

Self-Hosted Version

25.7.0

CPU Architecture

amd64

Docker Version

Docker version 28.3.2, build 578ccf6

Docker Compose Version

Docker Compose version v2.38.2

Machine Specification

  • My system meets the minimum system requirements of Sentry

Steps to Reproduce

upgrade from 25.6.2 to 25.7.0 and run ./install.sh --skip-user-creation --no-report-self-hosted-issues

Expected Result

It starts successfully

Actual Result

#3 [internal] load metadata for ghcr.io/getsentry/sentry:25.7.0
#3 DONE 0.0s

#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s

#5 [internal] load build context
#5 DONE 0.0s

#6 [1/4] FROM ghcr.io/getsentry/sentry:25.7.0
#6 DONE 0.0s

#5 [internal] load build context
#5 transferring context: 289B done
#5 DONE 0.0s

#7 [2/4] COPY . /usr/src/sentry
#7 CACHED

#8 [3/4] RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then     /usr/src/sentry/enhance-image.sh; fi
#8 CACHED

#9 [4/4] RUN if [ -s /usr/src/sentry/requirements.txt ]; then     echo "sentry/requirements.txt is deprecated, use sentry/enhance-image.sh - see https://develop.sentry.dev/self-hosted/#enhance-sentry-image";     pip install -r /usr/src/sentry/requirements.txt; fi
#9 CACHED

#10 exporting to image
#10 exporting layers done
#10 writing image sha256:bbec5fd66adac54848c442a1526095e2c2e6a5469c86507066cad1af9614005e done
#10 naming to docker.io/library/sentry-self-hosted-local done
#10 DONE 0.0s

#11 resolving provenance for metadata file
#11 DONE 0.0s
 subscription-consumer-eap-items  Built
#1 [internal] load local bake definitions
#1 reading from stdin 1.06kB done
#1 DONE 0.0s

#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 462B done
#2 WARN: InvalidDefaultArgInFrom: Default value for ARG ${SENTRY_IMAGE} results in empty or invalid base image name (line 2)
#2 DONE 0.0s

#3 [internal] load metadata for ghcr.io/getsentry/sentry:25.7.0
#3 DONE 0.0s

#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s

#5 [internal] load build context
#5 DONE 0.0s

#6 [1/4] FROM ghcr.io/getsentry/sentry:25.7.0
#6 DONE 0.0s

#5 [internal] load build context
#5 transferring context: 289B done
#5 DONE 0.0s

#7 [2/4] COPY . /usr/src/sentry
#7 CACHED

#8 [3/4] RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then     /usr/src/sentry/enhance-image.sh; fi
#8 CACHED

#9 [4/4] RUN if [ -s /usr/src/sentry/requirements.txt ]; then     echo "sentry/requirements.txt is deprecated, use sentry/enhance-image.sh - see https://develop.sentry.dev/self-hosted/#enhance-sentry-image";     pip install -r /usr/src/sentry/requirements.txt; fi
#9 CACHED

#10 exporting to image
#10 exporting layers done
#10 writing image sha256:bbec5fd66adac54848c442a1526095e2c2e6a5469c86507066cad1af9614005e done
#10 naming to docker.io/library/sentry-self-hosted-local done
#10 DONE 0.0s

#11 resolving provenance for metadata file
#11 DONE 0.0s
 uptime-results  Built
#1 [internal] load local bake definitions
#1 reading from stdin 548B done
#1 DONE 0.0s

#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 469B done
#2 WARN: InvalidDefaultArgInFrom: Default value for ARG ${BASE_IMAGE} results in empty or invalid base image name (line 2)
#2 DONE 0.0s

#3 [internal] load metadata for ghcr.io/getsentry/taskbroker:25.7.0
#3 DONE 0.0s

#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s

#5 [internal] load build context
#5 transferring context: 35B done
#5 DONE 0.0s

#6 [1/5] FROM ghcr.io/getsentry/taskbroker:25.7.0
#6 DONE 0.1s

#7 [2/5] RUN if [ -n "${http_proxy}" ]; then echo "Acquire::http::proxy "${http_proxy}";" >> /etc/apt/apt.conf; fi
#7 DONE 0.2s

#8 [3/5] RUN if [ -n "${https_proxy}" ]; then echo "Acquire::https::proxy "${https_proxy}";" >> /etc/apt/apt.conf; fi
#8 DONE 0.3s

#9 [4/5] RUN apt-get update && apt-get install -y --no-install-recommends cron &&     rm -r /var/lib/apt/lists/*
#9 0.415 Hit:1 http://deb.debian.org/debian bookworm InRelease
#9 0.415 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
#9 0.417 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
#9 0.634 Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [19.6 kB]
#9 0.635 Ign:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
#9 0.641 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6916 B]
#9 0.712 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [272 kB]
#9 0.785 Fetched 402 kB in 0s (999 kB/s)
#9 0.785 Reading package lists...
#9 1.378 Reading package lists...
#9 1.970 Building dependency tree...
#9 2.138 Reading state information...
#9 2.313 The following additional packages will be installed:
#9 2.313   cron-daemon-common sensible-utils
#9 2.314 Suggested packages:
#9 2.314   anacron logrotate checksecurity
#9 2.314 Recommended packages:
#9 2.314   default-mta | mail-transport-agent
#9 2.356 The following NEW packages will be installed:
#9 2.357   cron cron-daemon-common sensible-utils
#9 2.389 0 upgraded, 3 newly installed, 0 to remove and 4 not upgraded.
#9 2.389 Need to get 105 kB of archives.
#9 2.389 After this operation, 325 kB of additional disk space will be used.
#9 2.389 Get:1 http://deb.debian.org/debian bookworm/main amd64 cron-daemon-common all 3.0pl1-162 [12.7 kB]
#9 2.397 Get:2 http://deb.debian.org/debian bookworm/main amd64 sensible-utils all 0.0.17+nmu1 [19.0 kB]
#9 2.398 Get:3 http://deb.debian.org/debian bookworm/main amd64 cron amd64 3.0pl1-162 [73.1 kB]
#9 2.641 debconf: delaying package configuration, since apt-utils is not installed
#9 2.693 Fetched 105 kB in 0s (2530 kB/s)
#9 2.728 Selecting previously unselected package cron-daemon-common.
(Reading database ... 11757 files and directories currently installed.)
#9 2.771 Preparing to unpack .../cron-daemon-common_3.0pl1-162_all.deb ...
#9 2.775 Unpacking cron-daemon-common (3.0pl1-162) ...
#9 2.812 Selecting previously unselected package sensible-utils.
#9 2.814 Preparing to unpack .../sensible-utils_0.0.17+nmu1_all.deb ...
#9 2.817 Unpacking sensible-utils (0.0.17+nmu1) ...
#9 2.862 Setting up cron-daemon-common (3.0pl1-162) ...
#9 2.944 Adding group `crontab' (GID 101) ...
#9 2.967 Done.
#9 3.005 Selecting previously unselected package cron.
(Reading database ... 11802 files and directories currently installed.)
#9 3.016 Preparing to unpack .../cron_3.0pl1-162_amd64.deb ...
#9 3.020 Unpacking cron (3.0pl1-162) ...
#9 3.062 Setting up sensible-utils (0.0.17+nmu1) ...
#9 3.069 Setting up cron (3.0pl1-162) ...
#9 3.121 invoke-rc.d: could not determine current runlevel
#9 3.126 invoke-rc.d: policy-rc.d denied execution of start.
#9 DONE 3.4s

#10 [5/5] COPY entrypoint.sh /entrypoint.sh
#10 DONE 0.1s

#11 exporting to image
#11 exporting layers
#11 exporting layers 0.1s done
#11 writing image sha256:d70c9a116daa8f565dd4bee5a3220b6ecdb7c13bcca0c6faed328f43f5b6c323 done
#11 naming to docker.io/library/vroom-cleanup-self-hosted-local done
#11 DONE 0.1s

#12 resolving provenance for metadata file
#12 DONE 0.0s
 vroom-cleanup  Built
#1 [internal] load local bake definitions
#1 reading from stdin 571B done
#1 DONE 0.0s

#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 469B done
#2 WARN: InvalidDefaultArgInFrom: Default value for ARG ${BASE_IMAGE} results in empty or invalid base image name (line 2)
#2 DONE 0.0s

#3 [internal] load metadata for ghcr.io/getsentry/symbolicator:25.7.0
#3 DONE 0.0s

#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s

#5 [internal] load build context
#5 transferring context: 35B done
#5 DONE 0.0s

#6 [1/5] FROM ghcr.io/getsentry/symbolicator:25.7.0
#6 DONE 0.1s

#7 [2/5] RUN if [ -n "${http_proxy}" ]; then echo "Acquire::http::proxy "${http_proxy}";" >> /etc/apt/apt.conf; fi
#7 DONE 0.3s

#8 [3/5] RUN if [ -n "${https_proxy}" ]; then echo "Acquire::https::proxy "${https_proxy}";" >> /etc/apt/apt.conf; fi
#8 DONE 0.4s

#9 [4/5] RUN apt-get update && apt-get install -y --no-install-recommends cron &&     rm -r /var/lib/apt/lists/*
#9 0.355 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
#9 0.378 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
#9 0.385 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
#9 0.488 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8793 kB]
#9 0.598 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6916 B]
#9 0.689 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [272 kB]
#9 1.487 Fetched 9327 kB in 1s (8108 kB/s)
#9 1.487 Reading package lists...
#9 2.079 Reading package lists...
#9 2.683 Building dependency tree...
#9 2.870 Reading state information...
#9 3.015 The following additional packages will be installed:
#9 3.015   cron-daemon-common sensible-utils
#9 3.016 Suggested packages:
#9 3.016   anacron logrotate checksecurity
#9 3.016 Recommended packages:
#9 3.016   default-mta | mail-transport-agent
#9 3.058 The following NEW packages will be installed:
#9 3.059   cron cron-daemon-common sensible-utils
#9 3.091 0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
#9 3.091 Need to get 105 kB of archives.
#9 3.091 After this operation, 325 kB of additional disk space will be used.
#9 3.091 Get:1 http://deb.debian.org/debian bookworm/main amd64 cron-daemon-common all 3.0pl1-162 [12.7 kB]
#9 3.101 Get:2 http://deb.debian.org/debian bookworm/main amd64 sensible-utils all 0.0.17+nmu1 [19.0 kB]
#9 3.103 Get:3 http://deb.debian.org/debian bookworm/main amd64 cron amd64 3.0pl1-162 [73.1 kB]
#9 3.249 debconf: delaying package configuration, since apt-utils is not installed
#9 3.313 Fetched 105 kB in 0s (2247 kB/s)
#9 3.335 Selecting previously unselected package cron-daemon-common.
(Reading database ... 6728 files and directories currently installed.)
#9 3.345 Preparing to unpack .../cron-daemon-common_3.0pl1-162_all.deb ...
#9 3.348 Unpacking cron-daemon-common (3.0pl1-162) ...
#9 3.378 Selecting previously unselected package sensible-utils.
#9 3.380 Preparing to unpack .../sensible-utils_0.0.17+nmu1_all.deb ...
#9 3.383 Unpacking sensible-utils (0.0.17+nmu1) ...
#9 3.422 Setting up cron-daemon-common (3.0pl1-162) ...
#9 3.502 Adding group `crontab' (GID 101) ...
#9 3.522 Done.
#9 3.561 Selecting previously unselected package cron.
(Reading database ... 6773 files and directories currently installed.)
#9 3.570 Preparing to unpack .../cron_3.0pl1-162_amd64.deb ...
#9 3.575 Unpacking cron (3.0pl1-162) ...
#9 3.620 Setting up sensible-utils (0.0.17+nmu1) ...
#9 3.629 Setting up cron (3.0pl1-162) ...
#9 3.667 invoke-rc.d: could not determine current runlevel
#9 3.671 invoke-rc.d: policy-rc.d denied execution of start.
#9 DONE 3.9s

#10 [5/5] COPY entrypoint.sh /entrypoint.sh
#10 DONE 0.0s

#11 exporting to image
#11 exporting layers 0.0s done
#11 writing image sha256:bb38b8e3d1b31fae5002e29a479247ca4da7938f4eb8724c33242290f18b435e done
#11 naming to docker.io/library/symbolicator-cleanup-self-hosted-local done
#11 DONE 0.1s

#12 resolving provenance for metadata file
#12 DONE 0.0s
 symbolicator-cleanup  Built
#1 [internal] load local bake definitions
#1 reading from stdin 1.07kB done
#1 DONE 0.0s

#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 462B done
#2 WARN: InvalidDefaultArgInFrom: Default value for ARG ${SENTRY_IMAGE} results in empty or invalid base image name (line 2)
#2 DONE 0.0s

#3 [internal] load metadata for ghcr.io/getsentry/sentry:25.7.0
#3 DONE 0.0s

#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s

#5 [1/4] FROM ghcr.io/getsentry/sentry:25.7.0
#5 DONE 0.0s

#6 [internal] load build context
#6 transferring context: 289B done
#6 DONE 0.0s

#7 [2/4] COPY . /usr/src/sentry
#7 CACHED

#8 [3/4] RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then     /usr/src/sentry/enhance-image.sh; fi
#8 CACHED

#9 [4/4] RUN if [ -s /usr/src/sentry/requirements.txt ]; then     echo "sentry/requirements.txt is deprecated, use sentry/enhance-image.sh - see https://develop.sentry.dev/self-hosted/#enhance-sentry-image";     pip install -r /usr/src/sentry/requirements.txt; fi
#9 CACHED

#10 exporting to image
#10 exporting layers done
#10 writing image sha256:bbec5fd66adac54848c442a1526095e2c2e6a5469c86507066cad1af9614005e done
#10 naming to docker.io/library/sentry-self-hosted-local done
#10 DONE 0.0s

#11 resolving provenance for metadata file
#11 DONE 0.0s
 transactions-consumer  Built
#1 [internal] load local bake definitions
#1 reading from stdin 1.08kB done
#1 DONE 0.0s

#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 462B done
#2 WARN: InvalidDefaultArgInFrom: Default value for ARG ${SENTRY_IMAGE} results in empty or invalid base image name (line 2)
#2 DONE 0.0s

#3 [internal] load metadata for ghcr.io/getsentry/sentry:25.7.0
#3 DONE 0.0s

#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s

#5 [1/4] FROM ghcr.io/getsentry/sentry:25.7.0
#5 DONE 0.0s

#6 [internal] load build context
#6 transferring context: 289B done
#6 DONE 0.0s

#7 [2/4] COPY . /usr/src/sentry
#7 CACHED

#8 [3/4] RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then     /usr/src/sentry/enhance-image.sh; fi
#8 CACHED

#9 [4/4] RUN if [ -s /usr/src/sentry/requirements.txt ]; then     echo "sentry/requirements.txt is deprecated, use sentry/enhance-image.sh - see https://develop.sentry.dev/self-hosted/#enhance-sentry-image";     pip install -r /usr/src/sentry/requirements.txt; fi
#9 CACHED

#10 exporting to image
#10 exporting layers done
#10 writing image sha256:bbec5fd66adac54848c442a1526095e2c2e6a5469c86507066cad1af9614005e done
#10 naming to docker.io/library/sentry-self-hosted-local done
#10 DONE 0.0s

#11 resolving provenance for metadata file
#11 DONE 0.0s
 billing-metrics-consumer  Built
#1 [internal] load local bake definitions
#1 reading from stdin 1.06kB done
#1 DONE 0.0s

#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 462B done
#2 WARN: InvalidDefaultArgInFrom: Default value for ARG ${SENTRY_IMAGE} results in empty or invalid base image name (line 2)
#2 DONE 0.0s

#3 [internal] load metadata for ghcr.io/getsentry/sentry:25.7.0
#3 DONE 0.0s

#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s

#5 [1/4] FROM ghcr.io/getsentry/sentry:25.7.0
#5 DONE 0.0s

#6 [internal] load build context
#6 transferring context: 289B done
#6 DONE 0.0s

#7 [3/4] RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then     /usr/src/sentry/enhance-image.sh; fi
#7 CACHED

#8 [2/4] COPY . /usr/src/sentry
#8 CACHED

#9 [4/4] RUN if [ -s /usr/src/sentry/requirements.txt ]; then     echo "sentry/requirements.txt is deprecated, use sentry/enhance-image.sh - see https://develop.sentry.dev/self-hosted/#enhance-sentry-image";     pip install -r /usr/src/sentry/requirements.txt; fi
#9 CACHED

#10 exporting to image
#10 exporting layers done
#10 writing image sha256:bbec5fd66adac54848c442a1526095e2c2e6a5469c86507066cad1af9614005e done
#10 naming to docker.io/library/sentry-self-hosted-local done
#10 DONE 0.0s

#11 resolving provenance for metadata file
#11 DONE 0.0s
 ingest-profiles  Built

Docker images built.

▶ Bootstrapping and migrating Snuba ...
 Network muensmedia-sentry_default  Creating
 Network muensmedia-sentry_default  Created
 Container muensmedia-sentry-redis-1  Creating
 Container muensmedia-sentry-kafka-1  Creating
 Container muensmedia-sentry-clickhouse-1  Creating
 Container muensmedia-sentry-redis-1  Created
 Container muensmedia-sentry-kafka-1  Created
 Container muensmedia-sentry-clickhouse-1  Created
 Container muensmedia-sentry-kafka-1  Starting
 Container muensmedia-sentry-redis-1  Starting
 Container muensmedia-sentry-clickhouse-1  Starting
 Container muensmedia-sentry-redis-1  Started
 Container muensmedia-sentry-kafka-1  Started
 Container muensmedia-sentry-clickhouse-1  Started
2025-08-05 13:31:14,970 Initializing Snuba...
2025-08-05 13:31:20,436 Snuba initialization took 5.466970709000066s
2025-08-05 13:31:21,087 Initializing Snuba...
2025-08-05 13:31:26,314 Snuba initialization took 5.227503308999985s
2025-08-05 13:31:26,321 Attempting to connect to Kafka (attempt 0)...
2025-08-05 13:31:26,387 Connected to Kafka on attempt 0
2025-08-05 13:31:26,522 Creating Kafka topics...

▶ Ensuring proper PostgreSQL version ...

▶ Ensuring correct permissions on profiles directory ...
chown: invalid user: 'vroom:vroom'

Error in install/ensure-correct-permissions-profiles-dir.sh:7.
'$dcr --no-deps --entrypoint /bin/bash --user root vroom -c 'chown -R vroom:vroom /var/vroom/sentry-profiles && chmod -R o+rwx /var/vroom/sentry-profiles'' exited with status 1
-> ./install.sh:main:41
--> install/ensure-correct-permissions-profiles-dir.sh:source:7

Event ID

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions