DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#151 2012-02-29 04:07:26

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

It's weird because the folders were created in the "incomplete" directory. Even the one that was there while it was unpacking and validating was there, but showed up as empty. After it was dome unpacking, the folder was deleted and the download moved to the correct directory. Everything is working as it should, but it is as if the files are invisible while they are unpacking and when they fail? You would think that is SAB is making the folders and then deleting them in THAT directory, then that is where the files would be. But the folders say 0bytes and show as empty.

I do have THIS in the SAB log?

2012-02-28 20:04:14,629::INFO::[__init__:835] /mnt/HD/HD_a2/Downloads/incomplete/Miniseries Divx/__ADMIN__/SABnzbd_nzf_CRrxi6 removed
2012-02-28 20:04:14,632::INFO::[__init__:835] /mnt/HD/HD_a2/Downloads/incomplete/ Miniseries Divx/__ADMIN__/SABnzbd_nzf_nUw6rb removed
2012-02-28 20:04:14,635::INFO::[__init__:835] /mnt/HD/HD_a2/Downloads/incomplete/ Miniseries Divx/__ADMIN__/SABnzbd_nzf_EBw_Lp removed
2012-02-28 20:04:14,638::INFO::[__init__:835] /mnt/HD/HD_a2/Downloads/incomplete/Miniseries Divx/__ADMIN__/SABnzbd_nzf_jFbqnj removed
2012-02-28 20:04:14,641::INFO::[__init__:835] /mnt/HD/HD_a2/Downloads/incomplete/ Miniseries Divx/__ADMIN__/SABnzbd_nzf_GsQgzM removed
2012-02-28 20:04:14,644::INFO::[__init__:835] /mnt/HD/HD_a2/Downloads/incomplete/ Miniseries Divx/__ADMIN__/SABnzbd_nzf_cQFHEe removed

I don't know.. it obviously failed... just don't know why it would delete it.

Offline

 

#152 2012-02-29 08:31:38

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

This is what I get when I try to "retry" the file:
Traceback (most recent call last):
  File "/home/tommymsw/SABnzbd/cherrypy/_cprequest.py", line 618, in respond
    cherrypy.response.body = self.handler()
  File "/home/tommymsw/SABnzbd/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/tommymsw/SABnzbd/sabnzbd/interface.py", line 906, in retry_pp
    retry_job(kwargs.get('job'), kwargs.get('nzbfile'))
  File "/home/tommymsw/SABnzbd/sabnzbd/api.py", line 1383, in retry_job
    path = history_db.get_path(job)
  File "/home/tommymsw/SABnzbd/sabnzbd/database.py", line 290, in get_path
    return self.c.fetchone().get('path')
AttributeError: 'NoneType' object has no attribute 'get

Downloaded the exact same thing on my PC and all went fine. Guess I will just use my PC as a backup?'

Last edited by tommymsw (2012-02-29 20:59:57)

Offline

 

#153 2012-03-01 00:19:09

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

It's weird because the folders were created in the "incomplete" directory. Even the one that was there while it was unpacking and validating was there, but showed up as empty. After it was dome unpacking, the folder was deleted and the download moved to the correct directory. Everything is working as it should, but it is as if the files are invisible while they are unpacking and when they fail? You would think that is SAB is making the folders and then deleting them in THAT directory, then that is where the files would be. But the folders say 0bytes and show as empty.

I do have THIS in the SAB log?

2012-02-28 20:04:14,629::INFO::[__init__:835] /mnt/HD/HD_a2/Downloads/incomplete/Miniseries Divx/__ADMIN__/SABnzbd_nzf_CRrxi6 removed
2012-02-28 20:04:14,632::INFO::[__init__:835] /mnt/HD/HD_a2/Downloads/incomplete/ Miniseries Divx/__ADMIN__/SABnzbd_nzf_nUw6rb removed
2012-02-28 20:04:14,635::INFO::[__init__:835] /mnt/HD/HD_a2/Downloads/incomplete/ Miniseries Divx/__ADMIN__/SABnzbd_nzf_EBw_Lp removed
2012-02-28 20:04:14,638::INFO::[__init__:835] /mnt/HD/HD_a2/Downloads/incomplete/Miniseries Divx/__ADMIN__/SABnzbd_nzf_jFbqnj removed
2012-02-28 20:04:14,641::INFO::[__init__:835] /mnt/HD/HD_a2/Downloads/incomplete/ Miniseries Divx/__ADMIN__/SABnzbd_nzf_GsQgzM removed
2012-02-28 20:04:14,644::INFO::[__init__:835] /mnt/HD/HD_a2/Downloads/incomplete/ Miniseries Divx/__ADMIN__/SABnzbd_nzf_cQFHEe removed

I don't know.. it obviously failed... just don't know why it would delete it.

This seems like a right issue. As root

#chmod -r 777 /mnt/HD/HD_a2/Downloads

Last edited by Terrabyte (2012-03-01 00:21:48)

Offline

 

#154 2012-03-01 09:52:24

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

I am guessing this is due mostly to the poor processing power of the unit. My downloads are half as slow as they were on my PC and extraction takes 5 times as long! lol
I am assuming that when there are too many repairs, the unit will just fail out. It can't be a rights issue as every other download has worked perfectly. This one was big and needed repair.

All and all, it is still nice to have this moved off my PC and the extra time balances itself out. And this was a comparatively cheap unit! smile
I didn't expect it to be perfect.

Offline

 

#155 2012-03-01 10:14:29

sucram65
Member
Registered: 2012-03-01
Posts: 6

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Terrabye and danfozzy I got everything setup and working but I noticed that you are now using absolute paths for downloads. I'm curious, what are you using to serve your videos. Is it the built in mediatomb of the nas or are you using something else. I've got minidlna setup but I can't see any of my shows when viewed from my ps3 or blu-ray player. All of my stuff is inside the squeeze directory and I'm guessing that that is at least part of the problem. I'm wondering where should I situate my downloaded videos so that they can be seen on the network? Thanks.

Last edited by sucram65 (2012-03-01 10:15:00)

Offline

 

#156 2012-03-01 14:35:46

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

I am guessing this is due mostly to the poor processing power of the unit. My downloads are half as slow as they were on my PC and extraction takes 5 times as long! lol
I am assuming that when there are too many repairs, the unit will just fail out. It can't be a rights issue as every other download has worked perfectly. This one was big and needed repair.

All and all, it is still nice to have this moved off my PC and the extra time balances itself out. And this was a comparatively cheap unit! smile
I didn't expect it to be perfect.

I understood it as you couldn't see the incompletes. Whatever the case this NAS has far and away exceeded my expectations.

Offline

 

#157 2012-03-01 14:44:46

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

sucram65 wrote:

Terrabye and danfozzy I got everything setup and working but I noticed that you are now using absolute paths for downloads. I'm curious, what are you using to serve your videos. Is it the built in mediatomb of the nas or are you using something else. I've got minidlna setup but I can't see any of my shows when viewed from my ps3 or blu-ray player. All of my stuff is inside the squeeze directory and I'm guessing that that is at least part of the problem. I'm wondering where should I situate my downloaded videos so that they can be seen on the network? Thanks.

Create a folder through the Dlink Web UI. Make sure you allow everyone rights. It should now be visible on Debain but may not have the correct rights.
So the path in Debian would be

/mnt/HD/HD_a2/new_folder

Now SSH as root to correct rights
#chmod 777 -r /mnt/HD/HD_a2/new_folder
#exit

Go to SABnzbd and change the absolute paths to

/mnt/HD/HD_a2/new_folder/completes
/mnt/HD/HD_a2/new_folder/incompletes

Offline

 

#158 2012-03-02 04:40:25

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

So CP grabs movies and then puts them in the right folder for SAB to grab and SAB grabs them just fine, then when CP goes to rename them, it makes a folder in the proper directory, gets an ifo, tbn and so on, but then just deletes the movie! Out of three movies I grabbed so far (on the new set-up) it deleted two of them (both /mkv) and kept one (an .avi)

It made the folder and grabbed the proper files for the other two (mkv), but deleted the movies. But the .avi only moved the movie, but didn't create any of the other files for it!

The other two movies are just gone! sad
Doesn't look like this is going to work for me sad

Offline

 

#159 2012-03-02 04:48:42

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Here is my log: (abridged)

19:50:58 INFO  [     app.lib.cron.renamer] Removing dir: /mnt/HD/HD_a2/Downloads/temp/movies/MOVIE NAME 1985 720p BluRay x264 PSYCHD in download dir.
19:50:58 INFO  [     app.lib.cron.renamer] XBMC metainfo for imdbid, tt0089791, generated
19:50:55 INFO  [    app.lib.cron.subtitle] Finding subtitles for: /mnt/HD/HD_a2/Movies/MOVIE NAME (1985)
19:50:55 INFO  [     app.lib.cron.trailer] Finding trailers for: /mnt/HD/HD_a2/Movies/MOVIE NAME (1985)
19:50:54 INFO  [     app.lib.cron.renamer] Moving file "/mnt/HD/HD_a2/Downloads/temp/movies/MOVIE NAME 1985 720p BluRay x264 PSYCHD/MOVIE NAME.1985.720p.bluray.x264-psychd.mkv" to /mnt/HD/HD_a2/Movies/MOVIE NAME (1985)/MOVIE NAME.mkv.
19:50:54 INFO  [     app.lib.cron.renamer] Quality Old: 0, New 183.
19:50:54 INFO  [     app.lib.cron.renamer] Creating directory /mnt/HD/HD_a2/Movies/MOVIE NAME (1985)
19:50:54 INFO  [     app.lib.cron.renamer] Trying to find a home for: MOVIE NAME.1985.720p.bluray.x264-psychd.mkv
19:50:53 INFO  [          app.lib.library] Unable to fetch audio/video details for /mnt/HD/HD_a2/Downloads/temp/movies/MOVIE NAME 1985 720p BluRay x264 PSYCHD/MOVIE NAME.1985.720p.bluray.x264-psychd.mkv
19:50:53 INFO  [          app.lib.library] MOVIE NAME 1985 720p BluRay x264 PSYCHD's group name is PSYCHD
19:50:52 INFO  [          app.lib.library] Found movie via MovieQueue.

Offline

 

#160 2012-03-02 04:52:17

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

It can't be n issue with privileges because it made the folder and the other files right?
Plus the .avi file worked (although no extra info with it)... even weirder.

And the log said it moved the movie to the directory. But nothing is there. for two movies! I have not got the slightest at this point!

Offline

 

#161 2012-03-02 04:59:08

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

SSH as newuser and see if you see anything in /mnt/HD/HD_a2/Movies/

If you see nothing than SSH with root.

BTW, I am no expert in Debian, SABnzbd, Sickbeard or CouchPotato, but google is a good friend of mine

Offline

 

#162 2012-03-02 05:06:58

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Trust me, I am Googling and on other boards. lol
I fear this may be a simple hardware issue so I am seeing if anybody can confirm the same problem. I am stumped at this point. Makes no sense.

Offline

 

#163 2012-03-02 05:11:24

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

I have the same hardware...and if I have it working than you should too

There has got to be some little detail we are missing

Offline

 

#164 2012-03-02 06:50:37

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Do you download (big files), the only pattern I can see is that files less than 5g write to the drive and over 5g disappear.

Offline

 

#165 2012-03-02 07:37:57

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Terrabyte wrote:

SSH as newuser and see if you see anything in /mnt/HD/HD_a2/Movies/

If you see nothing than SSH with root.

BTW, I am no expert in Debian, SABnzbd, Sickbeard or CouchPotato, but google is a good friend of mine

I can see the files under both "newuser" and "root".

I can't imagine permissions is the issue... like I said, some files get there and some disappear. If it were a permissions or directory error (or just about anything) you would think that none of the files would get there right?

Seems like the software is messing up!

Offline

 

#166 2012-03-02 07:47:12

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Ok... I think I know the problem. Looks like a CP problem:
http://help.couchpota.to/discussions/pr … oving-them

So do you not have the same version of CP I have? Or do you just not download that bog of files?

Any idea on how to fix this? smile

Offline

 

#167 2012-03-02 09:20:36

Lazarus74
Member
Registered: 2012-02-22
Posts: 11

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Something happened last night.

When I woke up I couldn't connect through the browser, so I rebooted
the NAS, but still it doesn't work. Seems like it's downloading in the
background, but I get this in the browser:

Unrecoverable error in the server.
Traceback (most recent call last):
  File "/home/gherry/SABnzbd/cherrypy/_cpwsgi.py", line 79, in setapp
    s, h, b = self.get_response()
  File "/home/gherry/SABnzbd/cherrypy/_cpwsgi.py", line 219, in get_response
    response = self.request.run(meth, path, qs, rproto, headers, rfile)
  File "/home/gherry/SABnzbd/cherrypy/_cprequest.py", line 579, in run
    raise cherrypy.TimeoutError()
TimeoutError

Any ideas?

Offline

 

#168 2012-03-02 14:38:53

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

Ok... I think I know the problem. Looks like a CP problem:
http://help.couchpota.to/discussions/pr … oving-them

So do you not have the same version of CP I have? Or do you just not download that bog of files?

Any idea on how to fix this? smile

I using the most current version (git-4e183c6). If you install via git than you should have the most current version as well.

I download files up to 12 GB.

Try SSH as root

#apt-get update
#apt-get upgrade

You have to have this repo
deb http://security.debian.org/ squeeze/updates main contrib non-free

Last edited by Terrabyte (2012-03-02 14:40:31)

Offline

 

#169 2012-03-02 17:31:20

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Lazarus74 wrote:

Something happened last night.

When I woke up I couldn't connect through the browser, so I rebooted
the NAS, but still it doesn't work. Seems like it's downloading in the
background, but I get this in the browser:

Unrecoverable error in the server.
Traceback (most recent call last):
  File "/home/gherry/SABnzbd/cherrypy/_cpwsgi.py", line 79, in setapp
    s, h, b = self.get_response()
  File "/home/gherry/SABnzbd/cherrypy/_cpwsgi.py", line 219, in get_response
    response = self.request.run(meth, path, qs, rproto, headers, rfile)
  File "/home/gherry/SABnzbd/cherrypy/_cprequest.py", line 579, in run
    raise cherrypy.TimeoutError()
TimeoutError

Any ideas?

Try stopping and starting SABnzbd from SSH as newuser and see what happens
$su
#service sabnzbd stop
#exit
$python SABnzbd/SABnzbd.py -d -f .sabnzbd/sabnzbd.ini -s your.nas.ip:8080

Otherwise, check on SABnzbd forums or google

Last edited by Terrabyte (2012-03-02 20:22:20)

Offline

 

#170 2012-03-02 18:34:40

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Terrabyte wrote:

tommymsw wrote:

Ok... I think I know the problem. Looks like a CP problem:
http://help.couchpota.to/discussions/pr … oving-them

So do you not have the same version of CP I have? Or do you just not download that bog of files?

Any idea on how to fix this? smile

I using the most current version (git-4e183c6). If you install via git than you should have the most current version as well.

I download files up to 12 GB.

Try SSH as root

#apt-get update
#apt-get upgrade

You have to have this repo
deb http://security.debian.org/ squeeze/updates main contrib non-free

Well I have the same version of CP as you. But I suffer from the exact same problem described on the CP help page, so it looks like it is a known issue. The people on the page said is was kind of random and both files missing from my CP happened to be 6.4g (coincidence?).

For now I just unchecked the "cleanup" tab in CP as somebody said this fixes the problem.

I ran both apt-get in your message (not really sure what that did, but you say do, and I do! lol) and I am guessing as they ran and downloaded stuff that this means I do have the repo you mentioned? Or do I still need to do something with that?

Last edited by tommymsw (2012-03-02 18:36:36)

Offline

 

#171 2012-03-02 20:15:56

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

Well I have the same version of CP as you. But I suffer from the exact same problem described on the CP help page, so it looks like it is a known issue. The people on the page said is was kind of random and both files missing from my CP happened to be 6.4g (coincidence?).

For now I just unchecked the "cleanup" tab in CP as somebody said this fixes the problem.

I ran both apt-get in your message (not really sure what that did, but you say do, and I do! lol) and I am guessing as they ran and downloaded stuff that this means I do have the repo you mentioned? Or do I still need to do something with that?

It just updates your Debian (Squeeze) installation to the most current.

Last edited by Terrabyte (2012-03-02 20:45:15)

Offline

 

#172 2012-03-02 20:48:38

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

I can see the files under both "newuser" and "root".

I can't imagine permissions is the issue... like I said, some files get there and some disappear.

It might be permission issues

SSH as root
#chmod 777 -r /mnt/HD/HD_a2/Movies
#exit

Check your shares from PC and see if you can see them now.

Offline

 

#173 2012-03-02 20:54:43

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

lol... that command only made the folder disappear! I tried it on another folder and that one disappeared too! I just can't win!

When I look at the drive through the dlink software, I see the movie folder, but it is now invisible to my PC after I chmod it! Now even mysql says the folder does not exist! I should have just quit while I was ahead! lol

The movies still play from the XBMC, the folder just does not show up under explorer anymore and mysql can't see it.

Last edited by tommymsw (2012-03-02 20:59:36)

Offline

 

#174 2012-03-02 22:12:27

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

I did the chmod again but without the "-r" on both directories, and they are both back now! lol

Offline

 

#175 2012-03-02 22:23:03

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

I did the chmod again but without the "-r" on both directories, and they are both back now! lol

My mistake "-r" should have been "-R"

SSH as root
#chmod 777 -R /mnt/HD/HD_a2/Movies
#exit

All folders, subfolders and files will have full rights. This should fix the problem.

Last edited by Terrabyte (2012-03-02 22:44:56)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB