• 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
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Cannot change Web-Files path - by YP2743 - 2024-07-15, 04:15 PM
    RE: Cannot change Web-Files path - by TheDreadPirate - 2024-07-15, 06:03 PM

    • 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