Page 1 of 1

Downloads think they are completed, but aren't

Posted: May 13th, 2014, 3:22 pm
by hackshaq
Hi,

I hope someone can help me. I use sabnzbd together with Sickbeard both of which are hosted on a Ubuntu 12.10 VPS.

I have three issues with how sab is running on this machine. These can be seen here: http://take.ms/aN9Oy

First, across the top, it says "Your UNRAR version is not recommended, get it from http://www.rarlab.com/rar_add.htm". The unrar I have is the one in ubuntu's repo. Is the one from the link required? Will it solve either of the following issues?

Second, some downloads never complete. They seem to be 100% but are still sitting in the queue forever.

Third, some are listed as being complete. None of the downloads listed as complete has produced anything useful. When I check in my downloads folder (which is /root/downloads/complete/) I find sab has created folders there. (These folders are no longer listed under incomplete.) Such as this:
root@vps:~/downloads/complete# ls -al
total 16
drwxr-xr-x 4 root root 4096 May 13 15:29 .
drwxr-xr-x 6 root root 4096 May 13 15:26 ..
drwxrwxrwx 2 root root 4096 May 13 15:29 Blue.Bloods.S04E20.HDTV.x264-LOL
drwxrwxrwx 2 root root 4096 May 13 15:28 Blue.Bloods.S04E21.HDTV.x264-LOL

When I cd into those folders I find that sab has tried to move some rar files over but there are only a few.
root@vps:~/downloads/complete/Blue.Bloods.S04E20.HDTV.x264-LOL# ls
blue.bloods.420.hdtv-lol.r01 blue.bloods.420.hdtv-lol.r13 blue.bloods.420.hdtv-lol.vol31+07.par2
blue.bloods.420.hdtv-lol.r12 blue.bloods.420.hdtv-lol.r17

root@vps:~/downloads/complete/Blue.Bloods.S04E21.HDTV.x264-LOL# ls
blue.bloods.421.hdtv-lol.r02

Re: Downloads think they are completed, but aren't

Posted: May 13th, 2014, 4:55 pm
by hackshaq
I found the following in the logs.
2014-05-13 15:28:59,552::INFO::[decoder:230] <Article: article=1398470148.93338.14@eu.news.astraweb.com, bytes=787119, partnum=14, art_id=None> => missing from all servers, discarding
2014-05-13 15:29:01,776::INFO::[downloader:602] Thread 5@us.ngroups.net:563: Article 1398470148.88435.13@eu.news.astraweb.com missing (error=430)
2014-05-13 15:29:01,776::INFO::[decoder:230] <Article: article=1398470148.88435.13@eu.news.astraweb.com, bytes=786919, partnum=13, art_id=None> => missing from all servers, discarding
2014-05-13 15:29:01,791::INFO::[__init__:917] Saving data for totals9.sab in /root/.sabnzbd/admin/totals9.sab
2014-05-13 15:29:01,965::INFO::[__init__:906] /root/downloads/incomplete/Blue.Bloods.S04E20.HDTV.x264-LOL/__ ADMIN__/SABnzbd_nzo_CaYIzm removed
2014-05-13 15:29:01,966::INFO::[nzbqueue:211] Saving queue
2014-05-13 15:29:01,966::INFO::[__init__:917] Saving data for queue9.sab in /root/.sabnzbd/admin/queue9.sab
2014-05-13 15:29:01,966::INFO::[postproc:85] Saving postproc queue
2014-05-13 15:29:01,966::INFO::[__init__:917] Saving data for postproc1.sab in /root/.sabnzbd/admin/postproc1.sab
2014-05-13 15:29:01,967::INFO::[postproc:281] Starting PostProcessing on Blue.Bloods.S04E20.HDTV.x264-LOL => Repair:True, Unpack:True, Delete:True, Script:None, Cat:tv
2014-05-13 15:29:02,467::INFO::[postproc:564] Par2 check starting on Blue.Bloods.S04E20.HDTV.x264-LOL
2014-05-13 15:29:02,468::INFO::[postproc:585] Running repair on set blue.bloods.420.hdtv-lol
2014-05-13 15:29:02,468::INFO::[postproc:612] Par2 check finished on Blue.Bloods.S04E20.HDTV.x264-LOL
2014-05-13 15:29:02,469::INFO::[misc:792] Creating directories: /root/downloads/complete/Blue.Bloods.S04E20.HDTV.x264-LOL
2014-05-13 15:29:02,469::INFO::[postproc:346] Running unpack_magic on Blue.Bloods.S04E20.HDTV.x264-LOL
2014-05-13 15:29:02,470::INFO::[newsunpack:211] Unrar starting on /root/downloads/incomplete/Blue.Bloods.S04E20.HDTV.x264-LOL
2014-05-13 15:29:02,470::INFO::[newsunpack:427] Extracting rarfile /root/downloads/incomplete/Blue.Bloods.S04E20.HDTV.x264-LOL/blue.bloods.420.hdtv-lol.r01 (belonging to blue.bloods.420.hdtv-lol) to /root/downloads/c omplete/_UNPACK_Blue.Bloods.S04E20.HDTV.x264-LOL
2014-05-13 15:29:02,470::INFO::[newsunpack:537] Archive /root/downloads/incomplete/Blue.Bloods.S04E20.HDTV.x 264-LOL/blue.bloods.420.hdtv-lol.r01 probably has full encryption
2014-05-13 15:29:02,491::INFO::[newsunpack:725] Skipping unrar file check due to unreliable file names or old unrar
2014-05-13 15:29:02,492::INFO::[newsunpack:730] Unpacked 0 files/folders in 0 seconds
2014-05-13 15:29:02,492::INFO::[newsunpack:215] Unrar finished on /root/downloads/incomplete/Blue.Bloods.S04 E20.HDTV.x264-LOL
2014-05-13 15:29:02,493::INFO::[postproc:348] unpack_magic finished on Blue.Bloods.S04E20.HDTV.x264-LOL
2014-05-13 15:29:03,019::INFO::[postproc:537] Cleaning up Blue.Bloods.S04E20.HDTV.x264-LOL (keep_basic=False)

Re: Downloads think they are completed, but aren't

Posted: May 13th, 2014, 5:38 pm
by sander
"probably has full encryption" in your log looks alarming to me. So ... can you manually unrar the file set *without* a password?

Which unrar binary version have you got?

Re: Downloads think they are completed, but aren't

Posted: May 14th, 2014, 12:04 am
by hackshaq
I seem to have found the(or one of) issue. I now see the reason for that warning message. Also, I am not able to do anything with the one that said "probably has full encryption" as those downloads were partial, even though they were in the "complete" folder. That only had five of twenty rar files which was my original concern.

The one that responds when I run unrar is located in /usr/bin/rar. This one seems to be the one from the repo and it does not seem to work. I finally got a download to completely complete and I tried to open it with two different programs but only the second program worked.
First unrar:
RAR 3.93 Copyright (c) 1993-2010 Alexander Roshal 15 Mar 2010

I downloaded one from the rar site and put it in /etc/rar and was able to extract a video. How do I get Sab to use the version in /etc?
UNRAR 5.10 beta 4 freeware Copyright (c) 1993-2014 Alexander Roshal

Re: Downloads think they are completed, but aren't

Posted: May 14th, 2014, 6:49 am
by sander
hackshaq wrote: The one that responds when I run unrar is located in /usr/bin/rar.

....

How do I get Sab to use the version in /etc?
I would just copy the newest version (rar 5.x) unto /usr/bin/rar. That avoids doing clever things with paths.

HTH