Jellyfin Forum
Jellyfin Web Configuration on Truenas Scale - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Jellyfin Web Configuration on Truenas Scale (/t-jellyfin-web-configuration-on-truenas-scale)



Jellyfin Web Configuration on Truenas Scale - azianxbaka - 2024-07-06

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.


RE: Jellyfin Web Configuration on Truenas Scale - TheDreadPirate - 2024-07-06

It isn't in /config. I believe it is in /jellyfin/jellyfin-web.


RE: Jellyfin Web Configuration on Truenas Scale - Efficient_Good_5784 - 2024-07-06

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


RE: Jellyfin Web Configuration on Truenas Scale - azianxbaka - 2024-07-06

Thank you guys for the replies. I will try this!


RE: Jellyfin Web Configuration on Truenas Scale - azianxbaka - 2024-07-06

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


RE: Jellyfin Web Configuration on Truenas Scale - TheDreadPirate - 2024-07-06

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?


RE: Jellyfin Web Configuration on Truenas Scale - Efficient_Good_5784 - 2024-07-06

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.


RE: Jellyfin Web Configuration on Truenas Scale - azianxbaka - 2024-07-07

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