mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[Issue]: Docker container isn't accessing internet but can still be accessed remotely for playback. #4877
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eorith on GitHub (May 26, 2023).
Please describe your bug
I can access Jellyfin server for playback and it will add new content from NAS storage. However, it won't update any metadata, images or update plugins. I also cannot access the catalogue.
I have exec into the docker container and run:
curl -I https://lon1.mirror.jellyfin.org/releases/plugin/manifest-stable.jsonwith the response:
curl: (28) Failed to connect to lon1.mirror.jellyfin.org port 443: Connection timed out... this suggests that the docker container doesn't have access to the internet. I have other docker containers on the same host that do have internet access.
Jellyfin Version
Other
if other:
10.8.10
Environment
Jellyfin logs
FFmpeg logs
No response
Please attach any browser or client logs here
No response
Please attach any screenshots here
No response
Code of Conduct
@tunnull commented on GitHub (May 27, 2023):
What does your docker-compose file/docker run command look like? You could have accidentally set up the wrong network/network type for it.
@eorith commented on GitHub (Jun 2, 2023):
@ChuckSerious commented on GitHub (Jun 2, 2023):
Try add network_mode: 'bridge':
version: "3.5"
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
hostname: jellyfin
network_mode: 'bridge'
......
@eorith commented on GitHub (Jun 2, 2023):
Issue still occurring with suggestion set.
@tunnull commented on GitHub (Jun 6, 2023):
I copied your Docker Compose file and ran it as-is and it failed to start. Then, I tried it with the linuxserver.io image, it started up as normal. Here's the Docker Compose I used:
version: "3.5" services: jellyfin: image: lscr.io/linuxserver/jellyfin:latest container_name: jellyfin hostname: jellyfin ports: - "8096:8096" - "8920:8920" - "1900:1900" - "7359:7359" volumes: - /home/sam/docker/jellyfin/dist:/jellyfin/jellyfin-web:ro # <== add this line if using the official container - /home/sam/docker/jellyfin/config/_data:/config - /home/sam/docker/jellyfin/cache/_data:/cache - /media/nas/media/:/media/media:ro restart: "unless-stopped"@eorith commented on GitHub (Jun 12, 2023):
Sorry, I've been away for the weekend.
Mine builds fine using the default docker (except the issue being discussed).
Building with the lscr image doesn't pick up my current configuration and runs a new setup page.
I also ran it with a new hostname and a fresh config and set up a new server on the same host for the purpose of testing, but the same issue with not updating plugins and meta occurs.
@eorith commented on GitHub (Jun 19, 2023):
Update.
There is possibly an issue with my bridge networking. I used my macvlan that I have already setup to the container and it is all working fine.
@srcrist commented on GitHub (Oct 6, 2023):
Original submitter has resolved their problem. Closing this issue as it does not appear to have been a Jellyfin bug.