2024-02-20, 08:08 AM
(This post was last modified: 2024-02-20, 08:21 AM by Efficient_Good_5784. Edited 1 time in total.)
What version of Truenas Scale are you using?
Go to your app section with the running Jellyfin container, then look around and open its own shell. Not the system shell, but the container's own shell.
Side note first. While opening the shell, if your container's user has the correct permissions, under the "commands" line option you can replace the "/bin/sh" to any other shell type you like or are familiar with (ex: /bin/bash).
Once you're in the shell, use linux commands to navigate to the file(s) you need. Keep in mind that the app's shell is contained. The shell will only see what you allowed it to see from your system. If you try to copy one of the files outside of the container, you will need to set up a host path first before the app's shell can directly copy to it.
If all you're trying to do is read what the json file contains after you run the "forgot password" option on Jellyfin, just find that file, then use the "cat" command.
Example: cat <file-to-print-to-screen>
------------------------------------------------------
That or use the built-in shell from the apps page.
Deploying apps on TN Scale doesn't provide you a direct way of accessing the internal files unless you strictly create an external host path and mount that to the app.
Since OP (@BigzyLarge) is having a hard time finding his files, he most likely didn't externally mount the Jellyfin config folder and just let Scale handle all of that.
As how Truenas currently is, it's not exactly beginner friendly with these types of things. Especially since it doesn't have a built-in file browser of sorts. It expects users to mainly create shares to access/store data from another computer, or use the system shell.
Go to your app section with the running Jellyfin container, then look around and open its own shell. Not the system shell, but the container's own shell.
Side note first. While opening the shell, if your container's user has the correct permissions, under the "commands" line option you can replace the "/bin/sh" to any other shell type you like or are familiar with (ex: /bin/bash).
Once you're in the shell, use linux commands to navigate to the file(s) you need. Keep in mind that the app's shell is contained. The shell will only see what you allowed it to see from your system. If you try to copy one of the files outside of the container, you will need to set up a host path first before the app's shell can directly copy to it.
If all you're trying to do is read what the json file contains after you run the "forgot password" option on Jellyfin, just find that file, then use the "cat" command.
Example: cat <file-to-print-to-screen>
------------------------------------------------------
(2024-02-20, 06:07 AM)TheDreadPirate Wrote: If you don't have shell access, do you have access to the jellyfin container's data files?I just want to point out that with Truenas Scale, installing apps onto it (Jellyfin in this case) will require you to use Kubernetes from the system shell to access the contained files from a container.
That or use the built-in shell from the apps page.
Deploying apps on TN Scale doesn't provide you a direct way of accessing the internal files unless you strictly create an external host path and mount that to the app.
Since OP (@BigzyLarge) is having a hard time finding his files, he most likely didn't externally mount the Jellyfin config folder and just let Scale handle all of that.
As how Truenas currently is, it's not exactly beginner friendly with these types of things. Especially since it doesn't have a built-in file browser of sorts. It expects users to mainly create shares to access/store data from another computer, or use the system shell.