Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Server Timezone is incorrect #257

Closed
1 task done
IBeTheBlueCat opened this issue Jul 11, 2024 · 7 comments
Closed
1 task done

[BUG] Server Timezone is incorrect #257

IBeTheBlueCat opened this issue Jul 11, 2024 · 7 comments

Comments

@IBeTheBlueCat
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Jellyfin ignores envionment variable TZ and uses TZ=Etc/UTC

Expected Behavior

Jellyfin uses TZ=Europe/London which is what it is set to

Steps To Reproduce

  1. Run linuxserver/docker-jellyfin using TZ=Europe/London under environment: in docker-compose.yml

Environment

- OS: Ubuntu Server 24.04
- How docker service was installed: docker compose

CPU architecture

x86-64

Docker creation

jellyfin:
    image: lscr.io/linuxserver/jellyfin:latest
    container_name: jellyfin
    environment:
      - PUID=1007
      - PGID=1001
      - TZ=Europe/London
      - JELLYFIN_PublishedServerUrl=[redacted] #optional
    volumes:
      - jellyfin-config:/config
      - jellyfin-cache:/cache
      - /mnt/pool/media:/media
    ports:
      - 8096:8096
    restart: unless-stopped
    networks:
      - swag

Container logs

No mention of environment variables or timezones, and I would rather not obfuscate my entire log if not necessary (apologies)
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@IBeTheBlueCat
Copy link
Author

Not missing feedback, I am yet to receive any response or request for additional information

@j0nnymoe
Copy link
Member

Where are you looking to see that Jellyfin is using that TZ rather than the one you set?

@j0nnymoe
Copy link
Member

Unable to replicate myself:

root@jf:/# env | grep TZ
TZ=Europe/London
root@jf:/# 

That's with -e TZ="Europe/London" in my docker run.

@IBeTheBlueCat
Copy link
Author

Apologies for the delay, I would like to confirm that the issue was only apparent from viewing times within Jellyfin, they were all out by an hour as if I had set Etc/UTC. The environment variable was still set correctly, Jellyfin just seemed to be ignoring it.
The good news is that I have just checked to see if I can further investigate, and the time is now displaying correctly, I'm afraid I have no explanation for this but the issue can now be closed.
Thanks for your help

@JahFyahh
Copy link

I am experiencing this same issue. The linux machine, my tv, the docker set up are all showing the correct time. but when i open de app on my TV it shows UTC-time. I cannot play anything unless i turn off my ISP modem and use only my local network. Any ideas, help is greatly appriciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

4 participants