Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service 'clickhouse' failed to build : base name (${BASE_IMAGE}) should not be blank #3010

Closed
jerome2710 opened this issue May 2, 2024 · 4 comments

Comments

@jerome2710
Copy link

Self-Hosted Version

24.4.2

CPU Architecture

x86_64

Docker Version

25.0.2

Docker Compose Version

2.24.5

Steps to Reproduce

I created a fresh install of Sentry with the current latest version of 24.4.2

Expected Result

After successfully running ./install.sh and running docker-compose up -d, I would expect the services to start.

Actual Result

Some service called 'clickhouse' failed to build:

$ docker-compose up -d --force-recreate
Building clickhouse
Step 1/2 : ARG BASE_IMAGE
Step 2/2 : FROM ${BASE_IMAGE}
ERROR: Service 'clickhouse' failed to build : base name (${BASE_IMAGE}) should not be blank

Event ID

No response

@joeangry
Copy link

joeangry commented May 3, 2024

This issues had a solution that fixed it for me. You should see the breaking changes section for the latest version.
#2991 (comment)

@hubertdeng123
Copy link
Member

Did you manage to complete the install script successfully? That's telling me that your clickhouse service hasn't been built properly

@jerome2710
Copy link
Author

I agree with @inoa-jboliveira in #2991 (comment), neither did I see this notice. The installation is cumbersome with dozens of Docker containers. It is always a hassle to bring Sentry back up once it fails or after an update.

My setup is thankfully working again. I updated the sentry.conf.py and executed the exports from detect-platform.sh myself: https://github.com/getsentry/self-hosted/blob/24.4.1/install/detect-platform.sh#L22. After running docker-compose fetch/pull/build/force-recreate everything, the application is now up.

I would greatly encourage and appreciate if the setup was not so complex.

@hubertdeng123
Copy link
Member

Thanks for the feedback. I am going to close this issue since it looks to be resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Archived in project
Archived in project
Development

No branches or pull requests

3 participants