• 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 General Questions Jellyfin Web Configuration on Truenas Scale

     
    • 0 Vote(s) - 0 Average

    Jellyfin Web Configuration on Truenas Scale

    I want to configure the config.json
    azianxbaka
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    Country:Canada
    #1
    2024-07-06, 12:06 AM
    Hi guys,

    I've been scratching my head over how to access the config.json for jellyfin on truenas scale.

    I've mounted the jellyfin config, however I cannot find this file. Just wondering if anybody has encountered this and has found a solution?

    Thank you.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-07-06, 12:21 AM
    It isn't in /config. I believe it is in /jellyfin/jellyfin-web.
    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]
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #3
    2024-07-06, 12:53 AM
    @TheDreadPirate is correct.

    I would open a shell for the app (you can do so on the app icon on Scale's app page) and copy the file you want from the jellyfin-web directory into a host mount that you set. Once you edit it, just save it back into the same location.
    azianxbaka
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    Country:Canada
    #4
    2024-07-06, 01:35 AM
    Thank you guys for the replies. I will try this!
    azianxbaka
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    Country:Canada
    #5
    2024-07-06, 01:52 AM
    (2024-07-06, 12:53 AM)Efficient_Good_5784 Wrote: @TheDreadPirate is correct.

    I would open a shell for the app (you can do so on the app icon on Scale's app page) and copy the file you want from the jellyfin-web directory into a host mount that you set. Once you edit it, just save it back into the same location.

    So this worked wonderfully for pulling the json out. However when I try to save it back to the same location, it gives me a "Permission denied". I admit I am quite the noob when it comes to linux, but slowly learning! Any additional help would be appreciated.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-07-06, 01:59 AM
    So you pull out the json, which you did. You shut down the container and set a path on your system to mount /jellyfin/jellyfin-web. The container was given permission to write to this folder. You start your container so that it writes out what need to be in that directory. You stop the container again and then take your modified config.json and place it in this host path that corresponds to /jellyfin/jellyfin-web.

    Did I miss anything?
    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]
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #7
    2024-07-06, 03:33 AM (This post was last modified: 2024-07-06, 03:34 AM by Efficient_Good_5784. Edited 1 time in total.)
    A lot of people struggle with permissions on Truenas.

    I would:
    1. Make a new dataset
    2. Use the Truenas GUI to apply permissions to it so that it's owned by the Jellyfin app user
    3. Edit the Jellyfin app to host mount the new dataset as: /jellyfin/jellyfin-web
    4. Run the app as @TheDreadPirate states to auto-populate the new dataset with the files
    5. Turn off the app, then go edit or replace the file you need in the new dataset
    6. Reapply the permissions on the dataset just in case you copied a file not owned by the Jellyfin user

    Once you do that, you should be able to restart Jellyfin and see your changes.

    And just so you know, you can use vim in Scale's system shell to edit files.
    azianxbaka
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    Country:Canada
    #8
    2024-07-07, 11:35 PM
    Thank you guys for the replies.

    Just an update, I did get it to work.

    As per aserraic on the truenas forums:

    "That directory is part of the docker image. The best way to change this file is to put the config.json in a dataset and mount it into the jellyfin app under “Additional Storage” as a host path. This will then override the file inside the image.

    Another way (which I do not recommend) is to build you own docker image and replace the file this way. However, that would require to run Jellyfin as a custom app."
    « 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