Jellyfin Forum
Failed Install on Ubuntu - 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: Failed Install on Ubuntu (/t-failed-install-on-ubuntu)



Failed Install on Ubuntu - qed4321 - 2024-04-16

Hi there, new here. I tried to install Jellyfin Server on Ubuntu, but it didn't seem to work.

Here's the info on the install:

Code:
root@MediaServer:/opt/jellyfin# curl -s https://repo.jellyfin.org/install-debuntu.sh | sudo bash
> Determining optimal repository settings.

Found the following details from '/etc/os-release':
  Real OS:            ubuntu
  Repository OS:      ubuntu
  Repository Release: jammy
  CPU Architecture:  amd64
If this looks correct, press <Enter> now to continue installing Jellyfin.

> Fetching repository signing key.

> Installing Jellyfin repository into APT.
Types: deb
URIs: https://repo.jellyfin.org/ubuntu
Suites: jammy
Components: main
Architectures: amd64
Signed-By: /etc/apt/keyrings/jellyfin.gpg

> Updating APT repositories.
Hit:1 https://downloads.plex.tv/repo/deb public InRelease
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Hit:5 https://repo.jellyfin.org/ubuntu jammy InRelease
Get:6 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages [444 kB]
Hit:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1,562 kB]
Get:9 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1,346 kB]
Get:10 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [237 kB]
Get:11 http://security.ubuntu.com/ubuntu jammy-security/universe i386 Packages [600 kB]
Get:12 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [852 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [610 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,075 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [699 kB]
Fetched 7,654 kB in 6s (1,224 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
11 packages can be upgraded. Run 'apt list --upgradable' to see them.

> Installing Jellyfin.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  libminiupnpc17
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  at jellyfin-ffmpeg5 jellyfin-server jellyfin-web
The following NEW packages will be installed:
  at jellyfin jellyfin-ffmpeg5 jellyfin-server jellyfin-web
0 to upgrade, 5 to newly install, 0 to remove and 11 not to upgrade.
Need to get 124 MB of archives.
After this operation, 385 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 at amd64 3.2.5-1ubuntu1 [41.1 kB]
Get:2 https://syd1.mirror.jellyfin.org/files/ubuntu jammy/main amd64 jellyfin-server amd64 10.8.13-1 [38.6 MB]
Get:3 https://syd1.mirror.jellyfin.org/files/ubuntu jammy/main amd64 jellyfin-web all 10.8.13-1 [42.3 MB]
Get:4 https://syd1.mirror.jellyfin.org/files/ubuntu jammy/main amd64 jellyfin-ffmpeg5 amd64 5.1.4-3-jammy [43.3 MB]
Get:5 https://syd1.mirror.jellyfin.org/files/ubuntu jammy/main amd64 jellyfin all 10.8.13-1 [2,284 B]
Fetched 124 MB in 30s (4,194 kB/s)
Selecting previously unselected package at.
(Reading database ... 228168 files and directories currently installed.)
Preparing to unpack .../at_3.2.5-1ubuntu1_amd64.deb ...
Unpacking at (3.2.5-1ubuntu1) ...
Selecting previously unselected package jellyfin-server.
Preparing to unpack .../jellyfin-server_10.8.13-1_amd64.deb ...
Unpacking jellyfin-server (10.8.13-1) ...
Selecting previously unselected package jellyfin-web.
Preparing to unpack .../jellyfin-web_10.8.13-1_all.deb ...
Unpacking jellyfin-web (10.8.13-1) ...
Selecting previously unselected package jellyfin-ffmpeg5.
Preparing to unpack .../jellyfin-ffmpeg5_5.1.4-3-jammy_amd64.deb ...
Unpacking jellyfin-ffmpeg5 (5.1.4-3-jammy) ...
Selecting previously unselected package jellyfin.
Preparing to unpack .../jellyfin_10.8.13-1_all.deb ...
Unpacking jellyfin (10.8.13-1) ...
Setting up jellyfin-web (10.8.13-1) ...
Setting up jellyfin-ffmpeg5 (5.1.4-3-jammy) ...
Setting up at (3.2.5-1ubuntu1) ...
Setting up jellyfin-server (10.8.13-1) ...
Setting up jellyfin (10.8.13-1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...

> Waiting 15 seconds for Jellyfin to fully start up.

-------------------------------------------------------------------------------
○ jellyfin.service - Jellyfin Media Server
    Loaded: loaded (/lib/systemd/system/jellyfin.service; disabled; vendor preset: enabled)
    Active: inactive (dead)
○ jellyfin.service - Jellyfin Media Server
    Loaded: loaded (/lib/systemd/system/jellyfin.service; disabled; vendor preset: enabled)
    Active: inactive (dead)
-------------------------------------------------------------------------------

You should see the service as 'active (running)' above. If not, use https://jellyfin.org/contact to find us for troubleshooting.

You can access your new instance now at http://:8096 in your web browser to finish setting up Jellyfin.

Thank you for installing Jellyfin, and happy watching!

/opt/jellyfin/ is completely empty

It appears not to check or validate all components of the install - it is possible there may have been a very old install of Jellyfin Server on this machine many years ago, but i'd expect the .sh install to ensure all components are installed and each dependency is also installed (and working/tested).

Also, I also could not find any reference in the docs on how to uninstall the Jellyfin Server from Ubuntu (so I can do a clean/fresh reinstall), except for Windows uninstall instructions. Does anyone know where the uninstall instructions for Jellyfin Server on Ubuntu are found?

Thanks


RE: Failed Install on Ubuntu - bitmap - 2024-04-16

Depends on the package manager you want to use? Look at the packages that were installed and try apt to remove them. You'll need sudo privileges.

Code:
apt autoremove jellyfin jellyfin-ffmpeg5 jellyfin-server jellyfin-web --purge

Be aware that this will remove these packages, any orphaned dependencies, all known traces of them on your system. Then give it another shot. You could also try to play with the service before doing this and see if it'll even start up. Again, you need sudo.

Code:
$: systemctl status jellyfin
$: systemctl enable jellyfin
$: systemctl restart jellyfin

Note that each line is a different command. I would probably nuke the entire thing and start over, but it may be worthwhile to save a little bit of time and at least try enabling/restarting the service. Don't go down the rabbit hole though, if those three commands don't produce much of anything, I'd erase the whiteboard and forge ahead with a clean install.