Couchpotato reverse proxy fail

Status
Not open for further replies.

jasn

Dabbler
Joined
Dec 19, 2014
Messages
32
Following Joshua's excellent guide, I setup my FreeNAS Mini with a clean install of 11.1, and a brand new jail configuration for SABnzbd, Couchpotato, Sickrage, and Transmission. Getting to the part of configuring nginx, and the separate reverse proxies for each service, I followed the tutorial and added the following to my /usr/local/etc/nginx/nginx.conf file;
Code:
		location ^~ /couchpotato {
				proxy_pass http://127.0.0.1:5050;
		}

		location ^~ /sabnzbd {
				proxy_pass http://127.0.0.1:8080;
		}

		location ^~ /sickrage {
				proxy_pass http://127.0.0.1:8081;
		}

		location ^~ /transmission {
				proxy_pass http://127.0.0.1:9091;
		}

Afterwards, with all parts working correctly within the jail, when I try to visit the separate webguis, the following happens;

[jail_ip]/sabnzbd takes me to the SABnzbd webgui
[jail_ip]/sickrage/home/ takes me to the Sickrage webgui
[jail_ip]/transmission/web/ takes me to the Transmission webgui
but
[jail_ip]/couchpotato converts to [jail_ip]/#couchpotato/ and takes me to the "Welcome to nginx!" page

In order for me to get to the Couchpotato webgui, I need to use [jail_ip]:5050

Am I doing something wrong with this configuration?

Thanks..
 

jasn

Dabbler
Joined
Dec 19, 2014
Messages
32
Unfortunately, no. I don't know what might be the answer here.
 

mow4cash

Contributor
Joined
Jan 20, 2017
Messages
132
I think you might need to set the url base /couchpotato in the couchpotato config. It feels like it's been years since I've used CP, you might want to think about using Radarr & Sonarr.
 

jasn

Dabbler
Joined
Dec 19, 2014
Messages
32
Darn it. User error again.

After mow4cash's suggestion, I went back into my Couchpotato config, and realize that I had forgotten to configure the first part of the recommended Couchpotato config from Josua's tutorial. Specifically this section;
Code:
CouchPotato WebUI
Settings > General

  • Show advanced settings = [√]
  • Url Base = couchpotato
  • Folder CHMOD = 0777
  • File CHMOD = 0666
After configuring the Url Base with couchpotato, everything is working correctly now.

Thanks all!
 
Status
Not open for further replies.
Top