Post proces faillure in SickRage

  • I have installed Sickrage due the plugin and since a week or so i have a lot of PP automatic and manual failure. Anyone can help me find the problem?


  • There are a few posts with this problem.


    They all seem to relate to the characther encoding set used.


    SickRage requires utf-8 but the sickbread user created and script used to start it don't pass a locale to sickrage correctly.


    To get around the problem I have been manually starting sickrage as root, this passes the locale correctly.


    Go to http://youip:8081/config and let me know if your SR locale is (none,none).


    When I launch as root this becomes ('en_NZ', 'UTF-8') and everything works perfect.


    Should be a simple change to the start script to force utf-8 encoding but I haven't managed to figure it out yet.

  • Hi subzero79, I had tried this without success earlier.


    Today I have fixed the issue by creating a new file in /etc/default called sickbeard


    nano /etc/default/sickbeard


    and adding:


    Code
    Environment=LC_ALL=en_US.UTF-8
    Environment=LANG=en_US.UTF-8


    then saving and restarting sickbeard with


    service sickbeard restart

  • Looking to fix this issue in the next version, decorating the living room ATM so might be a couple of days before released.

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • Added a new version in the download managers testing repo that should fix the encoding issue.

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • Hello All,


    I have followed the instructions above and the fix didn't work. I get the error below when I try to add my TV directory to sickrage after I updated recently (didn't backup my database etc. like it said to. :/)


    Error !UnicodeEncodeError: 'ascii' codec can't encode character u'\xc6' in position 0: ordinal not in range(128)<thead><tr><th class="col-checkbox"><input type="checkbox" id="checkAll" checked=checked></th><th>Directory</th><th width="20%">Show Name (tvshow.nfo)<th width="20%">Indexer</td></tr></thead> <tbody> % for curDir in dirList: <% if curDir['added_already']: continue show_id = curDir['dir'] if curDir['existing_info'][0]:


    /opt/sickbeard/gui/slick/views/home_massAddTable.mako, line 10:
    <%


    /opt/sickbeard/lib/mako/runtime.py, line 883:
    callable_(context, *args, **kwargs)


    The odd thing is that if I grab a directory one level deeper or any other folder it doesn't throw that error. (ie /shares/media/tv/Arrow, /shares/media/movies work fine. /shares/media/tv throws the error) Can someone please help? This has been down since Sunday and I'm now afraid that I won't be able to backfill the shows that I've missed.


    Thanks!

    Asus P5N-D LGA755 MoBo
    Intel Core 2 Quad 2.7 gHz
    8 GB 877Mhz DDR2 RAM
    IBM 1015 flashed to 9221-8i - IT mode w/o Option Rom
    Running OpenMediaVault 2.2.1
    OS => 1x320 GB HDD Partitioned 50/Remain for local storage & downloads
    Media => 4x3TB HDD's Software RAID 5
    Data => 3x500GB HDD's Software RAID 5

  • There are a couple of things to try above, what one(s) did you try.


    Whats the output when you run cat /etc/default/sickbeard

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • I tried all of them. I just did a removal of the plugin, rebooted and installed it fresh to see what happens (I also made sure that there were no files/directories referencing sickbeard in /opt or /home).


    I got the same error as I posted before. I created the .profile and added in the variable. Here are the perms for the .profile in /home/sickbeard (I changed the user/owner as I assumed that would be needed for the sickbeard user to access the file)
    -rwxr-xr-x 1 sickbeard users 24 Dec 11 10:20 .profile


    here is the output for /etc/default/sickbeard


    SB_HOME=/opt/sickbeard/
    SB_DATA=/var/opt/sickbeard/
    SB_USER=sickbeard
    PYTHON_BIN=/usr/bin/python
    SB_OPTS=" --config=/var/opt/sickbeard/config.ini"
    SSD_OPTS=" --group=users"
    Environment=LC_ALL=en_US.UTF-8
    Environment=LANG=en_US.UTF-8


    Here is what my SR locale is showing in sickrage (i just noticed that mine is set to en_CA could this be the problem?)
    SR Locale:('en_CA', 'UTF-8')

    Asus P5N-D LGA755 MoBo
    Intel Core 2 Quad 2.7 gHz
    8 GB 877Mhz DDR2 RAM
    IBM 1015 flashed to 9221-8i - IT mode w/o Option Rom
    Running OpenMediaVault 2.2.1
    OS => 1x320 GB HDD Partitioned 50/Remain for local storage & downloads
    Media => 4x3TB HDD's Software RAID 5
    Data => 3x500GB HDD's Software RAID 5

  • You could try changing that and restart SB to see if it makes any difference.

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • Where would I make that change? I looked in the /var/opt/sickbeard/config.ini and can't find it there. and the /home/sickbeard/.profile shows the correct locale.

    Asus P5N-D LGA755 MoBo
    Intel Core 2 Quad 2.7 gHz
    8 GB 877Mhz DDR2 RAM
    IBM 1015 flashed to 9221-8i - IT mode w/o Option Rom
    Running OpenMediaVault 2.2.1
    OS => 1x320 GB HDD Partitioned 50/Remain for local storage & downloads
    Media => 4x3TB HDD's Software RAID 5
    Data => 3x500GB HDD's Software RAID 5

  • nano /etc/default/sickbeard


    Use that to modify the file, don't forget to restart before checking.

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • restarted. Checked /etc/default/sickbeard. this is what the environment is set to.


    Environment=LC_ALL=en_US.UTF-8
    Environment=LANG=en_US.UTF-8


    Sickrage still shows the local as en_CA. Is there something in OMV that I need to change that it could be getting this from?
    SR Locale:('en_CA', 'UTF-8')

    Asus P5N-D LGA755 MoBo
    Intel Core 2 Quad 2.7 gHz
    8 GB 877Mhz DDR2 RAM
    IBM 1015 flashed to 9221-8i - IT mode w/o Option Rom
    Running OpenMediaVault 2.2.1
    OS => 1x320 GB HDD Partitioned 50/Remain for local storage & downloads
    Media => 4x3TB HDD's Software RAID 5
    Data => 3x500GB HDD's Software RAID 5

  • Remove the profie rm /home/sickbeard -R
    Restart sickbeard

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • Are you adding a new show or importing an existing show?
    It could be that you will need to rename as it was created by SB before it started to get fussy about encoding.

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • Tried that... no dice... :( this is exceptionally frustrating. Should I add that file back again (/home/sickbeard/.profile)?

    Asus P5N-D LGA755 MoBo
    Intel Core 2 Quad 2.7 gHz
    8 GB 877Mhz DDR2 RAM
    IBM 1015 flashed to 9221-8i - IT mode w/o Option Rom
    Running OpenMediaVault 2.2.1
    OS => 1x320 GB HDD Partitioned 50/Remain for local storage & downloads
    Media => 4x3TB HDD's Software RAID 5
    Data => 3x500GB HDD's Software RAID 5

  • It is not needed, when you install or upgrade from an earlier version the encoding options is set in /etc/default/sickbeard.


    If you want I can take a look via team viewer, PM me access details if you want to go this route.

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!