Emby on Truenas Scale..environment variables?

Kilo95

Cadet
Joined
Jun 16, 2022
Messages
2
I just migrated from Core to Scale and am trying to get Emby back up and running. When I go to apps and install, what environment variables do I need to set? I set my dataset location to point to the precious Emby folder. I tried leaving env variables empty and it sets on “deploying” forever.

Sunfire x4270
144GB RAM
7.2TB storage
 

Scarts

Cadet
Joined
Jan 2, 2021
Messages
2
For anyone else finding this, my comments relate to 'app' version 4.7.6
The only thing I did was in the Storage question I added paths for backup and my media volume which sit in my ZFS pool. The 'mount path in pod' field I set to made up paths /mnt/backups and /mnt/media. I did not create those directories first.
Seems the system (not sure if it is docker or otherwise) doesn't allow TCP ports under 9000 so the default ports get pushed automatically above those numbers.

When I installed the 'application' from the apps collection it worked straight away. I clicked on the 'Web Portal' link in the TrueNAS Scale screen and it directed me to the IP of the NAS and port 9096. When I logged into Emby and after initial setup I went to the Network section.
That section has default ports set for local http port of 8096, local https port of 8920, public http of 8093 and public https of 8920. As I use this at home I don't care for https. I changed the local http port to 9096 then restarted the emby server and the web portal never came back.
I fixed this by going into the shell on the docker image then using vi (I almost forgot how to use it :) ) edited /config/config/system.xml and changed <HttpServerPortNumber>9096</HttpServerPortNumber> back to 8096 then restarted the app. This time it came back, on port 9096. So moral of that story is I now don't touch that part and live with the fact the ports are not what the emby system thinks they are.

Lastly and this is one I have not figured out yet, but DLNA and casting frommy google pixel phone don't seem to work. I'll post a separate question on the emby forum about those.
 
Last edited by a moderator:
Top