#how to change time zone unraid

1 messages · Page 1 of 1 (latest)

toxic brook
#

im getting errors and it seems to be because of time zone and i cant find where to change.

civic herald
#

You will want to set it in the Docker Compose environment section. Something like

toxic brook
#

where is that in unraid? i cant find a yml file

civic herald
#

Sorry didn't see the unraid portion. No idea, have never used before.

toxic brook
#

extra parameters?

toxic brook
#

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

obtuse gulch
#

You can set the TZ in the env file

toxic brook
#

im not having a username issue though.. are do you mean adda variable for env?

obtuse gulch
#

Ignore the Reddit link, see the Immich link and add it to the env file

toxic brook
#

the unraid app way or docker compose?

obtuse gulch
#

The compose method that seems to be recommended

toxic brook
#

i try and run the compose up and it errors out immediately. see higher

obtuse gulch
#

The log.txt is showing the docker compose for me

toxic brook
#

yea sorry just above that i posted the error

obtuse gulch
#

You commented out volumes: it seems at the very bottom

#

Need to keep that

#

You can comment out just pgdata: if you need

toxic brook
#

the guide said both.. erm

obtuse gulch
#

Good catch

#

I think the guide is old before there were other volumes

toxic brook
#

arg. i have a timezone set..but it stiull errors.

obtuse gulch
#

What container is this error coming from

toxic brook
#

immich!

#

so it weas working... then i started uploading my files from google photos..

obtuse gulch
#

Well Immich has multiple containers

#

immich_server, immich_microservices, etc

toxic brook
#

was doing a year at a time.. then after the year like 2017 it just started erroring out.

limber cove
#

Seems like a timezone issue

toxic brook
#

docker run
-d
--name='immich'
--net='zeusnet'
-e TZ="America/Los_Angeles"

limber cove
#

Friendly ping @nova wasp and @dapper valley, I think there’s issues with timezones which should be fixed in the next release

toxic brook
#

When i refresh my library i get an X Error. Internal server error. (Immich server error)

obtuse gulch
#

Seem like it’s setting the timezone offset to +231677-07-01T07:00:00.000Z, which a whole another timestamp

toxic brook
#

how would i fix that?

obtuse gulch
#

it seems like a bug in Immich

toxic brook
#

okay. so just ignore the error for now?

nova wasp
#

This is a bug with metadata extraciton. Bad exif in an asset = this error. You don't need to change anything related to timezones.

toxic brook
#

okay. so the data i pulled from google was no good?

nova wasp
#

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.

toxic brook
#

just need to figure out which file it is.. ok well thank you for figuring it out

nova wasp
#

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.

toxic brook
#

ok ill see what i can do.. i did a big pull from google take out.. not sure where it got backed up from.

nova wasp
#

timezone is usually numbers after a plus, so I think it might be thinking +231677 is the timezone offset.

toxic brook
#

one picture did get tagged for the year 2036.. but ive deleted it

nova wasp
#

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> }"

toxic brook
#

seems to be multiple files?

dapper valley
#

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

toxic brook
#

im using the imagegenius install method..

#

i tried docker compose and it failed on me

nova wasp
#

How do you trigger the error? Accessing the web app? Or doing a library scan or something?

toxic brook
#

doing a refresh.. on the local.

nova wasp
#

refresh of... the page? a library refresh? can you be more specific.

toxic brook
#

of the page sorry

nova wasp
#

so time buckets then

toxic brook
#

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

toxic brook
#

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.

nova wasp
#

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.