Skip to content

install/geoip.sh wrong docs #3953

@fliespl

Description

@fliespl

Self-Hosted Version

25.9.0

CPU Architecture

x86_64

Docker Version

newest

Docker Compose Version

newest

Machine Specification

  • My system meets the minimum system requirements of Sentry

Steps to Reproduce

Docs mention to run ./install/geoip.sh to manually update database. Yet, recent changes introducted dynamic variable "CONTAINER_ENGINE".

So currently, docs should mention something like that:
CONTAINER_ENGINE=docker bash ./install/geoip.sh

or CONTAINER_ENGINE should fallback to docker when executed in cli context (not during install)

Expected Result

Working update without env variable or updated docs.

root@sentry:/opt/self-hosted# CONTAINER_ENGINE=docker bash ./install/geoip.sh
Setting up GeoIP integration ...
Setting up IP address geolocation ...
IP address geolocation database already exists.
IP address geolocation is configured for updates.
Updating IP address geolocation database ... 
Unable to find image 'ghcr.io/maxmind/geoipupdate:v6.1.0' locally
v6.1.0: Pulling from maxmind/geoipupdate
661ff4d9561e: Pull complete 
876d32bc0ee8: Pull complete 
4d282239778e: Pull complete 
05783ca06316: Pull complete 
e874a92abc5a: Pull complete 
d439d27a1e72: Pull complete 
Digest: sha256:cdd36d36c2e1d353a990a48e5a36d42ee75089d5d9064d80d36d90c147fd2606
Status: Downloaded newer image for ghcr.io/maxmind/geoipupdate:v6.1.0
Done updating IP address geolocation database.
Done setting up IP address geolocation.

Actual Result

root@sentry:/opt/self-hosted# bash ./install/geoip.sh 
Setting up GeoIP integration ...
Setting up IP address geolocation ...
IP address geolocation database already exists.
IP address geolocation is configured for updates.
Updating IP address geolocation database ... 
./install/geoip.sh: line 24: run: command not found
Error updating IP address geolocation database.
Error setting up IP address geolocation.

Event ID

No response

Metadata

Metadata

Assignees

Projects

Status

No status

Status

Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions