Jellyfin Forum
SOLVED: emby and jellyfin on same server - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access)
+---- Thread: SOLVED: emby and jellyfin on same server (/t-solved-emby-and-jellyfin-on-same-server)

Pages: 1 2


emby and jellyfin on same server - roycrt - 2024-02-15

Server set up is Debian Bookworm with emby installed from deb file and using port 8096
Only need local roku clients on local network
On emby web dashboard I change the ports to 8090 and 8091
On roku I uninstalled emby app, reloaded emby app. roku still connected. I added server with port 8090. Not sure it sticks.

I'm trying to install jellyfin inside Docker container. (my first time using Docker)
I will only be sharing with local network
I'm trying to avoid a conflick with emby so want to run jellyfin on port 8095.  When I use ports inside my docker-compose.yml file
ports:
  - 8095:8094
I get a message when composing
Code:
jellyfin Published ports are discarded when using host network mode
and I get a lot of emby stuff, then it fails with Status Code 200

If I remove the ports entry I get a lot of emby startup stuff and it fails with
Code:
Slow HTTP Response from http://localhost:8096/health to 127.0.0.1 in 0:00:00.7782685 with Status Code 200

If I remove the network_mode: 'host' line and reinsert the ports, I still get a lot of emby plugin and startup stuff and it fails with Status Code 200

Is there a way to edit a config file to stop emby from doing plugin and startup stuff when port 8096 is accessed.
Thanks in advance for any help!

/var/lib/emby/config/system.xml shows ports 8090 and 8091


RE: emby and jellyfin on same server - Serge K - 2024-02-15

some time ago I also tried to install both servers
very important is to stop emby already installed first and then install jellyfin. Then stop jellyfin and change port.
then both servers start
must works


RE: emby and jellyfin on same server - TheDreadPirate - 2024-02-15

(2024-02-15, 05:31 PM)Serge K Wrote: some time ago I also tried to install both servers
very important is to stop emby already installed first and then install jellyfin. Then stop jellyfin and change port.
then both servers start
must works

This.  I have 5 Jellyfin instances running on my server, my production instance directly on Ubuntu on port 8096 and 4 docker containers for testing.  Each time I added a new container I had to stop my production instance on 8096 to stand up the new one and reconfigure the network port.  If you are using host networking using the publish port function won't work.


RE: emby and jellyfin on same server - roycrt - 2024-02-15

Thanks for the suggestions.
I shut down emby, but still same errors
I ran
sudo mv /etc/init/emby-server.conf /etc/init/emby-server.conf.disabled
sudo systemctl reboot
Same errors

It seems that whenever port 8096 is called, emby stuff gets activated. even if emby is not running
I couldn't find anything in rc?.d directories, but I'm only a sortof admin
I would just do a complete server new install with only docker, but I set emby up on a few friends and don't want to go through the whole remove emby thing on all them, so they can try jellyfin
emby is as bad as roku with sharing info. I really do hate closed sourced, but my friends all have roku and spending $100s to replace them is not likely.
Thanks again for the suggestions.


RE: emby and jellyfin on same server - TheDreadPirate - 2024-02-15

Are you reconfiguring Jellyfin port in Jellyfin's dashboard?


RE: emby and jellyfin on same server - roycrt - 2024-02-15

Hi TheDreadPirate,
Unfortunately can't get there from here
docker compose up never completes
I even moved the /opt/emby-server directory to my home folder, rebooted
still emby stuff gets called and docker compose freezes with Status Code 200


RE: emby and jellyfin on same server - TheDreadPirate - 2024-02-15

Does jellyfin start at all? Or does the container not even finish initializing? Can you share your compose file?


RE: emby and jellyfin on same server - roycrt - 2024-02-15

version: '3.5'
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
user: 1001:1001
network_mode: 'host'
volumes:
- /srv/data/jellyfin/configConfused-faceconfig:rw \ # Alternatively -- - jellyfin-configConfused-faceconfig
- /srv/data/jellyfin/cacheConfused-facecache:rw \ # Alternatively -- - jellyfin-cacheConfused-facecache
- /srv/Media/MoviesConfused-facesrv/data/jellyfin/Movies
- /srv/Media/TVConfused-facesrv/data/jellyfin/TV
restart: 'unless-stopped'
extra_hosts:
- "host.docker.internal:host-gateway"

I did a chmod -R 777 /srv to open up the directories
Jellyfin does not start at all. Never completes the compose Errors Slow HTTP Response from http://localhost:8096

Sorry, all the sad faces are colon/


RE: emby and jellyfin on same server - roycrt - 2024-02-15

Also, all the indents are correct. I've checked a dozen times
I don't how to keep the original format.


RE: emby and jellyfin on same server - TheDreadPirate - 2024-02-15

What is the output of

Code:
sudo netstat -napo | grep 8096