I
Immich2y ago
bozzio

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
schuhbacca
schuhbacca2y ago
You will want to set it in the Docker Compose environment section. Something like
No description
bozzio
bozzioOP2y ago
where is that in unraid? i cant find a yml file
bozzio
bozzioOP2y ago
schuhbacca
schuhbacca2y ago
Sorry didn't see the unraid portion. No idea, have never used before.
bozzio
bozzioOP2y ago
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
bozzio
bozzioOP2y ago
ddshd
ddshd2y ago
Unraid | Immich
Immich can easily be installed and updated on Unraid via:
ddshd
ddshd2y ago
You can set the TZ in the env file
bozzio
bozzioOP2y ago
im not having a username issue though.. are do you mean adda variable for env?
ddshd
ddshd2y ago
Ignore the Reddit link, see the Immich link and add it to the env file
bozzio
bozzioOP2y ago
the unraid app way or docker compose?
ddshd
ddshd2y ago
The compose method that seems to be recommended
bozzio
bozzioOP2y ago
i try and run the compose up and it errors out immediately. see higher
ddshd
ddshd2y ago
The log.txt is showing the docker compose for me
bozzio
bozzioOP2y ago
yea sorry just above that i posted the error
ddshd
ddshd2y ago
You commented out volumes: it seems at the very bottom Need to keep that You can comment out just pgdata: if you need
bozzio
bozzioOP2y ago
the guide said both.. erm
ddshd
ddshd2y ago
Good catch I think the guide is old before there were other volumes
bozzio
bozzioOP2y ago
arg. i have a timezone set..but it stiull errors.
bozzio
bozzioOP2y ago
ddshd
ddshd2y ago
What container is this error coming from
bozzio
bozzioOP2y ago
immich! so it weas working... then i started uploading my files from google photos..
ddshd
ddshd2y ago
Well Immich has multiple containers immich_server, immich_microservices, etc
bozzio
bozzioOP2y ago
was doing a year at a time.. then after the year like 2017 it just started erroring out. ghcr.io/imagegenius/immich:latest
martabal
martabal2y ago
Seems like a timezone issue
bozzio
bozzioOP2y ago
docker run -d --name='immich' --net='zeusnet' -e TZ="America/Los_Angeles"
martabal
martabal2y ago
Friendly ping @jrasm91 and @etnoy, I think there’s issues with timezones which should be fixed in the next release
etnoy
etnoy2y ago
Not again 😅
bozzio
bozzioOP2y ago
When i refresh my library i get an X Error. Internal server error. (Immich server error)
ddshd
ddshd2y ago
Seem like it’s setting the timezone offset to +231677-07-01T07:00:00.000Z, which a whole another timestamp
bozzio
bozzioOP2y ago
how would i fix that?
ddshd
ddshd2y ago
it seems like a bug in Immich
bozzio
bozzioOP2y ago
okay. so just ignore the error for now?
jrasm91
jrasm912y ago
This is a bug with metadata extraciton. Bad exif in an asset = this error. You don't need to change anything related to timezones.
bozzio
bozzioOP2y ago
okay. so the data i pulled from google was no good?
jrasm91
jrasm912y ago
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.
bozzio
bozzioOP2y ago
just need to figure out which file it is.. ok well thank you for figuring it out
jrasm91
jrasm912y ago
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.
bozzio
bozzioOP2y ago
ok ill see what i can do.. i did a big pull from google take out.. not sure where it got backed up from.
jrasm91
jrasm912y ago
timezone is usually numbers after a plus, so I think it might be thinking +231677 is the timezone offset.
bozzio
bozzioOP2y ago
one picture did get tagged for the year 2036.. but ive deleted it
jrasm91
jrasm912y ago
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> }"
bozzio
bozzioOP2y ago
bozzio
bozzioOP2y ago
seems to be multiple files?
etnoy
etnoy2y ago
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
bozzio
bozzioOP2y ago
im using the imagegenius install method.. i tried docker compose and it failed on me
jrasm91
jrasm912y ago
How do you trigger the error? Accessing the web app? Or doing a library scan or something?
bozzio
bozzioOP2y ago
doing a refresh.. on the local.
jrasm91
jrasm912y ago
refresh of... the page? a library refresh? can you be more specific.
bozzio
bozzioOP2y ago
of the page sorry
jrasm91
jrasm912y ago
so time buckets then
bozzio
bozzioOP2y ago
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.
jrasm91
jrasm912y ago
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.
bozzio
bozzioOP2y ago
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

Did you find this page helpful?