• 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 Cannot change Web-Files path

     
    • 0 Vote(s) - 0 Average

    Cannot change Web-Files path

    After a restart of my server, my web interface only show a black screen
    YP2743
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    #1
    2024-07-15, 04:15 PM
    Hello everyone I'm having a problem with the Web-Files path. My path is at "/usr/share/jellyfin/web". After I have a restart of my server for some reasons the path is changed to "/usr/lib/jellyfin/bin/jellyfin-web" which does not existed so when I try to access the web interface i see a blank screen. But when i use "systemctl status jellyfin" I see that my webdir is correctly at "/usr/share/jellyfin/web" but when I use the jellyfin command line it tells me that the webdir is at "/usr/lib/jellyfin/bin/jellyfin-web". 

    I even try to edit the " jellyfin.service " file to use the --webdir option but stills have the same problem. I start my jellyfin service using "systemctl start jellyfin".

    (systemctl status jellyfin)

    root@ypserverConfused-face# systemctl status jellyfin
    ● jellyfin.service - Jellyfin Media Server
        Loaded: loaded (/etc/systemd/system/jellyfin.service; enabled; vendor preset: enabled)
        Active: active (running) since Mon 2024-07-15 22:52:55 +07; 11min ago
      Main PID: 4405 (jellyfin)
          Tasks: 26 (limit: 18965)
        Memory: 316.4M
            CPU: 13.682s
        CGroup: /system.slice/jellyfin.service
                └─4405 /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg

    Jul 15 22:58:09 ypserver jellyfin[4405]:    at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
    Jul 15 22:58:09 ypserver jellyfin[4405]:    at Emby.Server.Implementations.Data.SqliteExtensions.ExecuteQuery(SqliteCommand >Jul 15 22:58:09 ypserver jellyfin[4405]:    at Emby.Server.Implementations.Data.SqliteItemRepository.GetItemList(InternalIte>Jul 15 22:58:09 ypserver jellyfin[4405]:    at Emby.Server.Implementations.Library.LibraryManager.GetItemList(InternalItemsQ>Jul 15 22:58:09 ypserver jellyfin[4405]:    at Emby.Server.Implementations.Library.LibraryManager.GetItemList(InternalItemsQ>Jul 15 22:58:09 ypserver jellyfin[4405]:    at Emby.Server.Implementations.ScheduledTasks.Tasks.AudioNormalizationTask.Execu>Jul 15 22:58:09 ypserver jellyfin[4405]:    at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInterna>Jul 15 22:58:09 ypserver jellyfin[4405]: [22:58:09] [INF] [33] Emby.Server.Implementations.ScheduledTasks.TaskManager: Audio>Jul 15 23:01:02 ypserver jellyfin[4405]: [23:01:02] [INF] [22] Emby.Server.Implementations.Session.SessionWebSocketListener:>Jul 15 23:03:50 ypserver jellyfin[4405]: [23:03:50] [INF] [17] Emby.Server.Implementations.Session.SessionWebSocketListener:>


    (jellyfin)

    root@ypserverConfused-face# jellyfin
    [23:07:08] [INF] [1] Main: Jellyfin version: 10.9.7
    [23:07:08] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /root/.local/share/jellyfin/log]"]
    [23:07:08] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll"]
    [23:07:08] [INF] [1] Main: Operating system: Ubuntu 22.04.4 LTS
    [23:07:08] [INF] [1] Main: Architecture: X64
    [23:07:08] [INF] [1] Main: 64-Bit Process: True
    [23:07:08] [INF] [1] Main: User Interactive: True
    [23:07:08] [INF] [1] Main: Processor count: 12
    [23:07:08] [INF] [1] Main: Program data path: /root/.local/share/jellyfin
    [23:07:08] [INF] [1] Main: Log directory path: /root/.local/share/jellyfin/log
    [23:07:08] [INF] [1] Main: Config directory path: /root/.config/jellyfin
    [23:07:08] [INF] [1] Main: Cache path: /root/.cache/jellyfin
    [23:07:08] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/bin/jellyfin-web
    [23:07:08] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
    [23:07:08] [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


    (jellyfin.service file)
                        
    [Unit]
    Description = Jellyfin Media Server
    After = network-online.target

    [Service]
    Type = simple
    EnvironmentFile = /etc/default/jellyfin
    User = jellyfin
    Group = jellyfin
    WorkingDirectory = /var/lib/jellyfin
    ExecStart = /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP>
    Restart = on-failure
    TimeoutSec = 15
    SuccessExitStatus=0 143

    [Install]
    WantedBy = multi-user.target


    (Ubuntu version)

    Distributor ID: Ubuntu
    Description:    Ubuntu 22.04.4 LTS
    Release:        22.04
    Codename:      jammy
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 11,852
    Threads: 10
    Joined: 2023 Jun
    Reputation: 347
    Country:United States
    #2
    2024-07-15, 06:03 PM
    Do not run Jellyfin by simply typing "jellyfin". The service file contains a bunch of parameters that point Jellyfin-web to the correct directory, among other options, that simply typing "jellyfin" does not include.

    Try to avoid editing the service files. The "JELLYFIN_WEB_OPT" variable is defined in /etc/default/jellyfin and correctly points to /usr/share/jellyfin/web. Revert the manual change you made.

    Always start Jellyfin with systemctl. It should be starting on boot anyway.
    Jellyfin 10.10.3 (Docker)
    Ubuntu 24.04 LTS 
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
    [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