<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Guerilla</id>
	<title>Amahi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Guerilla"/>
	<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php/Special:Contributions/Guerilla"/>
	<updated>2026-05-03T15:06:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=CouchPotato&amp;diff=69794</id>
		<title>CouchPotato</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=CouchPotato&amp;diff=69794"/>
		<updated>2013-04-09T15:51:55Z</updated>

		<summary type="html">&lt;p&gt;Guerilla: /* How to configure with SABnzbd: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:apps]]&lt;br /&gt;
&lt;br /&gt;
[http://www.amahi.org/apps/couchpotato CouchPotato] is an automatic NZB and torrent downloader. You can keep a &amp;quot;movies I want&amp;quot;-list and it will search for NZBs/torrents of these movies every X hours. Once a movie is found, it will send it to SABnzbd or download the .nzb or .torrent to a specified directory. &lt;br /&gt;
&lt;br /&gt;
=== Prerequisites: ===&lt;br /&gt;
# [http://www.amahi.org/apps/sabnzbd SABnzbd]&lt;br /&gt;
# [http://www.amahi.org/apps/couchpotato CouchPotato]&lt;br /&gt;
&lt;br /&gt;
[http://www.amahi.org/apps/couchpotato CouchPotato] can be accessed from http://cpotato:5000/ -or- yourHDAip:5000 (i.e. 192.168.1.10:5000)&lt;br /&gt;
&lt;br /&gt;
=== How to configure with [http://www.amahi.org/apps/sabnzbd SABnzbd]: ===&lt;br /&gt;
''Proceed with care, this information is outdated.'' &lt;br /&gt;
&lt;br /&gt;
Open your config page at http://cpotato:5000/config/ or by clicking the gear at the top.&lt;br /&gt;
&lt;br /&gt;
 '''General'''&lt;br /&gt;
* Uncheck Launch Browser&lt;br /&gt;
* Leave Host: 0.0.0.0 and Port: 5000&lt;br /&gt;
 '''NZBs / Torrents'''&lt;br /&gt;
* Select  “[http://www.amahi.org/apps/sabnzbd SABnzbd]” from Download to dropdown&lt;br /&gt;
* Set Host to: localhost:25914&lt;br /&gt;
* Get your [http://www.amahi.org/apps/sabnzbd SABnzbd] Apikey from http://sabnzbd/config/general/&lt;br /&gt;
* Set Category to: Movies&lt;br /&gt;
 '''Providers'''&lt;br /&gt;
* Set your provider account information&lt;br /&gt;
 '''Quality'''&lt;br /&gt;
* Set your quality preferences&lt;br /&gt;
 '''Renaming'''&lt;br /&gt;
* Set “Download Folder&amp;quot; to: /var/spool/sabnzbd/incoming/Movies/ (By default, [http://www.amahi.org/apps/sabnzbd SABnzbd's] completed downloads folder is &amp;quot;/var/spool/sabnzbd/incoming/&amp;quot;)&lt;br /&gt;
* Set your &amp;quot;Movie destination&amp;quot; anywhere you like (i.e. /var/hda/files/Movies)&lt;br /&gt;
&lt;br /&gt;
=== Warnings: ===&lt;br /&gt;
* Leave your host as 0.0.0.0, this allows you to access from any pc on your network&lt;br /&gt;
* If you change the port from 5000 you will break the proxy http://cpotato. You can still access [http://www.amahi.org/apps/couchpotato CouchPotato] from yourHDAip:port-you-set (i.e. http://192.168.1.10:8082) &lt;br /&gt;
This can be rectified by modifying the http conf file to point to the new port. First find what the name of the file is. &lt;br /&gt;
&lt;br /&gt;
{{Code| ls /etc/httpd/conf.d/ }}&lt;br /&gt;
&lt;br /&gt;
You are looking for a file named something like ''****-cpotato.conf '', next open the file up and edit it to reflect the new port chosen. This needs to be done as root, for Ubuntu the code is:&lt;br /&gt;
&lt;br /&gt;
{{Code| sudo nano /etc/httpd/conf.d/****-cpotato.conf }}&lt;br /&gt;
&lt;br /&gt;
Look for the lines beginning ProxyPass and ProxyPassReverse and modify the port. The last step is to reload apache, again for Ubuntu the code is: &lt;br /&gt;
&lt;br /&gt;
{{Code| sudo service apache2 reload }}&lt;/div&gt;</summary>
		<author><name>Guerilla</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=CouchPotato&amp;diff=69788</id>
		<title>CouchPotato</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=CouchPotato&amp;diff=69788"/>
		<updated>2013-04-09T15:32:44Z</updated>

		<summary type="html">&lt;p&gt;Guerilla: /* Warnings: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:apps]]&lt;br /&gt;
&lt;br /&gt;
[http://www.amahi.org/apps/couchpotato CouchPotato] is an automatic NZB and torrent downloader. You can keep a &amp;quot;movies I want&amp;quot;-list and it will search for NZBs/torrents of these movies every X hours. Once a movie is found, it will send it to SABnzbd or download the .nzb or .torrent to a specified directory. &lt;br /&gt;
&lt;br /&gt;
=== Prerequisites: ===&lt;br /&gt;
# [http://www.amahi.org/apps/sabnzbd SABnzbd]&lt;br /&gt;
# [http://www.amahi.org/apps/couchpotato CouchPotato]&lt;br /&gt;
&lt;br /&gt;
[http://www.amahi.org/apps/couchpotato CouchPotato] can be accessed from http://cpotato:5000/ -or- yourHDAip:5000 (i.e. 192.168.1.10:5000)&lt;br /&gt;
&lt;br /&gt;
=== How to configure with [http://www.amahi.org/apps/sabnzbd SABnzbd]: ===&lt;br /&gt;
Open your config page at http://cpotato:5000/config/ or by clicking the gear at the top.&lt;br /&gt;
&lt;br /&gt;
 '''General'''&lt;br /&gt;
* Uncheck Launch Browser&lt;br /&gt;
* Leave Host: 0.0.0.0 and Port: 5000&lt;br /&gt;
 '''NZBs / Torrents'''&lt;br /&gt;
* Select  “[http://www.amahi.org/apps/sabnzbd SABnzbd]” from Download to dropdown&lt;br /&gt;
* Set Host to: localhost:25914&lt;br /&gt;
* Get your [http://www.amahi.org/apps/sabnzbd SABnzbd] Apikey from http://sabnzbd/config/general/&lt;br /&gt;
* Set Category to: Movies&lt;br /&gt;
 '''Providers'''&lt;br /&gt;
* Set your provider account information&lt;br /&gt;
 '''Quality'''&lt;br /&gt;
* Set your quality preferences&lt;br /&gt;
 '''Renaming'''&lt;br /&gt;
* Set “Download Folder&amp;quot; to: /var/spool/sabnzbd/incoming/Movies/ (By default, [http://www.amahi.org/apps/sabnzbd SABnzbd's] completed downloads folder is &amp;quot;/var/spool/sabnzbd/incoming/&amp;quot;)&lt;br /&gt;
* Set your &amp;quot;Movie destination&amp;quot; anywhere you like (i.e. /var/hda/files/Movies)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Warnings: ===&lt;br /&gt;
* Leave your host as 0.0.0.0, this allows you to access from any pc on your network&lt;br /&gt;
* If you change the port from 5000 you will break the proxy http://cpotato. You can still access [http://www.amahi.org/apps/couchpotato CouchPotato] from yourHDAip:port-you-set (i.e. http://192.168.1.10:8082) &lt;br /&gt;
This can be rectified by modifying the http conf file to point to the new port. First find what the name of the file is. &lt;br /&gt;
&lt;br /&gt;
{{Code| ls /etc/httpd/conf.d/ }}&lt;br /&gt;
&lt;br /&gt;
You are looking for a file named something like ''****-cpotato.conf '', next open the file up and edit it to reflect the new port chosen. This needs to be done as root, for Ubuntu the code is:&lt;br /&gt;
&lt;br /&gt;
{{Code| sudo nano /etc/httpd/conf.d/****-cpotato.conf }}&lt;br /&gt;
&lt;br /&gt;
Look for the lines beginning ProxyPass and ProxyPassReverse and modify the port. The last step is to reload apache, again for Ubuntu the code is: &lt;br /&gt;
&lt;br /&gt;
{{Code| sudo service apache2 reload }}&lt;/div&gt;</summary>
		<author><name>Guerilla</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Sabnzbd&amp;diff=69782</id>
		<title>Sabnzbd</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Sabnzbd&amp;diff=69782"/>
		<updated>2013-04-09T15:20:54Z</updated>

		<summary type="html">&lt;p&gt;Guerilla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:apps]]&lt;br /&gt;
&lt;br /&gt;
=== Upgrading to the Newest Release ===&lt;br /&gt;
&lt;br /&gt;
If you alreading running a version of the [http://www.amahi.org/apps/sabnzbd-plus SABnzbd Plus] one-click application and would like to upgrade to the latest version the procedure is simple. You need to log-in to the HDA dashboard and uninstall, then reinstall the application, you settings should be retained. As part of the uninstall procedure the sabnzbd.ini configuration file is copied to the newsgroup directory (/var/hda/files/newsgroups). The installation picks up this file and copied it to the sabnzbdplus install directory (/var/hda/web-apps/sabnzbdplus/html). &lt;br /&gt;
&lt;br /&gt;
If you would like to maintain your queue history and bandwidth counters it is advisable to backup your administration directory. {{Code| cp /var/hda/web-apps/sabnzbdplus/admin/* /var/hda/files/newsgroups/admin }} &lt;br /&gt;
&lt;br /&gt;
Remembering to reverse the procedure when you reinstall the new version. &lt;br /&gt;
&lt;br /&gt;
To avoid having to back up your administration folder on each upgrade it is possible to alter the sabnzbd.ini file such that the admin folder is located in the newsgroup directory. This can be performed be either editing the .ini file or via sabnzbdplus web interface on the config/folders page.&lt;br /&gt;
&lt;br /&gt;
If you have any problems reinstalling check that the program directory (''/var/hda/web-apps/sabnzbdplus/'') was completely deleted. This may occur if you have made any changes to the directory to include post processing scripts for other applications for example SickBeard.&lt;br /&gt;
&lt;br /&gt;
=== [http://www.amahi.org/apps/sabnzbd-plus SABnzbd Plus] Upgrade Path ===&lt;br /&gt;
The purpose of this guide is to explain how to upgrade from older versions of Amahi SABnzbd application (not SABnzbd SRC) to the new SABnzbd Plus version.  In the past the application was an RPM-based install, but that has now changed to a source-based.  This only has to be done one time.  All new versions hereafter will automatically take care of any changes needed.&lt;br /&gt;
&lt;br /&gt;
*This will make upgrading simpler (all files are now in '''/var/hda/web-apps/sabnzbdplus/html''').  You can do it manually via downloading (Python Source file) and extracting new files into the directory or uninstall/reinstall the Amahi one-click app as it changes (settings file will be automatically backed up and restored as well).  &lt;br /&gt;
&lt;br /&gt;
*The older versions utilize port '''25914''', so the new version has been configured to use '''25915'''.  This can be changed of course, but was done by design to allow both versions to run side-by-side for upgrade purposes.  If you change the port, it must be changed in the '''/etc/httpd/conf.d/####-sabnzbdplus.conf''' file and '''httpd''' restarted.&lt;br /&gt;
&amp;lt;u&amp;gt;'''Assumptions'''&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You have '''SABnzbd''' (version &amp;lt; 0.6.10) and '''SABnzbd Plus''' (version 0.6.10) installed.&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;u&amp;gt;Copy current Settings:&amp;lt;/u&amp;gt;&lt;br /&gt;
#* Copy '''/var/spool/sabnzbd/sabnzbd.ini''' file to your home directory.  &lt;br /&gt;
#* This will allow you to read the setting you might want to incorporate in the new version.  &lt;br /&gt;
#*Recommend you use the old sabnzbd.ini file as a reference for making changes to the new one.&lt;br /&gt;
# &amp;lt;u&amp;gt;Copy Downloads:&amp;lt;/u&amp;gt;&lt;br /&gt;
#* Copy existing downloads from '''/var/spool/sabnzbd/incoming''' (whatever directory you have set) to '''/var/hda/files/newsgroups'''.&lt;br /&gt;
#* There is now a '''complete''' (incoming) and '''incomplete''' (incoming/temp) folders for Downloads.&lt;br /&gt;
#* Ensure permissions are correctly set (should match '''/var/spool/sabnzbd/incoming''').&lt;br /&gt;
# &amp;lt;u&amp;gt;Uninstall old version:&amp;lt;/u&amp;gt;&lt;br /&gt;
#* Uninstall via Amahi Dashboard.  There may be some clean up needed&lt;br /&gt;
#* Remove init script and other files ( '''/etc/init.d/sabnzbd''', '''/usr/bin/sabnzbd''', '''/var/spool/sabnzbd''')&lt;br /&gt;
#* Remove '''amahi-sabnzbd''' RPM (in case this was not removed on uninstall)&lt;br /&gt;
#* You will find a backup of your settings from the uninstall at '''/tmp/sabnzbd.ini.bak''' (in case you forgot to copy it).&lt;br /&gt;
&lt;br /&gt;
If all goes well, you should now have the latest version.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' These instructions might require some updates, so please feel free to do so.&lt;br /&gt;
&lt;br /&gt;
=== Accessing [http://www.amahi.org/apps/sabnzbd-plus SABnzbd Plus] via IP Address ===&lt;br /&gt;
'''NOTE:'''  Needed for using some SABnzbd remote control apps such as mynzb for the iPad&lt;br /&gt;
&lt;br /&gt;
* Open SABnzbd using http://sabnzbdplus&lt;br /&gt;
* Navigate to the SABnzbd configuration page&lt;br /&gt;
* Ensure the option for host is set to 0.0.0.0&lt;br /&gt;
* Save changes using the icon at the bottom of the SABnzbd configuration page and then restart SABnzbd.&lt;br /&gt;
* You should now be able to access SABnzbd using x.x.x.x:25915 (where &amp;quot;x&amp;quot; is the hda IP address and &amp;quot;25915&amp;quot; is the default port of SABnzbd when installed via the hda.&lt;/div&gt;</summary>
		<author><name>Guerilla</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Access_HDA_over_SSL&amp;diff=41989</id>
		<title>Access HDA over SSL</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Access_HDA_over_SSL&amp;diff=41989"/>
		<updated>2011-06-16T12:32:13Z</updated>

		<summary type="html">&lt;p&gt;Guerilla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MessageBox|&lt;br /&gt;
backgroundcolor	= red|&lt;br /&gt;
image	=Warning.png|&lt;br /&gt;
heading	=WARNING|&lt;br /&gt;
message = This is recommended only for advanced users, proceed with caution.}}&lt;br /&gt;
Here I will discuss accessing your Amahi HDA over SSL.  This means that you will go to your home page http://hda and it will automatically convert to https://hda.&lt;br /&gt;
&lt;br /&gt;
= Why is this recommended? =&lt;br /&gt;
Currently you access your Amahi HDA control panel unsecured.  This means that anyone sniffing your network can get the password to your HDA.  If your password is compromised then this means they can log in to possibly modify your shares or even access SSH (if you have it enabled).  So I recommend anyone using SSH to at least have SSL access to their Amahi HDA.&lt;br /&gt;
&lt;br /&gt;
[[User:Sag47|Sag47]] 00:38, 15 June 2011 (PDT)&lt;br /&gt;
&lt;br /&gt;
= Prerequisites =&lt;br /&gt;
I assume you already have Fedora 14 installed with Amahi up and running.&lt;br /&gt;
&lt;br /&gt;
I have ran through the instructions here on Fedora 12 and everything works.&lt;br /&gt;
&lt;br /&gt;
[[User:Guerilla|Guerilla]] 13:31, 16 June 2011 (GMT)&lt;br /&gt;
&lt;br /&gt;
= Instructions =&lt;br /&gt;
== Install mod_ssl ==&lt;br /&gt;
mod_ssl for Apache2 is required for this functionality.  Luckily Fedora makes it easy.&lt;br /&gt;
{{Code|yum -y install mod_ssl}}&lt;br /&gt;
&lt;br /&gt;
== Generate your own certificates ==&lt;br /&gt;
NOTE: Leaving defaults will not make your server less secure.&lt;br /&gt;
{{Code|mkdir /etc/httpd/ssl.crt&lt;br /&gt;
&lt;br /&gt;
openssl genrsa -des3 -passout pass:asecretpassword -out /etc/httpd/ssl.crt/server.key.org 1024&lt;br /&gt;
&lt;br /&gt;
openssl req -new -passin pass:asecretpassword -passout pass:asecretpassword -key /etc/httpd/ssl.crt/server.key.org -out /etc/httpd/ssl.crt/server.csr -days 3650&lt;br /&gt;
&lt;br /&gt;
openssl req -x509 -passin pass:asecretpassword -passout pass:asecretpassword -key /etc/httpd/ssl.crt/server.key.org -in /etc/httpd/ssl.crt/server.csr -out /etc/httpd/ssl.crt/server.crt -days 3650&lt;br /&gt;
&lt;br /&gt;
openssl rsa -passin pass:asecretpassword -in /etc/httpd/ssl.crt/server.key.org -out /etc/httpd/ssl.crt/server.key&lt;br /&gt;
&lt;br /&gt;
mkdir /etc/httpd/ssl.key&lt;br /&gt;
&lt;br /&gt;
mv /etc/httpd/ssl.crt/server.key /etc/httpd/ssl.key/server.key&lt;br /&gt;
&lt;br /&gt;
chmod 400 /etc/httpd/ssl.key/server.key}}&lt;br /&gt;
&lt;br /&gt;
== Edit ssl.conf ==&lt;br /&gt;
Edit the current /etc/httpd/conf.d/ssl.conf and change the following lines to match the code below.&lt;br /&gt;
{{Code|SSLCertificateFile /etc/httpd/ssl.crt/server.crt&lt;br /&gt;
SSLCertificateKeyFile /etc/httpd/ssl.key/server.key}}&lt;br /&gt;
&lt;br /&gt;
== Modify apache initialization ==&lt;br /&gt;
Modify the apache initialization for allowing SSL virtual hosts.  Just in case you decide you want more than one virtual host to be capable of SSL.&lt;br /&gt;
{{Code|(cd /etc/httpd/conf.d/ &amp;amp;&amp;amp; echo 'NameVirtualHost *:443' &amp;gt;&amp;gt; ./00-init.conf)}}&lt;br /&gt;
&lt;br /&gt;
== Create your HDA SSL virtual host ==&lt;br /&gt;
Now you need your HDA virtual host over SSL.  The default configuration is pretty good so let's use that.&lt;br /&gt;
{{Code|cd /etc/httpd/conf.d/&lt;br /&gt;
cp 01-platform.conf 01-platform-ssl.conf}}&lt;br /&gt;
You need to modify 01-platform-ssl.conf and change &amp;lt;VirtualHost *:80&amp;gt; to the following...&lt;br /&gt;
{{Text|&amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
SSLEngine on&lt;br /&gt;
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL&lt;br /&gt;
SSLCertificateFile /etc/httpd/ssl.crt/server.crt&lt;br /&gt;
SSLCertificateKeyFile /etc/httpd/ssl.key/server.key}}&lt;br /&gt;
This way the server utilizes the SSL certificates you created for yourself.&lt;br /&gt;
&lt;br /&gt;
== Create a redirect from HDA to secured HDA ==&lt;br /&gt;
Modify 01-platform.conf and go down to the rewrite rules.  Below the last rewrite rule just before the line &amp;quot;# this was only for FCGI&amp;quot; put the following code.&lt;br /&gt;
{{Text|&amp;lt;nowiki&amp;gt;RewriteCond %{HTTPS} !=on&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R,L]&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== Restart the Apache2 server ==&lt;br /&gt;
Restart your server to apply the changes you've made.  If you did everything right you shouldn't receive any warnings when restarting the server.&lt;br /&gt;
{{Code|service httpd restart}}&lt;br /&gt;
&lt;br /&gt;
= Finished =&lt;br /&gt;
Now that you're done go ahead and visit http://hda and watch it turn into https://hda!  Understand that the certificates you generated have not been verified by a certificate authority so you'll need to confirm a security exception.&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
[[Secure App Access]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Access Joomla over HTTPS]]&lt;/div&gt;</summary>
		<author><name>Guerilla</name></author>
		
	</entry>
</feed>