Jump to content

Truenas Scale official Chart (solved DNLA and wake on lan)


Recommended Posts

Posted (edited)

UPDATE 12/1

After Emby app going to 4.7.11.0 and truenas scale to Bluefin, all is fixed with ought my modification, host networking works with 8096 8920 ports, and the official chart install have all options working and install is easier than ever.

All options working just know the requirement to use cast on chrome has changed to SSL, no ssl, no cast.

That's why using http the menu to cast is empty.

My suggestion is if you want to expose on web, your server, to use nginx reverse proxy and ssl with certbot in a raspberry PI.

That way you select in networking setup handled by reverse proxy and you forget about certificate updates, it is handled by certbot and lets encrypt.

 

you can see port 1900 is exposed!

Ok, host networking is not working by default if you don't do some editing on 2 files

first deployment.yaml in /mnt/your Storage/ix-applications/releases/emby/charts/1.0.11/templates

replace all 8096 to 9096 and save! then on emby wherever you setup the config to be /config/system.xml

replace 8096 to 9096 and save, (btw i had replaced also the https to be above the 9000 requirement in scale.

stop emby, and do a redeploy with host network checked.

Voila , hope i helped you!

Just make sure no other app asks for the same ports, that's the only limitation of using host networking

and for this to work you had to have installed emby first with ought clicking the host networking @ first install, so the files are generated.

regards

Dinos

fixed.jpg

ports.jpg

Edited by dgrigo
picture
  • Thanks 1
Posted

Dinos,

Thanks for  your insight into the mystery of  ixSystems Charts and such other fun.   Greatly appreciate your help

Larry

Posted

Thank you guys, btw if anyone needs https the easy way again with official charts , I have solved it too, just ask and will post what you must do.

You off course need to have ssl ready at your server. 

  • Thanks 1
Posted

For upgrade, to latest version do install it will generate error, just ignore, stop service, edit 

deployment.yaml in /mnt/your Storage/ix-applications/releases/emby/charts/1.0.12/templates

replace all 8096 to 9096 and save! then start , if not working unmark host networking apply, remark host networking , apply.

Posted

HI, are you saying truenas scale doesn't allow any ports under 9000?

Posted

Yup, kinda kubernetes limitation 

Posted (edited)

@Luke

kubernetes limitation 

That's why I asked if we can go 9000+ as default.

You know instead of going port 8096:9096

And as we can't specify 8920 to a higher port, and if ports don't match we can't enable host networking, no host networking no dlna or wake on lan too.

By using modification on the emby and docker deployment, I solved all the limitations , even the https working on port 9920.

Thanks

Edited by dgrigo
More info
  • 2 months later...
Posted

Hi.

 

@dgrigo

I'm on 1.0.15 and did all the changes you've mentioned - changed the ports in the two files, ticked `Enable Host Network` - stopped the container and started it again, but it's not starting anymore. It's stuck on Deploying. I've unticked and reticked `Enable Host Network`, same thing.

 

Posted (edited)

 

They changed some files, i will post the changes for you.

Deployment.yaml change 8096 to 9096

Portal.tpl change 8096 to 9096

service-tcp.yaml all 8096 to 9096

 and off course make sure you emby system config points to 9096 and 9920.

that should allow you to start it, first with ought the host networking , and then modify and open Host again

the files are in the same directory.

 

PS for anyone running on Bluefin like I do, stop samba shares and reactivate them after the container opens, or go to apps kubernates settings :

advanced and untick the Validate host path

@YoloSan

Edited by dgrigo
  • Thanks 1
Posted
On 10/3/2022 at 3:08 PM, Luke said:

HI, are you saying truenas scale doesn't allow any ports under 9000?

When you use Truenas application catalog (from IX systems), it does not allow below port 9000. If you use a third party catalog such as truecharts, it does allow < 9000. That's the only reason I am using the truecharts Emby chart instead of the IX systems chart. 

Posted

That's exactly what I solved, I run pihole,qbittorrent and emby SSL all through official catalogue, I disliked truecharts.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...