how to change time zone unraid
im getting errors and it seems to be because of time zone and i cant find where to change.
54 Replies
You will want to set it in the Docker Compose environment section. Something like

where is that in unraid? i cant find a yml file
Sorry didn't see the unraid portion. No idea, have never used before.
extra parameters?
Ok im trying the docker compose method.. and i cant even compose up. i get an error
alidating /boot/config/plugins/compose.manager/projects/Immich/docker-compose.yml: services.tsdata must be a mapping
https://documentation.immich.app/docs/install/unraid did you follow this
Unraid | Immich
Immich can easily be installed and updated on Unraid via:
You can set the TZ in the env file
im not having a username issue though.. are do you mean adda variable for env?
Ignore the Reddit link, see the Immich link and add it to the env file
the unraid app way or docker compose?
The compose method that seems to be recommended
i try and run the compose up and it errors out immediately. see higher
The log.txt is showing the docker compose for me
yea sorry just above that i posted the error
You commented out
volumes:
it seems at the very bottom
Need to keep that
You can comment out just pgdata:
if you needthe guide said both.. erm
Good catch
I think the guide is old before there were other volumes
arg. i have a timezone set..but it stiull errors.
What container is this error coming from
immich!
so it weas working... then i started uploading my files from google photos..
Well Immich has multiple containers
immich_server, immich_microservices, etc
was doing a year at a time.. then after the year like 2017 it just started erroring out.
ghcr.io/imagegenius/immich:latest
Seems like a timezone issue
docker run
-d
--name='immich'
--net='zeusnet'
-e TZ="America/Los_Angeles"
Friendly ping @jrasm91 and @etnoy, I think there’s issues with timezones which should be fixed in the next release
Not again 😅
When i refresh my library i get an X Error. Internal server error. (Immich server error)
Seem like it’s setting the timezone offset to +231677-07-01T07:00:00.000Z, which a whole another timestamp
how would i fix that?
it seems like a bug in Immich
okay. so just ignore the error for now?
This is a bug with metadata extraciton. Bad exif in an asset = this error. You don't need to change anything related to timezones.
okay. so the data i pulled from google was no good?
If you want to work around it, you can temporarily ignore/delete the file.
I have seen this specifically with the one messaging app, what is it...
Whatsapp? It has terrible exif data which fails to be parsed correctly or something. There is an existing bug for it I think.
just need to figure out which file it is.. ok well thank you for figuring it out
https://github.com/immich-app/immich/issues/3527
I think it is really similar to this, but you are getting the value in the "timezone" field.
Maybe you can verify where the file came from when you find it.
ok ill see what i can do.. i did a big pull from google take out.. not sure where it got backed up from.
timezone is usually numbers after a plus, so I think it might be thinking
+231677
is the timezone offset.one picture did get tagged for the year 2036.. but ive deleted it
Can you send the logs before/after the one you actually sent. I think there are some more details which should include asset id.
Is there a log like "job handler failed for metadata extraction <new line> { id: <id> }"
seems to be multiple files?
We have changed the timezone method, please see the volumes in the docker compose in git. I'm on my phone so someone else might be able to link it
You no longer need the TZ variable
im using the imagegenius install method..
i tried docker compose and it failed on me
How do you trigger the error? Accessing the web app? Or doing a library scan or something?
doing a refresh.. on the local.
refresh of... the page? a library refresh? can you be more specific.
of the page sorry
so time buckets then
so i just removed a bunch of photos.. where the metadata was clearly wrong as it was all tagged in my library as pictures taken yesterday.. and the error is still present
i went into the root folder where my photos are.. where all the year folders are and i found two that have a 6 digit year. 218662 and 231677. each with a single video in them. But same error after a restart.
How are you removing photos?
Are you using libraries?
If so, you will have to delete the files from disk, then run the re-scan, and then the empty trash thing.
I was deleting from browser on PC.. but the error stayed until I went on my mobile and saw the two videos were still on there. I've since removed from mobile and they are gone. As is the error message.
I just have one big library.. sorted by month