![]() |
Failed to install Jellyfin - 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 to install Jellyfin (/t-failed-to-install-jellyfin) |
Failed to install Jellyfin - satello - 2024-09-22 Hi, first timer here. I am trying to install on a ubuntu server 22.04 (fully updated) with the curl bash method, but at the end i receive always this same message: chown: cannot access '/etc/jellyfin': No such file or directory ERROR: Failed to install Jellyfin. and jelly fish wont run. i have purged and followed numerous tutorials but haven't quite find the same problem. running on a quad core server, with other applications (shinobi, plex, webmin, azuracast to name the most). Any help? Many thanks. RE: Failed to install Jellyfin - TheDreadPirate - 2024-09-22 How did you install Jellyfin? We have an automation script to install Jellyfin for Debian/Ubuntu based distros. Code: curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash RE: Failed to install Jellyfin - satello - 2024-09-23 Hi, yes i have used that method and the result at the end is always the same: chown: cannot access '/etc/jellyfin': No such file or directory ERROR: Failed to install Jellyfin. RE: Failed to install Jellyfin - TheDreadPirate - 2024-09-24 Are you able to share the full output of that curl/bash command? Do you have any unconventional configurations or partitioning? Do you have apparmor or selinux enabled? It sounds like something is preventing the installer from writing to /etc/. RE: Failed to install Jellyfin - satello - 2024-09-28 Hi, I run ubuntu server on a dual boot system, just because this pc (hp prodesk400 g4 sff) doesn't seem to be able to boot from SDD drive. So I use a pen drive with Linux Mint just to boot GRUB and then run Ubuntu server 22.04.5 from a 500GB SSD on a single partition. There is also a USB HDD for storage. System runs fine with a few apps like Home Assistant, Azuracast, Plex. Apparmour check: ggrey@ubuser-2204:~$ aa-status apparmor module is loaded. You do not have enough privilege to read the profile set. ggrey@ubuser-2204:~$ sudo aa-status apparmor module is loaded. 45 profiles are loaded. 45 profiles are in enforce mode. /snap/snapd/21465/usr/lib/snapd/snap-confine /snap/snapd/21465/usr/lib/snapd/snap-confine//mount-namespace-capture-helper /snap/snapd/21759/usr/lib/snapd/snap-confine /snap/snapd/21759/usr/lib/snapd/snap-confine//mount-namespace-capture-helper /usr/bin/man /usr/lib/NetworkManager/nm-dhcp-client.action /usr/lib/NetworkManager/nm-dhcp-helper /usr/lib/connman/scripts/dhclient-script /usr/lib/snapd/snap-confine /usr/lib/snapd/snap-confine//mount-namespace-capture-helper /usr/sbin/chronyd /usr/sbin/haveged /usr/sbin/mysqld /{,usr/}sbin/dhclient docker-default ippusbxd lsb_release man_filter man_groff nvidia_modprobe nvidia_modprobe//kmod snap-update-ns.lxd snap.lxd.activate snap.lxd.benchmark snap.lxd.buginfo snap.lxd.check-kernel snap.lxd.daemon snap.lxd.hook.configure snap.lxd.hook.install snap.lxd.hook.remove snap.lxd.lxc snap.lxd.lxc-to-lxd snap.lxd.lxd snap.lxd.migrate tcpdump ubuntu_pro_apt_news ubuntu_pro_esm_cache ubuntu_pro_esm_cache//apt_methods ubuntu_pro_esm_cache//apt_methods_gpgv ubuntu_pro_esm_cache//cloud_id ubuntu_pro_esm_cache//dpkg ubuntu_pro_esm_cache//ps ubuntu_pro_esm_cache//ubuntu_distro_info ubuntu_pro_esm_cache_systemctl ubuntu_pro_esm_cache_systemd_detect_virt 0 profiles are in complain mode. 0 profiles are in kill mode. 0 profiles are in unconfined mode. 45 processes have profiles defined. 45 processes are in enforce mode. /usr/sbin/chronyd (573 ![]() /usr/sbin/chronyd (5739) /usr/sbin/haveged (764) /usr/sbin/mysqld (1067) /usr/bin/bash (9073) docker-default /usr/sbin/mysqld (9074) docker-default /watchtower (9084) docker-default /app/navidrome (9092) docker-default /usr/bin/tini (10013) docker-default /usr/bin/python3.11 (10110) docker-default /usr/bin/python3.11 (10854) docker-default /usr/sbin/mariadbd (10855) docker-default /usr/bin/redict-check-rdb (10856) docker-default /usr/local/sbin/php-fpm (11235) docker-default /usr/local/bin/centrifugo (11239) docker-default /usr/sbin/nginx (11271) docker-default /usr/sbin/nginx (1127 ![]() /usr/sbin/nginx (11279) docker-default /usr/sbin/nginx (11280) docker-default /usr/sbin/nginx (11281) docker-default /usr/sbin/nginx (11282) docker-default /usr/local/bin/supercronic (11304) docker-default /usr/bin/sftpgo (11307) docker-default /usr/local/bin/icecast (11311) docker-default /usr/local/bin/node (15541) docker-default /usr/local/bin/node (15572) docker-default /package/admin/s6-2.12.0.2/command/s6-svscan (19274) docker-default /package/admin/s6-2.12.0.2/command/s6-supervise (19301) docker-default /package/admin/s6-linux-init-1.1.2.0/command/s6-linux-init-shutdownd (19304) docker-default /package/admin/s6-2.12.0.2/command/s6-supervise (19310) docker-default /package/admin/s6-2.12.0.2/command/s6-supervise (19311) docker-default /package/admin/s6-2.12.0.2/command/s6-ipcserverd (19319) docker-default /package/admin/s6-2.12.0.2/command/s6-supervise (19352) docker-default /usr/local/bin/python3.12 (19354) docker-default /usr/local/bin/node (41809) docker-default /usr/local/bin/node (41882) docker-default /usr/bin/ffmpeg (41895) docker-default /usr/local/bin/node (1137014) docker-default /usr/bin/ffmpeg (1137025) docker-default /usr/bin/liquidsoap (1341435) docker-default /usr/local/sbin/php-fpm (1362841) docker-default /usr/local/sbin/php-fpm (1362842) docker-default /usr/local/sbin/php-fpm (1364645) docker-default /usr/local/bin/php (1366644) docker-default /usr/local/bin/php (1366734) docker-default 0 processes are in complain mode. 0 processes are unconfined but have a profile defined. 0 processes are in mixed mode. 0 processes are in kill mode. selinux: ggrey@ubuser-2204:~$ sestatus Command 'sestatus' not found, but can be installed with: sudo apt install policycoreutils This is the bash ourput: ggrey@ubuser-2204:~$ curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> Determining optimal repository settings. 100 10606 100 10606 0 0 17632 0 --:--:-- --:--:-- --:--:-- 17647 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 http://gb.archive.ubuntu.com/ubuntu jammy InRelease Get:2 http://gb.archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] Hit:3 https://download.docker.com/linux/ubuntu jammy InRelease Hit:4 https://downloads.plex.tv/repo/deb public InRelease Hit:5 http://gb.archive.ubuntu.com/ubuntu jammy-backports InRelease Get:6 http://gb.archive.ubuntu.com/ubuntu jammy-security InRelease [129 kB] Hit:7 https://dl.ui.com/unifi/debian stable InRelease Get:8 https://repo.jellyfin.org/ubuntu jammy InRelease [6,660 B] Get:9 http://gb.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2,066 kB] Get:10 http://gb.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,128 kB] Fetched 3,457 kB in 1s (2,710 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 3 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 NEW packages will be installed: jellyfin 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. Need to get 2,294 B of archives. After this operation, 9,216 B of additional disk space will be used. Get:1 https://repo.jellyfin.org/ubuntu jammy/main amd64 jellyfin all 10.9.11+ubu2204 [2,294 B] Fetched 2,294 B in 1s (2,939 B/s) Selecting previously unselected package jellyfin. (Reading database ... 189943 files and directories currently installed.) Preparing to unpack .../jellyfin_10.9.11+ubu2204_all.deb ... Unpacking jellyfin (10.9.11+ubu2204) ... Setting up jellyfin (10.9.11+ubu2204) ... Scanning processes... Scanning candidates... Scanning processor microcode... Scanning linux images... Running kernel seems to be up-to-date. The processor microcode seems to be up-to-date. Restarting services... systemctl restart smbd.service No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. chown: cannot access '/etc/jellyfin': No such file or directory ERROR: Failed to install Jellyfin. Use https://jellyfin.org/contact to find us for troubleshooting. Hope this helps. Thanks for your time. RE: Failed to install Jellyfin - TheDreadPirate - 2024-09-28 Does /etc/jellyfin already exist? Code: sudo ls -l /etc/jellyfin RE: Failed to install Jellyfin - Jellyfin_13 - 2025-02-28 (2024-09-22, 06:31 PM)TheDreadPirate Wrote: How did you install Jellyfin? We have an automation script to install Jellyfin for Debian/Ubuntu based distros. Hello, i am also new to jellyfin and in generell new to home media server. I installed the newest version of proxmox and a virtual machine with ubuntu on this server. Now i am trying to install jellyfin via the console (VM -> Ubuntu) with the recommended installation code (curl -s https://repo.jellyfin.org/install-debuntu.sh | sudo bash) After that the installation process is starting and i have to confirm the installation via <Enter>. The installation process continues and a few seconds later stops by showing: "chown: cannot access '/etc/jellyfin': No such file or directory." and "ERROR: Failed to install Jellyfin." I also checked the command: sudo ls -l /etc/jellyfin -> cannot access '/etc/jellyfin': No such file or directory. Would highly appreciate if someone can help. Thanks! *** Fixed it, by manually creating the folder (sudo mkdir -p /etc/jellyfin) and re-installation of jellyfin *** RE: Failed to install Jellyfin - TheDreadPirate - 2025-02-28 (2025-02-28, 10:14 AM)Jellyfin_13 Wrote:(2024-09-22, 06:31 PM)TheDreadPirate Wrote: How did you install Jellyfin? We have an automation script to install Jellyfin for Debian/Ubuntu based distros. Double checked on my desktop and the install went through without having to mkdir /etc/jellyfin. So not sure what prevented that directory from being created on your system during the install. |