• 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 Media Scanning & Identification The path could not be found (Ubuntu local install)

    Pages (3): « Previous 1 2 3

     
    • 0 Vote(s) - 0 Average

    The path could not be found (Ubuntu local install)

    Local installation of Jellyfin Version 10.8.13 on an Ubuntu 20.04.6LTS filesystem with media on a second HDD. When I attempt to add my media folder Jellyfin returns the error, "The path could not be found."
    innerspaceboy
    Offline

    Junior Member

    Posts: 19
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #21
    2024-04-11, 04:46 PM (This post was last modified: 2024-04-11, 04:46 PM by innerspaceboy.)
    (2024-04-11, 04:42 PM)TheDreadPirate Wrote: What is the output of "cat /proc/mounts"?

    I just posted an update following the reboot and then saw your simultaneous post with the question. I didn't see a "cat" folder but located COMPUTER > proc > mounts. Capture of its contents below.  Let me know if I have the incorrect file. Thanks!

    sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
    proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
    udev /dev devtmpfs rw,nosuid,noexec,relatime,size=3913636k,nr_inodes=978409,mode=755,inode64 0 0
    devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
    tmpfs /run tmpfs rw,nosuid,nodev,noexec,relatime,size=790876k,mode=755,inode64 0 0
    /dev/sdb2 / ext4 rw,relatime,errors=remount-ro 0 0
    securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
    tmpfs /dev/shm tmpfs rw,nosuid,nodev,inode64 0 0
    tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k,inode64 0 0
    tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755,inode64 0 0
    cgroup2 /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0
    cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd 0 0
    pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
    efivarfs /sys/firmware/efi/efivars efivarfs rw,nosuid,nodev,noexec,relatime 0 0
    bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
    cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
    cgroup /sys/fs/cgroup/rdma cgroup rw,nosuid,nodev,noexec,relatime,rdma 0 0
    cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0
    cgroup /sys/fs/cgroup/misc cgroup rw,nosuid,nodev,noexec,relatime,misc 0 0
    cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0
    cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
    cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0
    cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
    cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
    cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
    cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
    cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
    systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=18658 0 0
    mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
    debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
    tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0
    hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0
    configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
    fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
    /dev/loop0 /snap/audacity/1051 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop1 /snap/bare/5 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop2 /snap/clementine/1756 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop3 /snap/clementine/1765 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop7 /snap/core18/2812 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop5 /snap/core/16928 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop4 /snap/core/16574 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop6 /snap/core20/2182 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop20 /snap/gtk-common-themes/1535 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop11 /snap/core22/1033 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop14 /snap/gimp/428 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop17 /snap/gnome-42-2204/172 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop18 /snap/gnome-3-38-2004/140 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop16 /snap/gnome-3-34-1804/90 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop10 /snap/core20/2264 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop19 /snap/gnome-42-2204/141 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop15 /snap/gnome-3-34-1804/93 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop13 /snap/core22/1122 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop12 /snap/cups/1024 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop8 /snap/core18/2796 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop9 /snap/cups/1041 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop24 /snap/gnome-3-38-2004/143 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop21 /snap/gtk2-common-themes/13 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop22 /snap/gimp/418 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop28 /snap/kf5-5-111-qt-5-15-11-core22/5 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop27 /snap/krita/100 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop26 /snap/kf5-5-104-qt-5-15-8-core22/9 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop23 /snap/gtk-common-themes/1506 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop25 /snap/kf5-5-108-qt-5-15-10-core22/5 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop31 /snap/kf5-5-113-qt-5-15-11-core22/1 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop29 /snap/krita/102 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop30 /snap/kf5-5-111-qt-5-15-11-core22/7 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop35 /snap/mame/4237 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop32 /snap/retroarch/2448 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop34 /snap/mame/4278 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop33 /snap/retroarch/2648 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop38 /snap/snapd/21184 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop36 /snap/snap-store/1113 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop37 /snap/snap-store/959 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop39 /snap/vlc/3777 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop41 /snap/spek/59 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop40 /snap/vlc/3721 squashfs ro,nodev,relatime,errors=continue 0 0
    /dev/loop42 /snap/snapd/20671 squashfs ro,nodev,relatime,errors=continue 0 0
    binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
    /dev/sdb1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
    tmpfs /run/snapd/ns tmpfs rw,nosuid,nodev,noexec,relatime,size=790876k,mode=755,inode64 0 0
    nsfs /run/snapd/ns/cups.mnt nsfs rw 0 0
    tmpfs /run/user/1000 tmpfs rw,nosuid,nodev,relatime,size=790872k,mode=700,uid=1000,gid=1000,inode64 0 0
    gvfsd-fuse /run/user/1000/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0
    /dev/fuse /run/user/1000/doc fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0
    nsfs /run/snapd/ns/snap-store.mnt nsfs rw 0 0
    /dev/mapper/luks-0c5752c7-2c47-47a1-b5e7-8990580f7cea /media/innerspacelabs/Classy\040Bastard ext4 rw,nosuid,nodev,relatime 0 0

    cat /proc/mounts"
    innerspaceboy
    Offline

    Junior Member

    Posts: 19
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #22
    2024-04-11, 04:53 PM
    (2024-04-11, 04:45 PM)TheDreadPirate Wrote:
    Code:
    [2024-04-11 12:35:53.931 -04:00] [ERR] Error in Directory watcher for: "/"
    System.UnauthorizedAccessException: Access to the path '/snap/core20/2264/etc/ssl/private' is denied.
    ---> System.IO.IOException: Permission denied
      --- End of inner exception stack trace ---
    [2024-04-11 12:35:53.934 -04:00] [INF] Stopping directory watching for path "/"

    Pretty sure this is breaking the scan.  Did you check the contents of /var/lib/jellyfin/root/default?

    I just replied to your other post with the contents of proc/mounts. Now I see your post asking for the contents of /var/lib/jellyfin/root/default. 

    I took a look at that. 

    The folder contains 3 files:

    - movies.collection
    - options.xml
    - Video 2023.mblink

    movies.collection is a blank document.

    Video 2023.mblink contains one line which reads "/media/innerspacelabs/Classy Bastard/Video 2023"

    And options.xml contains the following code with the correct folder URL under "MediaPathInfo." Paste below:

    LibraryOptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <EnablePhotos>true</EnablePhotos>
    <EnableRealtimeMonitor>true</EnableRealtimeMonitor>
    <EnableChapterImageExtraction>false</EnableChapterImageExtraction>
    <ExtractChapterImagesDuringLibraryScan>false</ExtractChapterImagesDuringLibraryScan>
    <PathInfos>
    <MediaPathInfo>
    <Path>/media/innerspacelabs/Classy Bastard/Video 2023</Path>
    </MediaPathInfo>
    </PathInfos>
    <SaveLocalMetadata>false</SaveLocalMetadata>
    <EnableAutomaticSeriesGrouping>false</EnableAutomaticSeriesGrouping>
    <EnableEmbeddedTitles>false</EnableEmbeddedTitles>
    <EnableEmbeddedEpisodeInfos>false</EnableEmbeddedEpisodeInfos>
    <AutomaticRefreshIntervalDays>0</AutomaticRefreshIntervalDays>
    <PreferredMetadataLanguage>en</PreferredMetadataLanguage>
    <MetadataCountryCode>US</MetadataCountryCode>
    <SeasonZeroDisplayName>Specials</SeasonZeroDisplayName>
    <MetadataSavers/>
    <DisabledLocalMetadataReaders/>
    <LocalMetadataReaderOrder>
    <string>Nfo</string>
    </LocalMetadataReaderOrder>
    <DisabledSubtitleFetchers/>
    <SubtitleFetcherOrder/>
    <SkipSubtitlesIfEmbeddedSubtitlesPresent>false</SkipSubtitlesIfEmbeddedSubtitlesPresent>
    <SkipSubtitlesIfAudioTrackMatches>false</SkipSubtitlesIfAudioTrackMatches>
    <SubtitleDownloadLanguages/>
    <RequirePerfectSubtitleMatch>true</RequirePerfectSubtitleMatch>
    <SaveSubtitlesWithMedia>true</SaveSubtitlesWithMedia>
    <AutomaticallyAddToCollection>false</AutomaticallyAddToCollection>
    <AllowEmbeddedSubtitles>AllowAll</AllowEmbeddedSubtitles>
    <TypeOptions>
    <TypeOptions>
    <Type>Movie</Type>
    <MetadataFetchers>
    <string>TheMovieDb</string>
    <string>The Open Movie Database</string>
    </MetadataFetchers>
    <MetadataFetcherOrder>
    <string>TheMovieDb</string>
    <string>The Open Movie Database</string>
    </MetadataFetcherOrder>
    <ImageFetchers>
    <string>TheMovieDb</string>
    <string>The Open Movie Database</string>
    <string>Embedded Image Extractor</string>
    <string>Screen Grabber</string>
    </ImageFetchers>
    <ImageFetcherOrder>
    <string>TheMovieDb</string>
    <string>The Open Movie Database</string>
    <string>Embedded Image Extractor</string>
    <string>Screen Grabber</string>
    </ImageFetcherOrder>
    <ImageOptions/>
    </TypeOptions>
    </TypeOptions>
    </LibraryOptions>
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #23
    2024-04-11, 05:02 PM
    Something is lingering, but I don't know where. Are you ok with purging Jellyfin and starting over? You have nothing you need to preserve, correct? If so, follow these directions to ensure we have a clean start.

    Code:
    sudo systemctl stop jellyfin
    sudo apt purge jellyfin*

    Now we are going to manually delete Jellyfin's data dir and config dir.

    Code:
    sudo rm -rf /var/lib/jellyfin /etc/jellyfin

    Install from our repo via the auto-install script

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

    It will automatically start the Jellyfin service.
    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]
    innerspaceboy
    Offline

    Junior Member

    Posts: 19
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #24
    2024-04-11, 05:07 PM (This post was last modified: 2024-04-11, 05:10 PM by innerspaceboy. Edited 2 times in total.)
    (2024-04-11, 05:02 PM)TheDreadPirate Wrote: Something is lingering, but I don't know where. Are you ok with purging Jellyfin and starting over? You have nothing you need to preserve, correct? If so, follow these directions to ensure we have a clean start.

    Code:
    sudo systemctl stop jellyfin
    sudo apt purge jellyfin*

    Now we are going to manually delete Jellyfin's data dir and config dir.

    Code:
    sudo rm -rf /var/lib/jellyfin /etc/jellyfin

    Install from our repo via the auto-install script

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

    It will automatically start the Jellyfin service.

    Thank you - that was my line of thinking for our next step as well. 

    I ran all the commands you so kindly provided in order. When I ran the final curl command and hit return after the information appeared in the terminal, it showed a lot of info ending with an error message. I captured the error:

    ERROR: Failed to update APT repositories. Something is wrong with your APT sources, GPG keys, or Internet connection. Try again shortly or use https://jellyfin.org/contact to find us for troubleshooting.

    Does that matter or should I proceed with creating a user account and adding the folder? EDIT: Ah, I see I can't access the Jellyfin dashboard URL due to the error - it hasn't installed.

    Here's a full capture of what it returned when I ran the curl command:

      % 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.

    Found the following details from '/etc/os-release':
      Real OS:            ubuntu
      Repository OS:      ubuntu
      Repository Release: focal
      CPU Architecture:  amd64
    100 10356  100 10356    0    0  31962      0 --:--:-- --:--:-- --:--:-- 32061


    > Fetching repository signing key.

    > Found old-style '/etc/apt/sources.list.d/jellyfin.list' configuration; removing it.

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

    > Updating APT repositories.
    Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
    Hit:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease             
    Hit:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease           
    Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease             
    Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease                 
    Hit:6 https://repo.jellyfin.org/ubuntu focal InRelease                       
    Hit:7 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu focal InRelease 
    Hit:8 http://ppa.launchpad.net/libretro/stable/ubuntu focal InRelease
    Hit:9 http://ppa.launchpad.net/libretro/testing/ubuntu focal InRelease
    Ign:10 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu focal InRelease
    Ign:11 http://ppa.launchpad.net/videolan/stable-daily/ubuntu focal InRelease
    Err:12 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu focal Release
      404  Not Found [IP: 185.125.190.80 80]
    Err:13 http://ppa.launchpad.net/videolan/stable-daily/ubuntu focal Release
      404  Not Found [IP: 185.125.190.80 80]
    Reading package lists... Done
    E: The repository 'http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu focal Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(Nerd-face manpage for repository creation and user configuration details.
    E: The repository 'http://ppa.launchpad.net/videolan/stable-daily/ubuntu focal Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(Nerd-face manpage for repository creation and user configuration details.
    ERROR: Failed to update APT repositories. Something is wrong with your APT sources, GPG keys, or Internet connection. Try again shortly or use https://jellyfin.org/contact to find us for troubleshooting.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #25
    2024-04-11, 05:23 PM
    The script will not setup our repo if there are ANY issues in your apt config.

    Code:
    Ign:10 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu focal InRelease
    Ign:11 http://ppa.launchpad.net/videolan/stable-daily/ubuntu focal InRelease
    Err:12 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu focal Release
      404  Not Found [IP: 185.125.190.80 80]
    Err:13 http://ppa.launchpad.net/videolan/stable-daily/ubuntu focal Release
      404  Not Found [IP: 185.125.190.80 80]

    These PPAs are probably outdated/invalid. Remove them temporarily or permanently and try the curl command again.

    A guide to removing PPAs.

    https://www.omgubuntu.co.uk/2019/12/how-...ppa-ubuntu
    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]
    innerspaceboy
    Offline

    Junior Member

    Posts: 19
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #26
    2024-04-11, 05:40 PM (This post was last modified: 2024-04-11, 05:40 PM by innerspaceboy.)
    OKAY! Progress!

    I experimented a bit and found that by launching the Software & Updates GUI I could uncheck and update the installed PPAs to remove the problematic ones.

    Then I re-executed the curl command and it installed Jellyfin successfully!

    After installation it said to wait 15 seconds for Jellyfin to launch.

    I opened the local IP and port address in my browser and it prompts me to select the only server (my PC) and then a window pops up with a "connect" button. Clicking that it returns the error, "We're unable to connect to the selected server right now. Please ensure it is running and try again."

    I tried typing "jellyfin" in the terminal and see an error message. It returns this:

    13:38:57] [INF] [1] Main: Jellyfin version: 10.8.13
    [13:38:57] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /home/innerspacelabs/.local/share/jellyfin/log]"]
    [13:38:57] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll"]
    [13:38:57] [INF] [1] Main: Operating system: Linux
    [13:38:57] [INF] [1] Main: Architecture: X64
    [13:38:57] [INF] [1] Main: 64-Bit Process: True
    [13:38:57] [INF] [1] Main: User Interactive: True
    [13:38:57] [INF] [1] Main: Processor count: 4
    [13:38:57] [INF] [1] Main: Program data path: /home/innerspacelabs/.local/share/jellyfin
    [13:38:57] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/bin/jellyfin-web
    [13:38:57] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
    [13:38:57] [ERR] [1] Main: The server is expected to host the web client, but the provided content directory is either invalid or empty: /usr/lib/jellyfin/bin/jellyfin-web. If you do not want to host the web client with the server, you may set the '--nowebclient' command line flag, or set'hostwebclient=false' in your config settings.
    [13:38:57] [INF] [2] Main: Received a SIGTERM signal, shutting down

    Are we getting close?
    innerspaceboy
    Offline

    Junior Member

    Posts: 19
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #27
    2024-04-11, 06:03 PM (This post was last modified: 2024-04-11, 06:08 PM by innerspaceboy. Edited 1 time in total.)
    @TheDreadPirate Supplemental to my last post from 20 mins ago where I confirmed that the new curl command completed the installation successfully following the removal of the offending PPAs, I googled the error "The server is expected to host the web client, but the provided content directory is either invalid or empty: /usr/lib/jellyfin/bin/jellyfin-web" I found this - https://github.com/jellyfin/jellyfin/issues/3638

    So I ran this:

    sudo ln -s /usr/share/jellyfin/web/ /usr/lib/jellyfin/bin/jellyfin-web

    Now when I type "jellyfin" in terminal I get this:

    [14:00:18] [INF] [1] Main: Jellyfin version: 10.8.13
    [14:00:19] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /home/innerspacelabs/.local/share/jellyfin/log]"]
    [14:00:19] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll"]
    [14:00:19] [INF] [1] Main: Operating system: Linux
    [14:00:19] [INF] [1] Main: Architecture: X64
    [14:00:19] [INF] [1] Main: 64-Bit Process: True
    [14:00:19] [INF] [1] Main: User Interactive: True
    [14:00:19] [INF] [1] Main: Processor count: 4
    [14:00:19] [INF] [1] Main: Program data path: /home/innerspacelabs/.local/share/jellyfin
    [14:00:19] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/bin/jellyfin-web
    [14:00:19] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
    [14:00:19] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration"]
    [14:00:19] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /home/innerspacelabs/.cache/jellyfin
    [14:00:19] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
    [14:00:19] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
    [14:00:19] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : []
    [14:00:19] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
    [14:00:19] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
    [14:00:19] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: []
    [14:00:20] [INF] [1] Jellyfin.Server.Implementations.JellyfinDbProvider: There are pending EFCore migrations in the database. Applying... (This may take a while, do not stop Jellyfin)
    [14:00:20] [INF] [1] Jellyfin.Server.Implementations.JellyfinDbProvider: EFCore migrations applied successfully
    [14:00:20] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
    [14:00:20] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /home/innerspacelabs/.cache/jellyfin
    [14:00:20] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.8.13.0
    [14:00:20] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.8.13.0
    [14:00:20] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.8.13.0
    [14:00:20] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.8.13.0
    [14:00:20] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.8.13.0
    [14:00:20] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["DisableTranscodingThrottling", "CreateLoggingConfigHeirarchy", "MigrateActivityLogDatabase", "RemoveDuplicateExtras", "MigrateUserDatabase", "MigrateDisplayPreferencesDatabase", "RemoveDownloadImagesInAdvance", "MigrateAuthenticationDatabase"]
    [14:00:20] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'AddDefaultPluginRepository'
    [14:00:20] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
    [14:00:20] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /home/innerspacelabs/.cache/jellyfin
    [14:00:20] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Migration 'AddDefaultPluginRepository' applied successfully
    [14:00:20] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'ReaddDefaultPluginRepository'
    [14:00:20] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Migration 'ReaddDefaultPluginRepository' applied successfully
    [14:00:20] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'AddPeopleQueryIndex'
    [14:00:20] [INF] [1] Jellyfin.Server.Migrations.Routines.AddPeopleQueryIndex: Creating index idx_TypedBaseItemsUserDataKeyType
    [14:00:20] [INF] [1] Jellyfin.Server.Migrations.Routines.AddPeopleQueryIndex: Creating index idx_PeopleNameListOrder
    [14:00:20] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Migration 'AddPeopleQueryIndex' applied successfully
    [14:00:20] [INF] [1] Main: Kestrel listening on Any IP4 Address
    [14:00:21] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {88ad8a29-c1a4-4c9c-b40e-f5d06f16669e} may be persisted to storage in unencrypted form.
    [14:00:21] [ERR] [1] Main: Kestrel failed to start! This is most likely due to an invalid address or port bind - correct your bind configuration in network.xml and try again.
    [14:00:21] [FTL] [1] Main: Error while starting server.
    System.IO.IOException: Failed to bind to address http://0.0.0.0:8096: address already in use.
    ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
    ---> System.Net.Sockets.SocketException (9Nerd-face: Address already in use
      at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
      at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
      at System.Net.Sockets.Socket.Bind(EndPoint localEP)
      at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
      at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
      --- End of inner exception stack trace ---
      at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
      at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass30_01.<<StartAsync>g__OnBind|0>d.MoveNext()
    --- End of stack trace from previous location ---
      at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
      --- End of inner exception stack trace ---
      at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IEnumerable
    1 listenOptions, AddressBindContext context, CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Hosting.WebHost.StartAsync(CancellationToken cancellationToken)
      at Jellyfin.Server.Program.StartApp(StartupOptions options)
    [14:00:21] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
    [14:00:21] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
    [14:00:21] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzAlbumProvider
    [14:00:21] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing SchedulesDirect
    [14:00:21] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing EmbyTV
    [14:00:21] [INF] [2] Main: Received a SIGTERM signal, shutting down

    And I still can't connect to the server via the web browser. It still prompts me to select the only server (my PC) and then a window pops up with a "connect" button. Clicking that it returns the error, "We're unable to connect to the selected server right now. Please ensure it is running and try again."

    It looks like the red flag is this part of the message:

    Main: Error while starting server.
    System.IO.IOException: Failed to bind to address http://0.0.0.0:8096: address already in use.

    I'll await your word before I touch anything else.
    innerspaceboy
    Offline

    Junior Member

    Posts: 19
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #28
    2024-04-11, 06:18 PM
    @TheDreadPirate WAIT -

    I can connect to http://0.0.0.0:8096/

    That pulls up a prompt to create a UN and PWD for Jellyfin. I created innerspacelabs again.

    I then added the /media/innerspacelabs/Classy Bastard/Video 2023 folder.

    IT'S SCANNING! IT'S AT 76%!

    So the old path of http://127.0.0.1:8096/ doesn't work, but http://0.0.0.0:8096/ does!

    That was just a wild guess but it appears to be building the library!

    I'll update this once it's finished processing. Whew!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #29
    2024-04-11, 06:32 PM
    You should be using "systemctl start jellyfin" to start it.
    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]
    innerspaceboy
    Offline

    Junior Member

    Posts: 19
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #30
    2024-04-11, 07:07 PM
    Okay. The initial scan of 6,600+ video objects took a mere 20 minutes which is fantastic.

    At first glance I see that I've a lot of work ahead of me because I had constructed this library over the past decade for folder navigation, so there are no uniform file naming conventions which make the metadata-based navigation of Jellyfin a challenge. I'll have to explore the automated restructuring features of the application if I want to make this usable.

    I'll keep my music library in Subsonic, as I've again used folder-based hierarchical structures for various sound libraries so they're better-navigated by folder path. That's okay.

    And I was a bit spoiled by Subsonic providing a simple check box and custom URL field to access content from external devices outside the local network on Subsonic's parent domain. But I'll do a little reading as I'm seeing multiple avenues for remote access in Jellyfin, and I love JF's commitment to data privacy.

    Thanks again for all the quick responses and for your patience while we got it working, especially on a weekday. I really appreciate all your help.

    I think we can close out this request for trouble with the installation and the initial scan. I've saved everything you provided in my notes for future reference.

    Cheers!
    Pages (3): « Previous 1 2 3

    « Next Oldest | Next Newest »

    Users browsing this thread: 5 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