• 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 SOLVED: I restarted my server from web (button), but failed to restart.

     
    • 0 Vote(s) - 0 Average

    SOLVED: I restarted my server from web (button), but failed to restart.

    jaiovi
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:Mexico
    #1
    2024-07-10, 03:16 PM (This post was last modified: 2024-07-10, 05:20 PM by jaiovi. Edited 2 times in total.)
    Hello! 
    Jellyfin 1.9.7 - installed one liner
    Ubuntu 22.0 A1 compute OCI

    I restarted my server from web (button), but failed to restart. Trying to "sudo systemctl start jellyfin" again showed this status code

    Code:
    ubuntu@cine-kixta:/var/log/jellyfin$ sudo service jellyfin status
    × jellyfin.service - Jellyfin
        Loaded: loaded (/etc/systemd/system/jellyfin.service; enabled; vendor preset: enabled)
        Drop-In: /etc/systemd/system/jellyfin.service.d
                └─jellyfin.service.conf
        Active: failed (Result: exit-code) since Wed 2024-07-10 14:31:56 UTC; 11min ago
        Process: 1727 ExecStart=/opt/jellyfin/jellyfin.sh (code=exited, status=203/EXEC)
      Main PID: 1727 (code=exited, status=203/EXEC)
            CPU: 764us

    Jul 10 14:31:56 cine-kixta systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
    Jul 10 14:31:56 cine-kixta systemd[1]: Stopped Jellyfin.
    Jul 10 14:31:56 cine-kixta systemd[1]: jellyfin.service: Start request repeated too quickly.
    Jul 10 14:31:56 cine-kixta systemd[1]: jellyfin.service: Failed with result 'exit-code'.
    Jul 10 14:31:56 cine-kixta systemd[1]: Failed to start Jellyfin.

    I noticed that in /var/logs/jellyfin this status

    Code:
    [2024-07-10 13:19:47.452 +00:00] [INF] Remote IP filter is "Allowlist"
    [2024-07-10 13:19:47.453 +00:00] [INF] Filtered subnets: []
    [2024-07-10 13:19:47.575 +00:00] [FTL] Error while starting server
    Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
      at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
      at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
      at Emby.Server.Implementations.Data.SqliteExtensions.Execute(SqliteConnection sqliteConnection, String commandText)
      at Emby.Server.Implementations.Data.ManagedConnection.Execute(String commandText)
      at Emby.Server.Implementations.Data.BaseSqliteRepository.Initialize()
      at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize()
      at Emby.Server.Implementations.ApplicationHost.InitializeServices()
      at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
    [2024-07-10 13:19:47.583 +00:00] [INF] Running query planner optimizations in the database... This might take a while
    [2024-07-10 13:19:47.585 +00:00] [INF] Disposing "CoreAppHost"
    [2024-07-10 13:19:47.586 +00:00] [INF] Disposing "PluginManager"

    I made chown to ubuntu and jellyfin, none of them worked

    Code:
    sudo chown -R jellyfin:jellyfin /var/lib/jellyfin

    sudo chmod -R u+rw /var/lib/jellyfin

    Even restarting, the log didnt regenerate (where's saved then?)

    Also I noticed that /opt/jellyfin/jellyfin.sh didn't existed, so I created this file:
    Code:
    #!/bin/bash

    /usr/bin/jellyfin

    And now we have 1 exit code:
    Code:
    × jellyfin.service - Jellyfin
        Loaded: loaded (/etc/systemd/system/jellyfin.service; enabled; vendor preset: enabled)
        Drop-In: /etc/systemd/system/jellyfin.service.d
                └─jellyfin.service.conf
        Active: failed (Result: exit-code) since Wed 2024-07-10 14:59:26 UTC; 2s ago
        Process: 2374 ExecStart=/opt/jellyfin/jellyfin.sh (code=exited, status=1/FAILURE)
      Main PID: 2374 (code=exited, status=1/FAILURE)
            CPU: 327ms

    Jul 10 14:59:26 cine-kixta systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
    Jul 10 14:59:26 cine-kixta systemd[1]: Stopped Jellyfin.
    Jul 10 14:59:26 cine-kixta systemd[1]: jellyfin.service: Start request repeated too quickly.
    Jul 10 14:59:26 cine-kixta systemd[1]: jellyfin.service: Failed with result 'exit-code'.
    Jul 10 14:59:26 cine-kixta systemd[1]: Failed to start Jellyfin.


    sudo journalctl -u jellyfin gets:
    Code:
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2578]: [15:15:53] [INF] [1] Main: Log directory path: /home/ubuntu/.local/share/jellyfin/log
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2578]: [15:15:53] [INF] [1] Main: Config directory path: /home/ubuntu/.config/jellyfin
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2578]: [15:15:53] [INF] [1] Main: Cache path: /home/ubuntu/.cache/jellyfin
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2578]: [15:15:53] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/bin/jellyfin-web
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2578]: [15:15:53] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2578]: [15:15:53] [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/jellyf>
    Jul 10 15:15:53 cine-kixta systemd[1]: [b]jellyfin.service: Main process exited, code=exited, status=1/FAILURE[/b]
    Jul 10 15:15:53 cine-kixta systemd[1]: [b]jellyfin.service: Failed with result 'exit-code'.[/b]
    Jul 10 15:15:53 cine-kixta systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 4.
    Jul 10 15:15:53 cine-kixta systemd[1]: Stopped Jellyfin.
    Jul 10 15:15:53 cine-kixta systemd[1]: Started Jellyfin.
    Jul 10 15:15:53 cine-kixta systemd[1]: Started Jellyfin.
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2589]: [15:15:53] [INF] [1] Main: Jellyfin version: 10.9.7
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2589]: [15:15:53] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /home/ubuntu/.local/share/jellyfin/log]"]
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2589]: [15:15:53] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll"]
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2589]: [15:15:53] [INF] [1] Main: Operating system: Ubuntu 22.04.4 LTS
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2589]: [15:15:53] [INF] [1] Main: Architecture: Arm64
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2589]: [15:15:53] [INF] [1] Main: 64-Bit Process: True
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2589]: [15:15:53] [INF] [1] Main: User Interactive: True
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2589]: [15:15:53] [INF] [1] Main: Processor count: 2
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2589]: [15:15:53] [INF] [1] Main: Program data path: /home/ubuntu/.local/share/jellyfin
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2589]: [15:15:53] [INF] [1] Main: Log directory path: /home/ubuntu/.local/share/jellyfin/log
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2589]: [15:15:53] [INF] [1] Main: Config directory path: /home/ubuntu/.config/jellyfin
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2589]: [15:15:53] [INF] [1] Main: Cache path: /home/ubuntu/.cache/jellyfin
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2589]: [15:15:53] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/bin/jellyfin-web
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2589]: [15:15:53] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
    Jul 10 15:15:53 cine-kixta jellyfin.sh[2589]: [15:15:53] [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/jellyf>
    Jul 10 15:15:53 cine-kixta systemd[1]: jellyfin.service: Main process exited, code=exited, status=1/FAILURE
    Jul 10 15:15:53 cine-kixta systemd[1]: jellyfin.service: Failed with result 'exit-code'.
    Jul 10 15:15:54 cine-kixta systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
    Jul 10 15:15:54 cine-kixta systemd[1]: Stopped Jellyfin.
    Jul 10 15:15:54 cine-kixta systemd[1]: jellyfin.service: Start request repeated too quickly.
    Jul 10 15:15:54 cine-kixta systemd[1]: jellyfin.service: Failed with result 'exit-code'.
    Jul 10 15:15:54 cine-kixta systemd[1]: Failed to start Jellyfin.

    Looking forward to the answer
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    I restarted my server from web (button), but failed to restart. - by jaiovi - 2024-07-10, 03:16 PM
    RE: I restarted my server from web (button), but failed to restart. - by TheDreadPirate - 2024-07-10, 04:01 PM
    RE: I restarted my server from web (button), but failed to restart. - by jaiovi - 2024-07-10, 04:15 PM
    RE: I restarted my server from web (button), but failed to restart. - by TheDreadPirate - 2024-07-10, 04:27 PM
    RE: I restarted my server from web (button), but failed to restart. - by jaiovi - 2024-07-10, 05:14 PM
    RE: I restarted my server from web (button), but failed to restart. - by paulc - 2024-07-10, 05:48 PM
    RE: I restarted my server from web (button), but failed to restart. - by TheDreadPirate - 2024-07-10, 05:54 PM
    RE: I restarted my server from web (button), but failed to restart. - by paulc - 2024-07-10, 06:04 PM
    RE: I restarted my server from web (button), but failed to restart. - by TheDreadPirate - 2024-07-10, 06:01 PM
    RE: I restarted my server from web (button), but failed to restart. - by ca2ju - 2024-08-22, 11:26 PM
    RE: I restarted my server from web (button), but failed to restart. - by TheDreadPirate - 2024-07-10, 06:05 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