Jellyfin preventing another application from starting properly #1158

Closed
opened 2026-02-06 20:34:21 +03:00 by OVERLORD · 8 comments
Owner

Originally created by @Kreeblah on GitHub (Dec 24, 2019).

Describe the bug
I recently started looking into Jellyfin in order to see whether it might be able to replace Plex in my setup. However, what I found is that if Jellyfin is running on my system, it's preventing Roon from starting up properly. I created a thread on the Roon support forum at https://community.roonlabs.com/t/clients-suddenly-unable-to-connect-to-server/87870, as the behavior I was seeing in their application started a couple weeks after installing Jellyfin, but I guess I hadn't tried restarting Roon (which seems to be what triggers it).

I don't know whether this is something your team wants to look into, but I wanted to report it here as well, just in case.

To Reproduce

  1. Install Roon (creating a trial account if needed) on Ubuntu 18.04
  2. Set Roon up to use a non-root user
  3. Set Jellyfin up to use the same non-root user
  4. Start Jellyfin and wait for it to finish loading
  5. Start Roon and watch /var/roon/RoonServer/Logs/RoonServer_log.txt

Expected behavior
Both applications should be able to run together. However, Roon keeps restarting. Jellyfin, on the other hand, seems to run fine.

System (please complete the following information):

  • OS: Ubuntu 18.04
  • Browser: N/A
  • Jellyfin Version: 10.4.3
  • Installed Plugins: Anime
  • Reverse proxy: nginx
Originally created by @Kreeblah on GitHub (Dec 24, 2019). **Describe the bug** I recently started looking into Jellyfin in order to see whether it might be able to replace Plex in my setup. However, what I found is that if Jellyfin is running on my system, it's preventing Roon from starting up properly. I created a thread on the Roon support forum at https://community.roonlabs.com/t/clients-suddenly-unable-to-connect-to-server/87870, as the behavior I was seeing in their application started a couple weeks after installing Jellyfin, but I guess I hadn't tried restarting Roon (which seems to be what triggers it). I don't know whether this is something your team wants to look into, but I wanted to report it here as well, just in case. **To Reproduce** 1. Install Roon (creating a trial account if needed) on Ubuntu 18.04 2. Set Roon up to use a non-root user 3. Set Jellyfin up to use the same non-root user 4. Start Jellyfin and wait for it to finish loading 5. Start Roon and watch /var/roon/RoonServer/Logs/RoonServer_log.txt **Expected behavior** Both applications should be able to run together. However, Roon keeps restarting. Jellyfin, on the other hand, seems to run fine. **System (please complete the following information):** - OS: Ubuntu 18.04 - Browser: N/A - Jellyfin Version: 10.4.3 - Installed Plugins: Anime - Reverse proxy: nginx
OVERLORD added the bugquestionstale labels 2026-02-06 20:34:21 +03:00
Author
Owner

@Kreeblah commented on GitHub (Dec 24, 2019):

Oh, I should probably mention that I did not observe this behavior with Emby last I tried it, but it's been a while. If it's useful, I can see whether the current Emby version does the same thing.

@Kreeblah commented on GitHub (Dec 24, 2019): Oh, I should probably mention that I did not observe this behavior with Emby last I tried it, but it's been a while. If it's useful, I can see whether the current Emby version does the same thing.
Author
Owner

@Artiume commented on GitHub (Dec 24, 2019):

So Roon uses ffmpeg, and perhaps upnp. Those are the only two things I can think of that might cause some sort of interference.

As an immediate solution, you could install jellyfin in docker to provide isolation.

@Artiume commented on GitHub (Dec 24, 2019): So Roon uses ffmpeg, and perhaps upnp. Those are the only two things I can think of that might cause some sort of interference. As an immediate solution, you could install jellyfin in docker to provide isolation.
Author
Owner

@anthonylavado commented on GitHub (Dec 25, 2019):

@Kreeblah If you tried Emby any time before approx. May 2018, then we should be clear.

I’ll see if I can spin this up later. Does Roon give any reason why it restarts? Is it a file in use issue or something?

@anthonylavado commented on GitHub (Dec 25, 2019): @Kreeblah If you tried Emby any time before approx. May 2018, then we should be clear. I’ll see if I can spin this up later. Does Roon give any reason why it restarts? Is it a file in use issue or something?
Author
Owner

@anthonylavado commented on GitHub (Dec 30, 2019):

@Kreeblah I'd really love to try this to help you out, but I don't want to give Roon my credit card just to run a two week trial.

Edit: sigh they seem to have no control over it. I'll guess I'll try it. If you have any other info like I asked about, please let me know.

@anthonylavado commented on GitHub (Dec 30, 2019): @Kreeblah I'd really love to try this to help you out, but I don't want to give Roon my credit card just to run a two week trial. Edit: _sigh_ they seem to have no control over it. I'll guess I'll try it. If you have any other info like I asked about, please let me know.
Author
Owner

@anthonylavado commented on GitHub (Dec 30, 2019):

I should have waited before installing (I've deleted my account anyway).

There's this on their forums regarding Emby. I'm wondering if it's the same issue in Jellyfin: https://community.roonlabs.com/t/new-roonserver-install-with-restored-backup-in-repeated-crash-loop-if-you-try-to-login-from-a-client/81928/11

@anthonylavado commented on GitHub (Dec 30, 2019): I should have waited before installing (I've deleted my account anyway). There's this on their forums regarding Emby. I'm wondering if it's the same issue in Jellyfin: https://community.roonlabs.com/t/new-roonserver-install-with-restored-backup-in-repeated-crash-loop-if-you-try-to-login-from-a-client/81928/11
Author
Owner

@Kreeblah commented on GitHub (Jan 7, 2020):

Hey, sorry for letting this go so long. The holidays were pretty hectic, and I'm backed up on a lot of things.

You actually don't need an account to test this issue at all. I wasn't even getting to the point in Roon where I could enter credentials at all. I'll give that a go with what you found regarding port 1900, though, and see whether I see the same behavior.

@Kreeblah commented on GitHub (Jan 7, 2020): Hey, sorry for letting this go so long. The holidays were pretty hectic, and I'm backed up on a lot of things. You actually don't need an account to test this issue at all. I wasn't even getting to the point in Roon where I could enter credentials at all. I'll give that a go with what you found regarding port 1900, though, and see whether I see the same behavior.
Author
Owner

@stale[bot] commented on GitHub (Jun 14, 2020):

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@stale[bot] commented on GitHub (Jun 14, 2020): This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on [Matrix or Social Media](https://docs.jellyfin.org/general/getting-help.html).
Author
Owner

@Kreeblah commented on GitHub (Jul 15, 2020):

I finally got around to trying this, so I wanted to post my results in case anybody else has the same issue.

Disabling all of the DLNA settings in Jellyfin does seem to resolve this for me. I can have it installed and run with Roon, regardless of which one starts first. I imagine I could have gotten by with just disabling the DLNA server piece, but I don't use DLNA for anything anyway, so I figured I might as well just turn it all off.

Thanks for finding that!

@Kreeblah commented on GitHub (Jul 15, 2020): I finally got around to trying this, so I wanted to post my results in case anybody else has the same issue. Disabling all of the DLNA settings in Jellyfin does seem to resolve this for me. I can have it installed and run with Roon, regardless of which one starts first. I imagine I could have gotten by with just disabling the DLNA server piece, but I don't use DLNA for anything anyway, so I figured I might as well just turn it all off. Thanks for finding that!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#1158