[FreeNAS 9 Plugins] - SAB / SB / CP / HP / Maraschino / HTPC / Mylar / LL / Gamez

Status
Not open for further replies.

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I would create issues for those errors on CPs github repo. they don't sound like they're caused by freenas
 

smokenmirraz

Cadet
Joined
Apr 4, 2014
Messages
2
Anyone else have a problem with the "You might like this" list not updating in Couchpotato? I am not home right now but my logs keeping getting an error about something related to the string length in the minified stuff. I will post the error when I am home.

I also get a DB error about updating a parameter.

I followed the youtube video pretty much exactly (other than different names).

Transmission/Headphones/Couchpotato/Sickbeard/Sab all in one jail.

FWIW, I upgraded my phone and tablet to KK 4.4.4 ROM and the issue has been fixed. Seems a little odd, but it's working now, so I'm happy.

Edit: It seems more likely that couchpotato updating to version e75a8529c on 17/7 fixed the problem.
 
Last edited:

larzeb

Dabbler
Joined
Aug 13, 2011
Messages
42
Josh,

I followed your blog instructions and was unable to fetch URL using SickRage. How do I replace this with Sickbeard?

Thanks for your help
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Josh,

I followed your blog instructions and was unable to fetch URL using SickRage. How do I replace this with Sickbeard?

Thanks for your help
you are saying sickrage isn't working? if you don't do a few of those commands then you'll stay with the default sickbeard.
 

larzeb

Dabbler
Joined
Aug 13, 2011
Messages
42
you are saying sickrage isn't working? if you don't do a few of those commands then you'll stay with the default sickbeard.

It was not telling sabnzbd to download what it had snatched.
Code:
Search url: http://www.nzbgeek.info/api?q=Masters.of.
Sex&apikey=myApiKey&limit=100&t=tvsearch&season=2&ep=2&maxage=500&cat=5030%2C5040

No RSS items found using URL: http://www.nzbgeek.info
/api?q=Masters.of.Sex&apikey=myApiKey&limit=100&t=tvsearch&season=2&ep=2&maxage=500&cat=5030%2C5040


So I started over again and really botched the installation. When I navigate to myUrl/sickbeard it does not find it. Can I uninstall and reinstall the PBI?
Code:
service sickbeard onestop
rm -r /usr/pbi/sickbeard-amd64/share/sickbeard/Sick-Beard /usr/pbi/sickbeard-amd64/etc/sickbeard/* && git clone https://github.com/echel0n/SickRage.git /usr/pbi/sickbeard-amd64/share/sickbeard/Sick-Beard
service sickbeard start


Which commands were you referring to that not doing them would install sickbeard and not sickrage?

Thanks again
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I really can't help you if you have a partially installed system.

sickrage not working with sabnzbd was most likely user error. you can test your connection to sabnzbd on the page where you enter the b information for sabnzbds URL.
 

larzeb

Dabbler
Joined
Aug 13, 2011
Messages
42
Josh, what is your recommendation on updating nzbtomedia via git?

I am getting an error periodically when sabnzbd finishes and passes off to sickbeard post-processing.

Code:
[16:24:12] [POSTPROCESS]::SICKBEARD: PostProcessing RarContent: []
[16:24:12] [POSTPROCESS]::SICKBEARD: PostProcessing VideoInRar: []
[16:24:12] [POSTPROCESS]::SICKBEARD: Processing folder abc.xyz.S00E00
16:24:12] [POSTPROCESS]::SICKBEARD: Successfully processed
[16:24:12] [ERROR]::MAIN: A problem was reported in the /usr/local/share/nzbToMedia/nzbToSickBeard.py script.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Josh, what is your recommendation on updating nzbtomedia via git?

I am getting an error periodically when sabnzbd finishes and passes off to sickbeard post-processing.

Code:
[16:24:12] [POSTPROCESS]::SICKBEARD: PostProcessing RarContent: []
[16:24:12] [POSTPROCESS]::SICKBEARD: PostProcessing VideoInRar: []
[16:24:12] [POSTPROCESS]::SICKBEARD: Processing folder abc.xyz.S00E00
16:24:12] [POSTPROCESS]::SICKBEARD: Successfully processed
[16:24:12] [ERROR]::MAIN: A problem was reported in the /usr/local/share/nzbToMedia/nzbToSickBeard.py script.

This should update nzbToMedia to the latest. I don't know how that would solve your issue, or even what your issue is.
Code:
cd /usr/local/share/nzbToMedia
git pull
 

Liriel

Dabbler
Joined
Mar 14, 2014
Messages
40
The Mylar pid file is not deleted at reboot, so I have to manually delete after each reboot in order to start Mylar.

Any thoughts on how I can fix this behaviour?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
The Mylar pid file is not deleted at reboot, so I have to manually delete after each reboot in order to start Mylar.

Any thoughts on how I can fix this behaviour?
I can add this to a prestart routine in Mylars startup script. I'll do this and resubmit at somepoint in the future.
 

Liriel

Dabbler
Joined
Mar 14, 2014
Messages
40
Thanks.

That makes me think that for now I can just edit

mylar_1/usr/pbi/mylar-amd64/etc/rc.d/mylar

to remove the pidfile before run_rc_command
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949

larzeb

Dabbler
Joined
Aug 13, 2011
Messages
42
Josh,

I've installed from scratch again.

I get an error from the post-processing of a movie. It is similar to an earlier post, but sqlite3 is loaded. Python cannot load libsqlite3.so.

Code:
 File "/usr/local/share/nzbToMedia/nzbToCouchPotato.py", line 244, in <module>
    import nzbToMedia
  File "/usr/local/share/nzbToMedia/nzbToMedia.py", line 491, in <module>
    import nzbtomedia
  File "/usr/local/share/nzbToMedia/nzbtomedia/__init__.py", line 27, in <module>
    from nzbtomedia.autoProcess.autoProcessComics import autoProcessComics
  File "/usr/local/share/nzbToMedia/nzbtomedia/autoProcess/autoProcessComics.py", line 6, in <module>
    from nzbtomedia.nzbToMediaUtil import convert_to_ascii, remoteDir, server_responding
  File "/usr/local/share/nzbToMedia/nzbtomedia/nzbToMediaUtil.py", line 12, in <module>
    import beets
  File "/usr/local/share/nzbToMedia/libs/beets/__init__.py", line 21, in <module>
    import beets.library
  File "/usr/local/share/nzbToMedia/libs/beets/library.py", line 30, in <module>
    from beets import dbcore
  File "/usr/local/share/nzbToMedia/libs/beets/dbcore/__init__.py", line 18, in <module>
    from .db import Model, Database
  File "/usr/local/share/nzbToMedia/libs/beets/dbcore/db.py", line 21, in <module>
    import sqlite3
  File "/usr/local/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
    from dbapi2 import *
  File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 27, in <module>
    from _sqlite3 import *
ImportError: Shared object "libsqlite3.so.0" not found, required by "_sqlite3.so"


If I try to import sqlite3 in python, I get:
Code:
root@download_jail:/ # python
Python 2.7.6 (default, May 30 2014, 17:28:26)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
    from dbapi2 import *
  File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 27, in <module>
    from _sqlite3 import *
ImportError: Shared object "libsqlite3.so.0" not found, required by "_sqlite3.so"


Any ideas on how to correct this? I've tried to follow your instructions very carefully.

Thanks
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
lots of people have been hitting this and I think it's caused by a bug in the sqlite3 package. the below should fix it

ln -s /usr/local/lib/libsqlite3.so.8 /usr/local/lib/libsqlite3.so.0

EDIT
ive investigated, this bug is due to freenas jails shipping an older version of sqlite3. when py27-sqlite3 is installed it doesn't grab a newer version of the library even though they won't work together.

the cleanest workaround is to 'pkg install sqlite3' which will update the library.
 
Last edited:

larzeb

Dabbler
Joined
Aug 13, 2011
Messages
42
Yes, after creating the symbolic link the error persists. I installed the sqlite3 package but haven't yet tested it. I will post when I have.
 

larzeb

Dabbler
Joined
Aug 13, 2011
Messages
42
I noticed on my first transmission of a TV show, it failed to move the show to the appropriate folder.

From
/usr/local/share/nzbToMedia/logs/nzbtomedia.log

Code:
2014-08-08 08:13:59 INFO    ::MAIN: SEARCH: Found torrent file MyTVShow.mp4 in input directory directory /mnt/media/downloads/transmission/incomplete
2014-08-08 08:13:59 INFO    ::MAIN: SEARCH: Setting inputDirectory to /mnt/media/downloads/transmission/incomplete/MyTVShow.mp4
2014-08-08 08:13:59 ERROR   ::MAIN: Unable to locate a section with subsection:UNCAT enabled in your autoProcessMedia.cfg, exiting!
2014-08-08 08:13:59 ERROR   ::MAIN: A problem was reported in the /usr/local/share/nzbToMedia/TorrentToMedia.py script.


In the autoProcessMedia.cfg, I think the message refers to the enabled attribute:
Code:
[UserScript]
    #Use user_script for uncategorized downloads
    #Set the categories to use external script.
    #Use "UNCAT" to process non-category downloads, and "ALL" for all defined categories.
    [[UNCAT]]
        #Enable/Disable this subsection category
        enabled = 0
        Torrent_NoLink = 0
        extract = 1
        #Enable if you are sending commands to a remote server for this category
        remote_path = 0
        #What extension do you want to process? Specify all the extension, or use "ALL" to process all files.
        user_script_mediaExtensions = .mkv, .avi, .divx, .xvid, .mov, .wmv, .mp4, .mpg, .mpeg
        #Specify the path to your custom script. Use "None" if you wish to link this category, but NOT run any external script.
        user_script_path = /nzbToMedia/userscripts/script.sh


I'm afraid to enable it because there's no script.sh or userscripts folder .

I believe I followed your installation instructions perfectly. I double-checked that I had. Any ideas on what might correct this?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
@larzeb
I made a mistake in the link command I provided. I fixed it but updating sqlite3 should also work. basically you want to be able to run 'python' then 'import sqlite3'. if that works, nznToMedia should work.

don't enable the userscript, double check your nzbToMedia config, and possibly update nzbToMedia with 'git pull'.

let's keep this thread related to installing the plugins themselves, and not configuring them (which would be on the respective programs forum/ or on my blog). if you have questions with my blog leave a comment there.
 

johnkeel

Dabbler
Joined
Aug 9, 2014
Messages
11
Well couchpotato was working perfect yesterday but today the "you might like these" tab is empty.
No idea what caused this it was over night and there´s not error in the logs.

The only thing weird i can find is when i hit "check for updates" i get this in the logs:
[hpotato.core.plugins.base] Opening url: get https://api.github.com/repos/RuudBurger/CouchPotatoServer/commits?per_page=1&sha=master, data: []

And nothing else... is that supposed to be like that?
 
Status
Not open for further replies.
Top