• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Failed to install Jellyfin

     
    • 0 Vote(s) - 0 Average

    Failed to install Jellyfin

    chown: cannot access '/etc/jellyfin': No such file or directory
    satello
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    #1
    2024-09-22, 01:49 PM
    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.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-09-22, 06:31 PM (This post was last modified: 2024-09-22, 06:31 PM by TheDreadPirate.)
    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
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    satello
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    #3
    2024-09-23, 07:20 PM
    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.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-09-24, 01:37 PM (This post was last modified: 2024-09-24, 01:38 PM by TheDreadPirate.)
    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/.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    satello
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    #5
    2024-09-28, 05:37 PM
    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 (573Nerd-face
    /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 (1127Nerd-face docker-default
    /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.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-09-28, 11:27 PM
    Does /etc/jellyfin already exist?

    Code:
    sudo ls -l /etc/jellyfin
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Jellyfin_13
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2025 Feb
    Reputation: 0
    #7
    2025-02-28, 10:14 AM (This post was last modified: 2025-02-28, 12:55 PM by Jellyfin_13. Edited 2 times in total.)
    (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.

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

    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 ***
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2025-02-28, 02:15 PM
    (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.

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

    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 ***

    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.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode