DmcDenissen
Cadet
- Joined
- Jul 2, 2016
- Messages
- 4
Hi People,
Don't know if this is the right place. I finally got freenas (9.10stable) and I was installing some stuff like sabnzbd and couchpotato besides having problems and solving them for user permissions and stuff I encountered an error wenn I was searching within couchpotato it did nothing (I only setup usenet no torrents).
Wenn I looked at the logs I saw that there were 403 errors returning from the searches couchpotato did on binsearch. something like this:
ERROR [hpotato.core.plugins.base] Failed opening url in BinSearch .....
So Iooked at the query and found out that it used: minsize and maxsize as query variables but they needed to be xminsize and xmaxsize so I looked within the jail and after search for binsearch.py I edited it so I was using these vars instead of the ones without the x and couchpotato ran again. Maybe some have the same problem and now have a solution, these where the steps:
Don't know if this is the right place. I finally got freenas (9.10stable) and I was installing some stuff like sabnzbd and couchpotato besides having problems and solving them for user permissions and stuff I encountered an error wenn I was searching within couchpotato it did nothing (I only setup usenet no torrents).
Wenn I looked at the logs I saw that there were 403 errors returning from the searches couchpotato did on binsearch. something like this:
ERROR [hpotato.core.plugins.base] Failed opening url in BinSearch .....
So Iooked at the query and found out that it used: minsize and maxsize as query variables but they needed to be xminsize and xmaxsize so I looked within the jail and after search for binsearch.py I edited it so I was using these vars instead of the ones without the x and couchpotato ran again. Maybe some have the same problem and now have a solution, these where the steps:
- I logged in into my NAS through SSH (putty, and you need to enable the SSH service within your freenas box and configure it so it takes your root login)
- After that I located the binsearch file:
(mine was in: /mnt/[YOUR DATASET NAME]/jails/couchpotato_1/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/core/media/movie/providers/nzb/binsearch.py)
Code:locate binsearch.py
- so typed:
Code:cd /mnt/[YOUR DATASET NAME]/jails/couchpotato_1/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/core/media/movie/providers/nzb/
- then I gave it write permissions and changed the owner (don't know if it was needed but ok)
(for changing ownership)
Code:chown root:wheel binsearch.py
(to change file rights)
Code:chmod 777 binsearch.py
- After that I edited the file with the vi editor (You need to lookup the commands to edit)
Code:vi binsearch.py
- I changed the vars minsize to xminsize and maxsize to xmaxsize, and saved
- After that I returned the file to the media owner and back to read rights only:
Code:chown media:media binsearch.py
Code:chmod 444 binsearch.py
- then I restarted the jail through the freenas webadmin
- AND It worked !