So - I installed a new basejail 12.2-RELEASE-p6. I can ping it and it can ping outbound
Ran the @SimoneF script from inside the jail
Script runs and seems to complete. Even ran an update and it told me no updates
Set up a mount point (but will probably have to debug permissions later)
But nothing happens
Nothing on Port 9000 or 9001 (HTTP/HTTPS)
ps shows nothing remotely like lms
much head scratching
Is lms started? "service logitechmediaserver start"No NAT on this Jail - its got its own IP address through a vnet
Is lms started? "service logitechmediaserver start"
There's a reason why I left it to C. It's because otherwise you'll get a memory leak on FreeBSD. So, don't change the locale. See previous posts.View attachment 49184
quite happy to change the value - but where?
Looking at /usr/local/etc/rc.d/logitechmediaserver (probably the wrong file)
logitechmediaserver_enable="YES" is hashed out
BUT lang isn't set to C - its set to US.UTF-8 - which is probably good enough for me in the UK
View attachment 49185
Just released an update, tested on FreeBSD 12.2. Update from lms_installerBaseJail: 12.2-RELEASE-p6.
TrueNAS 12.0-U5.1
That seems to work - now got LMS running, and starts automaticallyJust released an update, tested on FreeBSD 12.2. Update from lms_installer
Perfect! Sorry for the bug, testing on all the different FreeBSD derivative is time consuming and sometimes I just test on the one that I'm running and bugs happensThat seems to work - now got LMS running, and starts automatically
Now I just have to get access to the media - but I have done that before - so should be able to repeat
Wouldn't it be easier to just add a mount point to the jail? https://www.truenas.com/docs/core/applications/jails/storage/So - I set up a slimserv account on TrueNAS with a userid of 104. Primary Group wheel and AuxGroup MediaServers. Samba Auth with a disabled password. No home directory, no password. Looks just like my plex account
I then add this user with appropriate permissions to the dataset holding music in the same way that the plex user is added (must use a group) and apply the permissions on the whole dataset
After setting the mountpoint to /mnt/Music (a folder I created) I start the jail
No Access in LMS although root has access from the jail
In fact LMS can't even see the mount point
What am I doing wrong?
Be sure to shut down the jail before settings the mount point and read carefully the instructions in the link.I have done just that - still can't see the files (or even the mount point)
Starting Squeeze2upnp: /usr/local/share/logitechmediaserver/Cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-bsd-x64-static -Z -I -f /usr/local/share/logitechmediaserver/Logs/upnpbridge.log -x /usr/local/share/logitechmediaserver/prefs/upnpbridge.xml
[14:59:01.139528] main:1774 Starting squeeze2upnp version: v1.81.0 (Dec 30 2021 @ 13:06:18)
[14:59:01.147622] Start:1519 UPnP init failed: -203 cannot bind socket(s)
[14:59:01.147699] main:1815 Cannot start, exiting
Retarting Squeeze2upnp after crash: /usr/local/share/logitechmediaserver/Cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-bsd-x64 -Z -I -f /usr/local/share/logitechmediaserver/Logs/upnpbridge.log -x /usr/local/share/logitechmediaserver/prefs/upnpbridge.xml
Retarting Squeeze2upnp after crash: /usr/local/share/logitechmediaserver/Cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-bsd-x64 -Z -I -f /usr/local/share/logitechmediaserver/Logs/upnpbridge.log -x /usr/local/share/logitechmediaserver/prefs/upnpbridge.xml
allow_raw_sockets
setting for the jail. Just a guess, I don't run LMS.