Change Timezone Jellyfin docker

2 months ago by thanksforallthefish to c/jellyfin

I've run up a copy of Jellyfin in docker on a cheap NAS about a month ago. Seem to have mostly sorted out the wrinkles. First time running docker or jellyfin (all my other selfhosting has been on bare metal not using docker).

ONE issue: Timezone (daylight saving).

The NAS host OS is correctly showing the local TZ with 1 hour shift post daylight saving at the end of March - I checked at a command prompt (it's a tweaked version of debian) that it's showing correctly.

The Docker container however is showing the base time before daylight saving (ie UTC vs UTC+1)

I've just worked through how to change the docker compose file to pick up the correct TZ ie putting a

TZ: "Europe/London"

In the compose file (Project, settings, compose configuration)

BUT

When I go to apply it (redeploy button), it gives me a warning that makes me nervous to push it out.

"Redeployment will delete unneeded containers and images"

Soooo...will hitting deploy wipe out all the configuration I've done and the days worth of indexing all the media the server has done ? Or am I being overly nervous ?

MentalEdge 2 points 2 months ago

Assuming your config and data files are in a data folder you mount into the container, no.

path: 0 23349332, hotness: undefined, score: 2, children: 1
thanksforallthefish 1 point 2 months ago

Thanks very much for the reply, yes the config and data are visible as directories from the NAS itself so I think it should be ok then. I'll back up the folder structure now.

path: 0 23349332 23349431, hotness: undefined, score: 1, children: 0
slazer2au 2 points 2 months ago

Assuming you are storing the data on the Nas and not inside the container itself restarting the container is fine.

You can always duplicate the container with another name to test your changes.

path: 0 23349338, hotness: undefined, score: 2, children: 1
thanksforallthefish 2 points 2 months ago

Thanks very much for the reply, yes the config and data are visible as directories from the NAS itself so I think so.

I've just kicked over an ftp of the entire jellyfin structure as a back up - I'll duplicate the container as well for belt and braces

path: 0 23349338 23349425, hotness: undefined, score: 2, children: 0
thanksforallthefish 1 point 2 months ago

Thanks both, it worked, although I had a bit of a heart attack when it took a lot longer to come back up than I expected.

Now to try and work out how to get immich working.

path: 0 23351295, hotness: undefined, score: 1, children: 0
FreedomAdvocate 1 point 2 months ago

Are you mounting a drive for the storage via the docker compose script or are you saving everything, including your jellyfin database, inside the docker container? If mounted storage then you’re fine. If not, then yeah wiping the container and recreating it will bin everything and start from scratch.

path: 0 23354515, hotness: undefined, score: 1, children: 1
thanksforallthefish 2 points 2 months ago

Hey thanks for the response, yes the storage is mounted via the compose script

path: 0 23354515 23355093, hotness: undefined, score: 2, children: 0
jellyfin
jellyfin

@lemmy.ml

login for more options
9052
449
307

Current stable release: 10.11.11

Community Standards

Website

Forum

GitHub

Documentation

Feature Requests

Matrix (General Information & Help)

Matrix (Announcements)

Matrix (General Development)

Matrix (Off-Topic) - Come get to know the team and blow off steam!

Matrix Space - List of all the available rooms on Matrix.

Discord - Bridged to our Matrix rooms

go to feed...