mozroots --import --ask-remove
Would you care to write up a step by step guide on how you got it working?HAH got it working it seems the issue is that mono doesnt have any certificates stored by default which for some reason makes it crash
running the command
Code:mozroots --import --ask-remove
imports certificates and then it runs just fine (i dont actually know what certificates it adds)
#!/bin/sh cd /var/db/plex_requests /usr/local/bin/screen -d -m -S plex_requests /usr/local/bin/mono /var/db/plex_requests/PlexRequests.exe
SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin #start plexrequests @reboot /usr/local/bin/plex_requests
i mostly just copied what was written earlier in the thread and added in what i use to get it running automatically so this is kinda"dirty" but its the best i can do and it should work but i take no responsibility if it doesnt
- pkg update && pkg upgrade
- pkg install wget mono screen
- echo 'jail_sysvipc_allow="YES"' >> /etc/rc.conf
- wget https://github.com/tidusjar/PlexRequests.Net/releases/download/v1.6.1/PlexRequests.zip
- unzip PlexRequests.zip
- mv Release /var/db/plex_requests
- mozroots --import --ask-remove
- touch /usr/local/bin/plex_requests
- echo "#!/bin/sh" >> /usr/local/bin/plex_requests
- echo "cd /var/db/plex_requests" >> /usr/local/bin/plex_requests
- echo "/usr/local/bin/screen -d -m -S root nohup /usr/local/bin/mono /var/db/plex_requests/PlexRequests.exe" >> /usr/local/bin/plex_requests
- chmod 775 /usr/local/bin/plex_requests
- then i use cron to start it
- open cron with crontab -e and put these lines in it:
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
#start plexrequests
@Reboot /usr/local/bin/plex_requests
- restart jail
- use your browser and navigate to jail_ip:3579
i mostly just copied what was written earlier in the thread and added in what i use to get it running automatically so this is kinda"dirty" but its the best i can do and it should work but i take no responsibility if it doesnt
- pkg update && pkg upgrade
- pkg install wget mono screen
- echo 'jail_sysvipc_allow="YES"' >> /etc/rc.conf
- wget https://github.com/tidusjar/PlexRequests.Net/releases/download/v1.6.1/PlexRequests.zip
- unzip PlexRequests.zip
- mv Release /var/db/plex_requests
- mozroots --import --ask-remove
- touch /usr/local/bin/plex_requests
- echo "#!/bin/sh" >> /usr/local/bin/plex_requests
- echo "cd /var/db/plex_requests" >> /usr/local/bin/plex_requests
- echo "/usr/local/bin/screen -d -m -S root nohup /usr/local/bin/mono /var/db/plex_requests/PlexRequests.exe" >> /usr/local/bin/plex_requests
- chmod 775 /usr/local/bin/plex_requests
- then i use cron to start it
- open cron with crontab -e and put these lines in it:
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
#start plexrequests
@Reboot /usr/local/bin/plex_requests
- restart jail
- use your browser and navigate to jail_ip:3579
root@plexrequest:/ # mozroots --import --ask-remove Mozilla Roots Importer - version 4.2.3.0 Download and import trusted root certificates from Mozilla's MXR. Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed. Downloading from 'http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1'... Couldn't retrieve the file using the supplied information.
the forum is being dumb and capitalizing the R in reboot because it assumes that the @ means its a username so if you used a capital R that is probably the reason i rewrote it abit and used code tags
screen -r plex_requests CTRL+A :quit
wget https://github.com/tidusjar/PlexRequests.Net/releases/download/v1.9.0/PlexRequests.zip unzip PlexRequests.zip #if you have already updated before and therefore already have a plex_requests_bak already first do: rm -rf /var/db/plex_requests_bak before continuing mv /var/db/plex_requests /var/db/plex_requests_bak mv Release /var/db/plex_requests cp /var/db/plex_requests_bak/PlexRequests.sqlite /var/db/plex_requests/PlexRequests.sqlite
i mostly just copied what was written earlier in the thread and added in what i use to get it running automatically so this is kinda"dirty" but its the best i can do and it should work but i take no responsibility if it doesnt
- pkg update && pkg upgrade
- pkg install wget mono screen
- echo 'jail_sysvipc_allow="YES"' >> /etc/rc.conf
- wget https://github.com/tidusjar/PlexRequests.Net/releases/download/v1.7.4/PlexRequests.zip
- unzip PlexRequests.zip
- mv Release /var/db/plex_requests
- mozroots --import --ask-remove
- touch /usr/local/bin/plex_requests
- now edit the /usr/local/bin/plex_requests file and put these lines into it:
Code:#!/bin/sh cd /var/db/plex_requests /usr/local/bin/screen -d -m -S plex_requests /usr/local/bin/mono /var/db/plex_requests/PlexRequests.exe- chmod 775 /usr/local/bin/plex_requests
- then i use cron to start it
- open cron with crontab -e and put these lines in it:
Code:SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin #start plexrequests @reboot /usr/local/bin/plex_requests- restart jail
- use your browser and navigate to jail_ip:3579
I tried following the guide but even tho i restart the jail, plexrequests doesen't start... Maybe i'm doing something wrong? i edit the plex_requests file using ee, maybe i should use something else?
if you go to /var/db/plex_requests
and then use the command:
/usr/local/bin/mono /var/db/plex_requests/PlexRequests.exe
what is the message you receive? please use code tags when posting it
root@plexrequests_1:/ # cd /var/db/plex_requests root@plexrequests_1:/var/db/plex_requests # /usr/local/bin/mono /var/db/plex_req uests/PlexRequests.exe Starting Up! Please wait, this can usually take a few seconds. Version: 1.9.1 Location of the database: /var/db/plex_requests/PlexRequests.sqlite Your operating system's sysconf (3) function doesn't correctly report physical m emory size! no configuration section <common/logging> found - suppressing logging output Plex Requests is running on the following: http://+:3579/ All setup, Plex Requests is now ready!
ok so if you start it manually it works fine but it wont autostart for you?
if you start it in a screen not detaced ie:
/usr/local/bin/screen -S plex_requests /usr/local/bin/mono /var/db/plex_requests/PlexRequests.exe
does it still work?
HELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin #start plexrequests @reboot /usr/local/bin/plex_requests
SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin #start plexrequests @reboot /usr/local/bin/plex_requests