HTPC Manager

Rudi Pittman

Contributor
Joined
Dec 22, 2015
Messages
161
those instructions are for switching over from the freenas plugin to that repo. where is the script you posted from? I couldn't find it on that page.

It's from the initscripts subdir which contains:

initd initd.fedora initd.freebsd systemd.ubuntu1510

The initd.freebsd gets copied to /usr/local/etc/rc.d/htpcmanager
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
It's from the initscripts subdir which contains:

initd initd.fedora initd.freebsd systemd.ubuntu1510

The initd.freebsd gets copied to /usr/local/etc/rc.d/htpcmanager
he's calling it the data-directory but that's actually the application source directory and a data-directory isn't being passed to htpc-manager.
I assume it's the userdata folder you mentioned before. just create a seperate install of the htpc-plugin and make sure it saved everything before deleting your current one.
 

fvargasfrank

Dabbler
Joined
May 31, 2015
Messages
34
How can i pull system info from my freenas, like SMART? i enable it and it does not seem to be working. also if someone can point me in the direction to set up htcpmanager with my router (DD-WRT )

Thank you
 

rio236

Dabbler
Joined
Aug 19, 2016
Messages
38
Spent some time today setting up the hellolol fork...it's not that bad.
1) Create a freebsd jail. I named mine htpc-manager_1 to stay in sync with the others.
2) "sudo jls" then "sudo jexec XX sh" where XX is the number next to the htpc-manager jail you created to get to the command line or use the command line button from the jail menu.
3) pkg install nano py27-sqlite3 python [let it upgrade pkg]

You can then follow the instructions here as if all packages were installed starting at the git clone [ I did "chown -R nobody:nogroup /opt/HTPCManager before ]: http://www.htpcguides.com/install-htpc-manager-ubuntu-linux/

change the line in the tutorial
Code:
cp /opt/HTPCManager/initscripts/initd /etc/init.d/htpcmanager

to
Code:
cp /opt/HTPCManager/initscripts/initd.freebsd /usr/local/etc/rc.d/htpcmanager


Edit the path as the tutorial indicated then add the following two lines to /etc/rc.conf

Code:
htpc_enable="YES"
htpc_manager_data_dir="/opt/HTPCManager"


Stop and restart the jail from the GUI and the new htpc-manager should be available at the ip address assigned to the jail on port 8085. You can also start it manually as the tutorial shows. The hellolol version has a self updater feature so from there you should be good. No storage is needed since you do everything from the web page. Wrote this up from memory so if you run into problems yell.
I would appreciate if you could provide a step-by-step how to installing htpc-manager in a freenas jail.
Thank you.
 

rio236

Dabbler
Joined
Aug 19, 2016
Messages
38
Thought I'd start a thread for Noobies and the setup of HTPC-manager

To date working = SABnzb,Sickrage and Couchpotato, 192.168.1.3 (same jail) user media (816)

I installed HTPC manager in a separate jail 192.168.1.105
I cannot get HTPC to see the other plugins
Questions
1) do I need to "add" storage for this plugin?
2) configure users or authorization in FreeNAS?

This is the error

2016-01-10 17:59:02 modules.sabnzbd ERROR Unable to contact sabnzbd via https://192.168.1.3:/sabnzbd/api?output=json&apikey=8ae4edXXXXXXXXXXXXXX
View attachment 9922 View attachment 9923
Jeff
Could you please provide a 'how-to' installing HTPC manager in a jail.
Thanks.
 

ezra

Contributor
Joined
Jan 15, 2015
Messages
124
Anyone any iocage update on this?
 

ezra

Contributor
Joined
Jan 15, 2015
Messages
124
For those who are still searching, inside the jail:
Code:
pkg install git nano sqlite3 mediainfo ca_root_nss curl py27-sqlite3

cd /usr/local/share/

git clone https://github.com/Hellowlol/HTPC-Manager.git

pw user add media -c media -u 1000 -d /nonexistent -s /usr/bin/nologin

chown -R media:media /usr/local/share/HTPC-Manager/

sysrc htpc_enable="YES"


nano /usr/local/etc/rc.d/htpc-manager

paste:

https://github.com/Hellowlol/HTPC-Manager/blob/master2/initscripts/initd.freebsd
 
Last edited:
Top