Thefrank / freebsd-port-sooners

FreeBSD ports-built binary packages
42 stars 3 forks source link

Wrong commands in instructions #10

Closed swannie-eire closed 2 years ago

swannie-eire commented 2 years ago

I followed the instructions in https://github.com/Thefrank/freebsd-port-sooners/blob/main/Prowlarr_Installation_TrueNAS_GUI.md but i think they are wrong after installing prowlarrdotnet it says to start run prowlarrdotnet_enable="TRUE" and then service prowlarrdotnet start your instructions state prowlarr_enable="TRUE" and then service prowlarr start

When i try to start with your command i get the error

prowlarr does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable

It starts successfully with the command below and prowlarr seems to start from the logs but I still cant get it to load. The port appears to be up but nothing will load in the browser. I have _allow_rawsockets and _allowmlock enabled but still no luck. service prowlarrdotnet start

https://imgur.com/xaBL5Gk

Thefrank commented 2 years ago

oops! I forgot to update the guide after I updated the binary naming but its updated now. The naming inside the package is done automatically. The guide is done manually.

As for the other issue: can you post the log (or part of it)?

swannie-eire commented 2 years ago

i just tested it there again and it appears to be working now. here were the commands i ran. It does not appear to be as customisable as jackett as i can find where the indexer files are stored to create my own so im sticking with jackett. thanks for the guide.

# add boot=1 for autostart, if you want it to have a static IP remove dhcp=1 and add ip4_addr="vnet0|X.X.X.X/24"
iocage create -n pr -r 12.2-RELEASE vnet=1 dhcp=1 allow_mlock=1 allow_raw_sockets=1
# go to jail -f to start if not already started
iocage console pr -f
# create user
pw user add prowlarr -c prowlarr -u 349 -d /nonexistent -s /usr/bin/nologin
# download prowlarr package
fetch https://github.com/Thefrank/freebsd-port-sooners/releases/download/20211015/prowlarrdotnet-0.1.1.978.pkg
# install prowlarr
pkg install prowlarrdotnet-0.1.1.978.pkg
# enable it to autostart in jail
sysrc prowlarrdotnet_enable=TRUE
# start prowlarr
service prowlarrdotnet start
# if you have issues tail this log file and restart prowlarr
tail -f /var/db/prowlarrdotnet/logs/prowlarr.txt
service prowlarrdotnet stop
# start prowlarr not as a service. make sure to stop it as a service first.
/usr/local/prowlarrdotnet/Prowlarr --data=/usr/prowlarrdotnet/ --nobrowser