Unable to search location in web
While trying to manual add GPS info to some of my uploaded pictures, I notice the location search does not work.
This was added in https://github.com/immich-app/immich/pull/7139 and uses the
geodata_places
table. Executing a select-all query in my postgres database, I can see there are no rows in this table.
I there any special procedure needed to fill this table? I followed the https://immich.app/docs/install/docker-compose/ guide to set everything up.
No backup/restores have been done, and upgrades have been done directly on the stack using docker compose pull && docker compose up -d
.
---
Docker-compose: https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
.env

22 Replies
:wave: Hey @nkmol,
Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:.
References
- Container Logs:
docker compose logs
docs
- Container Status: docker ps -a
docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
- Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA
Checklist
I have...
1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
2. :ballot_box_with_check: read applicable release notes.
3. :ballot_box_with_check: reviewed the FAQs for known issues.
4. :ballot_box_with_check: reviewed Github for known issues.
5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: uploaded the relevant information (see below).
7. :ballot_box_with_check: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable
(an item can be marked as "complete" by reacting with the appropriate number)
Information
In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:
- Your docker-compose.yml and .env files.
- Logs from all the containers and their status (see above).
- All the troubleshooting steps you've tried so far.
- Any recent changes you've made to Immich or your system.
- Details about your system (both software/OS and hardware).
- Details about your storage (filesystems, type of disks, output of commands like fdisk -l
and df -h
).
- The version of the Immich server, mobile app, and other relevant pieces.
- Any other information that you think might be relevant.
Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)
If this ticket can be closed you can use the /close
command, and re-open it later if needed.
[Pull Request] feat(server, web): search location (immich-app/immich#7139)It should get populated on startup. Are there any errors in the log when you start the container?
Did you ever do a database backup/restore?
I have never done a backup/restore. There also seem to be no errors on startup (in none of containers searching for "err")
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
so the table does exist in the DB but is empty, correct?
Correct
I tried to find references in the Github repository where table is populated, but could not find anything.
can you post the postgres logs please? when did you install this immich instance?
it definitely should be populated automatically
to the point that there is no manual method
This plus the surrounding functions https://github.com/immich-app/immich/blob/main/server/src/repositories/map.repository.ts#L210
I created this stack not so long ago, couple of months ago
Can you post the output of
select * from system_metadata where key = 'reverse-geocoding-state';
?hmm, seems normal
And just to be sure, I am not crazy:
Can you restart the container and post the full log?
For all containers
I can see the init log of "Initializing metadata repository" but not the completion of "Geodata import completed"
I believe geodata import is being skipped because of the early exit (https://github.com/immich-app/immich/blob/main/server/src/repositories/map.repository.ts#L53). The value of
geodata-date.txt
is 2024-11-19T11:16:37+00:00
and the database value of reverse-geocoding-state.lastUpdate
is 2024-11-19T11:16:37+00:00
Lol, not sure how I missed that
Just delete that row from the table
Looks much better:
`
Fixed

Thank you very much for the fast support!
This thread has been closed. To re-open, use the button below.