Jellyfin Forum
[S0lVED] Orphan files after uninstall - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: [S0lVED] Orphan files after uninstall (/t-s0lved-orphan-files-after-uninstall)

Pages: 1 2


[S0lVED] Orphan files after uninstall - DaveG - 2024-08-27

I registered just to surrender and ask for assistance. I have struggled with Jellyfin for some time now. I have had it working fine, all except setting it up as a service. I've tried several means of installation and fear that has created this situation. Each time I'd fail and uninstall, I believe entries and files were left behind. I thought I had it cleaned up and was going to try installing Emby but it started with the Jellyfin webpage.
At one time recently I had to reinstall Mint and thought Jellyfin would be good to reinstall, but still have the same problems.
I only want to use it for serving my desktop music files to my Roku TV connected to my AV system, and have to start as a service.
Suggestions?


RE: Orphan files after uninstall - TheDreadPirate - 2024-08-27

Since Emby uses the same port, what likely happened after you installed Emby was that your browser was showing you a cached Jellyfin page.

What problem are you having exactly?

Installing Jellyfin on Debian based distros is super easy. We have a script that will fully automate the install.

Code:
curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash

If you've already installed Jellyfin and couldn't get it to work, you can follow these steps to ensure you are starting clean.

Code:
sudo apt purge jellyfin*
sudo rm -rf /etc/jellyfin /var/lib/jellyfin
curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash
sudo chown -R jellyfin: /etc/jellyfin /var/lib/jellyfin /var/log/jellyfin /var/cache/jellyfin /usr/share/jellyfin
sudo systemctl restart jellyfin

The chown command is to resolve a known issue during fresh installations of 10.9.10 where the permissions aren't being set correctly.


RE: Orphan files after uninstall - DaveG - 2024-08-27

Thanks. The only problem I had was managing to get it to allow me have it run as a service, thus I uninstalled and reinstalled several times and several ways.
When I've tried the commands to purge it reports that no jellyfin can be located. If I search the User level many jellyfin folders and files are found.
I'll give your steps and see what I get. From what I've read, during installation you are presented an option to install it as a service, but I never got that.


RE: Orphan files after uninstall - TheDreadPirate - 2024-08-27

If you install it via apt, which is what our automation script does, it will always run it as a service. There is no prompt to select the install type.

On a WINDOWS install it will prompt you whether or not to run it as a service.


RE: Orphan files after uninstall - DaveG - 2024-08-27

Well, it seemed to go well, but when it started it was Emby. It found some remnant of that recent install and now its scanning my vast library. I don't know if its worthwhile trying to now purge that from this machine because Jellyfin is also on here now.


RE: Orphan files after uninstall - TheDreadPirate - 2024-08-27

You can't run Jellyfin and Emby at the same time. They both use port 8096 by default. If Emby was already running then Jellyfin would have failed to start since Emby was already using port 8096.

What is the output of

Code:
sudo ss -tulpn | grep 8096



RE: Orphan files after uninstall - DaveG - 2024-08-27

I take that back. Emby is NOT installed but that same issue with the port must have found some cached file. I'm wondering if I should redo the steps and change the port number of flush my browser cache.


RE: Orphan files after uninstall - TheDreadPirate - 2024-08-27

Just flush your browser cache. You don't need to change the port.


RE: Orphan files after uninstall - DaveG - 2024-08-27

tcp LISTEN 0 512 *:8096 *:* usersSlightly-frowning-face("EmbyServer",pid=11818,fd=209))


RE: Orphan files after uninstall - DaveG - 2024-08-27

I flushed the cache and even rebooted now have the Jellyfin set up screen. I think you've got me heaed in the right direction. I'll continue with set up and if I run head first into a wall I'll post back.
Thanks!