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

#51 2012-02-22 21:09:43

danfozzy
Member
Registered: 2011-12-17
Posts: 70

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Completely delete your squeeze install, and start fresh, it's them locale setting messing things up

Offline

 

#52 2012-02-23 00:14:32

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Lazarus74 wrote:

It's just that I don't get that far as installing SABnzbd.
It starts messing up on #apt-get upgrade.

Disregard the error for now. You can keep going with the instructions and you will be fine.

SABnzbd 0.6.15 has a bug with locale which prevents it from running, but these instructions should fix locale. Please let me know if they don't.

Swedish locale but the language of the system to be in English

**** 1st ****
Set locale settings as follows
#apt-get install locales
#export LANGUAGE="en_US.UTF-8"
#export LANG="en_US.UTF-8"
#export LC_ALL="sv_US.UTF-8"
#locale-gen sv_US.UTF-8

**** 2nd ****
The command below will start Sabnzbd
#python SABnzbd/SABnzbd.py -d -f .sabnzbd/sabnzbd.ini -s your.nas.ip:8080

Last edited by Terrabyte (2012-02-23 01:27:06)

Offline

 

#53 2012-02-23 08:42:03

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Thanks for your support, but nothing really help.

Like you said, I ran through everything and didn't care about the locale errors along the way (posted earlier).
Still, when starting SABnzbd i get this, and the wizard does not start:

Traceback (most recent call last):
  File "SABnzbd/SABnzbd.py", line 65, in <module>
    import sabnzbd
  File "/home/gherry/SABnzbd/sabnzbd/__init__.py", line 85, in <module>
    import sabnzbd.api
  File "/home/gherry/SABnzbd/sabnzbd/api.py", line 29, in <module>
    locale.setlocale(locale.LC_ALL, "")
  File "/usr/lib/python2.6/locale.py", line 513, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

Offline

 

#54 2012-02-23 15:04:41

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

That is the same error I had. So this didn't work

**** 1st ****
Set locale settings as follows
#apt-get install locales
#export LANGUAGE="en_US.UTF-8"
#export LANG="en_US.UTF-8"
#export LC_ALL="sv_US.UTF-8"
#locale-gen sv_US.UTF-8
#dpkg-reconfigure locales

Offline

 

#55 2012-02-23 15:06:03

danfozzy
Member
Registered: 2011-12-17
Posts: 70

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Don't copy the hash tags if your copy and pasting

Offline

 

#56 2012-02-23 18:07:12

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Got help from a friend, and now it's working.

I went through the guide, and ended up with the locale error when trying to start SABnzbd.
If someone else get the same error, do this:

1 - First run #nano /etc/locale.gen

2 - Remove the hash tag in front of "en_US en_US.UTF-8" and "sv_SE sv_SE.UTF-8". (CTRL+O and CTRL+X)

3 - Run #locale-gen en_US en_US.UTF-8 sv_SE sv_SE.UTF-8

4 - Run #dpkg-reconfigure locales

5 - Install SABnzbd again.

Hope this also helps anyone else

/Gherry

Offline

 

#57 2012-02-24 00:40:37

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Does anyone know how I shall set the path in SABnzbd if I want
to download to folder "Downloads" on "Volume_1"?

/Gherry

Offline

 

#58 2012-02-24 00:43:15

danfozzy
Member
Registered: 2011-12-17
Posts: 70

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

/mnt/HD/HD_a2/Downloads

That's for me, but the HD_a2 could be different. If u look in your squeeze folder then follow that path above you will find what yours is

Last edited by danfozzy (2012-02-24 00:43:56)

Offline

 

#59 2012-02-24 02:31:36

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Lazarus74 wrote:

Got help from a friend, and now it's working.

I went through the guide, and ended up with the locale error when trying to start SABnzbd.
If someone else get the same error, do this:

1 - First run #nano /etc/locale.gen

2 - Remove the hash tag in front of "en_US en_US.UTF-8" and "sv_SE sv_SE.UTF-8". (CTRL+O and CTRL+X)

3 - Run #locale-gen en_US en_US.UTF-8 sv_SE sv_SE.UTF-8

4 - Run #dpkg-reconfigure locales

5 - Install SABnzbd again.

Hope this also helps anyone else

/Gherry

Thanks will make change to the guide. Like I said before it is a bug in SABnzbd 0.6.15, but it can't hurt to setup locale anyway.

Offline

 

#60 2012-02-24 02:36:01

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

danfozzy wrote:

/mnt/HD/HD_a2/Downloads

That's for me, but the HD_a2 could be different. If u look in your squeeze folder then follow that path above you will find what yours is

Make sure the permission on that directory is open and recursive.

(i.e chmod 777 -R /mnt/HD/HD_a2/Downloads)

Otherwise the directories will be created but won't be visible on a share.

Last edited by Terrabyte (2012-02-24 02:42:43)

Offline

 

#61 2012-02-24 04:32:11

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Ok so NOOB proof is a stretch! lol

I am stuck at "Create a backup of the fun_plug script file that is on the DNS-320"

I am a "real" noob!

I have never done anything like this before. I just got this NAS today and want to set it up right from the beginning! But I have no idea how to SSH or what program to use? I am guessing "putty"?

I also don't know how to make the back-up to start with. Looks like all the rest of the code I deed is here so I think I will be good after that.

I have a fair understanding of things, I have hacked out every cellphoe I have, every game system and anything else I can get my hands of. I have just never done anything like this yet...

I Google and Google "How to ssh to dns-320" and I ONLY get this page! lol... if I Google ssh to my nas I only get one for a different brand and it is in German!

Last edited by tommymsw (2012-02-24 04:53:03)

Offline

 

#62 2012-02-24 05:06:04

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

Ok so NOOB proof is a stretch! lol

I am stuck at "Create a backup of the fun_plug script file that is on the DNS-320"

I am a "real" noob!

I have never done anything like this before. I just got this NAS today and want to set it up right from the beginning! But I have no idea how to SSH or what program to use? I am guessing "putty"?

I also don't know how to make the back-up to start with. Looks like all the rest of the code I deed is here so I think I will be good after that.

I have a fair understanding of things, I have hacked out every cellphoe I have, every game system and anything else I can get my hands of. I have just never done anything like this yet...

I Google and Google "How to ssh to dns-320" and I ONLY get this page! lol... if I Google ssh to my nas I only get one for a different brand and it is in German!

Start from here

http://nas-tweaks.net/40/installation-o … many-more/

Than come back

Offline

 

#63 2012-02-24 06:20:01

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Terrabyte wrote:

tommymsw wrote:

Ok so NOOB proof is a stretch! lol

I am stuck at "Create a backup of the fun_plug script file that is on the DNS-320"

I am a "real" noob!

I have never done anything like this before. I just got this NAS today and want to set it up right from the beginning! But I have no idea how to SSH or what program to use? I am guessing "putty"?

I also don't know how to make the back-up to start with. Looks like all the rest of the code I deed is here so I think I will be good after that.

I have a fair understanding of things, I have hacked out every cellphoe I have, every game system and anything else I can get my hands of. I have just never done anything like this yet...

I Google and Google "How to ssh to dns-320" and I ONLY get this page! lol... if I Google ssh to my nas I only get one for a different brand and it is in German!

Start from here

http://nas-tweaks.net/40/installation-o … many-more/

Than come back

Done! smile Thank you.

Last edited by tommymsw (2012-02-24 07:15:34)

Offline

 

#64 2012-02-24 08:15:55

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Well still no luck. Every time I follow the directions here and get to the restart the NAS, I loose the ability to SSH to it. I have to start all over again from the first page you sent me to.

Also when I get to:
SSH to the device.
You should get the ffp prompt: /#

That is NOT what my prompt looks like. I have to log in so I have the long "logged in" prompt. I don't know where the error is.

When I copy the commands, do I put the "#" in front of them? I tried both ways. I eventually get a "squeeze" folder but it does not contain the fun_plug file (that is still in the root).
Does it take a long time for the directory to get created? Should I wait longer?

And I am trying to start all over again and delete everything and the "squeeze" folder is HUNDREDS if GIGS in size? What is up with that? lol

What is up with that "squeeze" folder? I right clicked on it over an hour ago to see "properties" and it is STILL going up! It is over 300 gigs, 150,000 files and 20,000 folders and going! lol

but it can't be that size because the HD says it is virtually empty! I can't even delete it because it wants to read it all before it deletes it! Am I in the Twilight Zone?

Last edited by tommymsw (2012-02-24 09:08:17)

Offline

 

#65 2012-02-24 09:31:11

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Well, I can't even delete the "squeeze" folder for whatever reason... it starts to delete it and goes into "discovering", gets to about 240gigs and then the window just goes away! Time to reformat? Better yet, time for a few beers and a good nights rest! This machine may be smarter than me!

Ignore all this... it's 4:30am. I got most of it working. I will report what I had to do different in the morning! smile

Last edited by tommymsw (2012-02-24 11:20:51)

Offline

 

#66 2012-02-24 16:10:22

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

Ignore all this... it's 4:30am. I got most of it working. I will report what I had to do different in the morning! smile

lol, this sounds like my adventures with DNS-320.

Please report back any problems or suggestions with the guide. I am always looking to clean up the installation process.

Offline

 

#67 2012-02-24 20:07:28

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Yes... and please know I am only offering advice from a real noob reading it! lol. Your guide is awesome and VERY helpful.

This is what I got:
Besides having to do that other part first...

"SSH to the device.
You should get the ffp prompt: /#"
Should say TELNET to the devise (I followed it literally and logged in under SSH)
This part is fine....
"Perform the following commands:
# cd /mnt/HD/HD_a2
# gunzip squeeze.tar.gz
# tar -xf squeeze.tar
# ls"
But I rushed it and didn't wait for the command prompt each time. And a note to not copy the "#" would be helpful? I tried both ways.

"Add updated repos
#nano /etc/apt/sources.list  **Add lines below to file**

    deb http://security.debian.org/ squeeze/updates main contrib non-free
    deb http://ftp.debian.org/debian/ squeeze main contrib non-free
--- Hit Control o to write file than Control x to exit file ---"
This part was confusing and took me a few times to do it right.

"Set locale settings as follows
#nano /etc/locale.gen

Remove the hash tag in front of "en_US en_US.UTF-8"
--- Hit Control o to write file than Control x to exit file ---"
This part didn't come up at all... I saw a blank screen so I backed out of it.
and then....
"#locale-gen en_US en_US.UTF-8
#dpkg-reconfigure locales"
this part didn't work at all.

"#wget http://voxel.dl.sourceforge.net/project … src.tar.gz"
Is not the full link (it is abbreviated) so I had to figure out the correct link and type it in manually.

"#git clone git://github.com/midgetspy/Sick-Beard.git"
didn't work and thus neither did the code to start sickbeard (but it did apparently make a sickbeard folder because it will not let me re-do the git part) says it already exists.

Couch potato seemed to install fine.  and starting it seemed fine (although I didn't get any real confirmation on the screen, but no error) but it shows a dead link when I try to view it in the browser.

Sabnzbd worked perfectly and is running fine!

I know that most of these are probably my fault, but I am letting you know where I failed so you can see where a total beginner failed! lol

I will continue to tinker for a while today! smile

Last edited by tommymsw (2012-02-24 20:10:48)

Offline

 

#68 2012-02-24 21:28:00

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Example from my screen when I try to re-do the directions:

tommymsw@dlink-017349:~$ git clone git://github.com/midgetspy/Sick-Beard.git
fatal: destination path 'Sick-Beard' already exists and is not an empty directory.


tommymsw@dlink-017349:~$ python Sick-Beard/Sickbeard.py -d
python: can't open file 'Sick-Beard/Sickbeard.py': [Errno 2] No such file or directory

Any ideas?

Offline

 

#69 2012-02-24 21:29:51

danfozzy
Member
Registered: 2011-12-17
Posts: 70

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Yes, its SickBeard.py - notice the capital "b"

Offline

 

#70 2012-02-24 22:38:23

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Also, I am having trouble setting my folders in Sabnzbd. I am not sure how to set the folders in this case? I put a test .nzb in the folder I want to be the "watched" folder, but Sabnzbd does not grab it. I tried:
Y:/Downloads/watched
Y:\Downloads\watched
Downloads/watched
Downloads\watched

I have a folder called Downloads\watched on the root of the NAS (I put it there). I am just not sure how to reference that folder FROM the NAS. Does it use the drive letter? Does it need one?

Offline

 

#71 2012-02-24 22:43:07

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

danfozzy wrote:

Yes, its SickBeard.py - notice the capital "b"

Now I get:

tommymsw@dlink-017349:~$ python Sick-Beard/SickBeard.py -d
sh: cannot create /dev/null: Permission denied


Also... am I supposed to now have the "$" instead of the "#"?

Offline

 

#72 2012-02-24 22:43:11

danfozzy
Member
Registered: 2011-12-17
Posts: 70

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

/mnt/HD/HD_a2/Downloads/watched

The HD_a2 could be different, if u look in your squeeze folder, then mnt, then HD, you will see what the folder is for you

Offline

 

#73 2012-02-24 22:44:42

danfozzy
Member
Registered: 2011-12-17
Posts: 70

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Type

Chmod -R 777 Sick-Beard

Then run Sickbeard again

Terra, need to add this in, prob best doing it for all apps

Last edited by danfozzy (2012-02-24 23:08:40)

Offline

 

#74 2012-02-24 23:21:28

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

danfozzy wrote:

/mnt/HD/HD_a2/Downloads/watched

The HD_a2 could be different, if u look in your squeeze folder, then mnt, then HD, you will see what the folder is for you

Thank you. That seemed to work. I am going to assume I need that first part of the path /mnt/HD/HD_a2/ for underthings? My "incomplete" and "Complete" folders? Also for my "categories" paths in Sabnzbd? Works like a charm! smile

Offline

 

#75 2012-02-24 23:22:47

danfozzy
Member
Registered: 2011-12-17
Posts: 70

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Yup that's right, there's another way making a symbolic link, but there's no need to go that route if you got it all working smile

/mnt/HD/HD_a2/ will take you to the root of your drive (were the fun_plug file is)

Last edited by danfozzy (2012-02-24 23:25:18)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB