immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
53.37k stars 2.82k forks source link

[BUG] server: EXTRACT METADATA job paused after server restart #5437

Closed waclaw66 closed 1 year ago

waclaw66 commented 1 year ago

The bug

EXTRACT METADATA job is always paused after server restart.

The OS that Immich Server is running on

Fedora 39

Version of Immich Server

v1.89.0

Version of Immich Mobile App

not relevant

Platform with the issue

Your docker-compose.yml content

not relevant

Your .env content

not relevant

Reproduction steps

not relevant

Additional information

No response

bo0tzz commented 1 year ago

The job gets paused while the server is initializing the geocoding data. Does it stay paused afterwards? What do the logs say?

waclaw66 commented 1 year ago

It stays paused forever. I have to unpause it manually. ERROR [MetadataService] Unable to initialize reverse geocoding: Error: ENOENT: no such file or directory, open '/usr/src/resources/geodata-date.txt' Need to investigate my deployment...

waclaw66 commented 1 year ago

It's maybe related to that I don't use docker. What is the origin of that /usr/src/resources/geodata-date.txt file?

martabal commented 1 year ago

You can find your missing files here https://github.com/immich-app/base-images/blob/d71ac47ff8e49f55980c1f1beef6594872f017c0/server/Dockerfile#L61-L66

waclaw66 commented 1 year ago

You can find your missing files here https://github.com/immich-app/base-images/blob/d71ac47ff8e49f55980c1f1beef6594872f017c0/server/Dockerfile#L61-L66

Thanks, found already. Not nice to use absolute paths in the code.

zackpollard commented 1 year ago

We are aware, this is something that will change with future revisions of the reverse geocoding implementation. We were limiting scope on the first pass.