Bonfire/JellyProfiles help

I have jellyfin installed and running on truenas scale.

I want to activate Bonfire/JellyProfiles but need to allow changes to the index.html of the app.

I get the following helpful error message when I access the JellyfinProfiles plugin but cannot see how to do this in a Truenas Scale App instance. Can anyone help me please?

:warning: Client Script Auto-Injection Failed
The plugin was unable to automatically modify Jellyfin’s index.html due to folder/file write permissions on your host system. Without this script, the “Who’s Watching?” profile gate and switcher will not load.
How to fix: Please run the appropriate commands for your system, then restart Jellyfin:
Linux (Native):
sudo chown jellyfin:jellyfin /jellyfin/jellyfin-web/index.html
sudo chmod 664 /jellyfin/jellyfin-web/index.html
After Jellyfin restarts and injects the script, you can optionally restore the original permissions with chmod 644.
Docker (Run on host):
docker exec -u root chown jellyfin:jellyfin /jellyfin/jellyfin-web/index.html
docker exec -u root chmod 664 /jellyfin/jellyfin-web/index.html
Windows (Admin Command Prompt):
icacls “C:\Program Files\Jellyfin\Server\jellyfin-web\index.html” /grant “NT AUTHORITY\NetworkService:(M)”

I was able to dig down into this further and got at the Shell in the container but could not find a password for root anywhere. Also trying to check for the user/group jellyfin/jellyfin does not exist.

The kernel of the issue is permissions for the Jellyfin app user (568 on Truenas) to be able to make changes to the jellyfin-web/index.html file.

In any case I am reluctant to change the container contents in this way as they will get over-written on an update.

So I think I will leave this alone pending further development on GitHub