TorrServer installatiion error in TrueNAS-13.0-U6.2

There is an error in installing the Torrserver in TrueNAS-13.0-U6.2

Error: torr-server had a failure Exception: GitCommandError Message: Cmd(‘git’) failed due to: exit code(1) cmdline: git checkout master stderr: ‘error: pathspec ‘master’ did not match any file(s) known to git’ Partial plugin destroyed.

Does anyone know how to resolve it? I reached the Torrserver developer, he replied that there is no problem with his application. He advised to check the installation package.

Yes. Plug-ins are dead and haven’t been really maintained or updated for a year or so.

I’d advise you to create manual hails and install the software inside there.

1 Like

Good day to all!
I actually have the same question: how to install Torrserver on Truenas Core?
I understand perfectly well that plugins are dead and I will be offered to switch to Truenas Scale… But if it’s not too much trouble, please answer.
I found the following instruction
We create a jail, install pkg and nano into it (This is my modification, it was suggested to perform all actions in the root system)

mkdir /usr/local/etc/torrserver
cd /usr/local/etc/torrserver
wget -O /usr/local/bin/torrserver https://github.com/YouROK/TorrServer/releases/download/MatriX.134/TorrServer-freebsd-amd64
pw useradd -n torrserv -g wheel (This is my modification)
chown -R torrserv:wheel /usr/local/etc/torrserver
chown -R torrserv :wheel /var/run/torrserver
chmod +x /usr/local/bin/torrserver
mkdir /usr/local/etc/rc.d
cd /usr/local/etc/rc.d
nano

#!/bin/sh
#
# PROVIDE: torrserver
# REQUIRE: Torrent2Http Server
# KEYWORD:

. /etc/rc.subr

name="torrserver"
rcvar="torrserver_enable"

torrserver_user="torrserv"
torrserver_command="/usr/local/bin/torrserver"
torrserver_name="TorrServer2HTTP"
torrserver_db="/usr/local/etc/torrserver"

pidfile="/var/run/torrserver/${name}.pid"

command="/usr/sbin/daemon"
command_args="-P ${pidfile} -f -r -R 2 -t ${torrserver_name} ${torrserver_command} -d ${torrserver_db}"

load_rc_config $name
: ${torrserver_enable:=no}

run_rc_command "$1"

Ctrl+X, y, name torrserver

chmod +x /usr/local/etc/rc.d/torrserver
sysrc -f /etc/rc.conf torrserver_enable="YES"
/usr/local/etc/rc.d/torrserver start

The service starts, top shows pid… But the web interface is not available.
However, if you execute

/usr/local/bin torrserver

Then everything works fine, UNTIL the moment you exit the jail command line!

root@torr-server:/usr/local/bin # torrserver --ui
2025/02/12 22:16:03 ffprobe and avprobe not found in $PATH
=========== START ===========
TorrServer MatriX.134, go1.22.5, CPU Num: 2
2025/02/12 22:16:03 Check dns OK [142.250.178.132 2a00:1450:4007:813::2004] <nil>
2025/02/12 22:16:03 XPathDBRouter: Registered new DB "JsonDB", total 1 DBs registered
2025/02/12 22:16:03 XPathDBRouter: Registered new route "" for DB "JsonDB", total 1 routes
2025/02/12 22:16:03 XPathDBRouter: Registered new route "settings" for DB "JsonDB", total 2 routes
2025/02/12 22:16:03 XPathDBRouter: Registered new route "viewed" for DB "JsonDB", total 3 routes
2025/02/12 22:16:03 XPathDBRouter: Registered new DB "TDB", total 2 DBs registered
2025/02/12 22:16:03 XPathDBRouter: Registered new route "torrents" for DB "TDB", total 4 routes
2025/02/12 22:16:03 Check web port 8090
2025/02/12 22:16:03 Start TorrServer MatriX.134 torrent v1.2.22
2025/02/12 22:16:03 Local IPs: [192.168.0.100]
2025/02/12 22:16:03 Set listen port to random autoselect (0)
2025/02/12 22:16:03 Client config: {"CacheSize":67108864,"ReaderReadAHead":95,"PreloadCache":50,"UseDisk":false,"TorrentsSavePath":"","RemoveCacheOnDrop":false,"ForceEncrypt":false,"RetrackersMode":1,"TorrentDisconnectTimeout":30,"EnableDebug":false,"EnableDLNA":false,"FriendlyName":"","EnableRutorSearch":false,"EnableIPv6":false,"DisableTCP":false,"DisableUTP":false,"DisableUPNP":false,"DisableDHT":false,"DisablePEX":false,"DisableUpload":false,"DownloadRateLimit":0,"UploadRateLimit":0,"ConnectionsLimit":2

As I understand it, something with the rights to launch or jail needs to be created somehow specially?