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

#226 2012-03-12 01:13:17

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

When I:
ls -a
Some of the directories are in blue? I am not sure if that is important. I don't know what the colors mean.

Offline

 

#227 2012-03-12 01:26:43

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Just as an FYI... I am now doing the entire setup AGAIN (lol). I finished the part where I install and setup sabnzbd. It started and I did the setup. Then I installed SB and CP (as ti shows in the instructions. Then I chmod 777 -R /mnt/HD/HD_a2/Downloads (as root) and went back in as newuser and started SB (it took a few minutes to start)... after it did, I went back to Sabnzbd again it was closed down (This happens every time I did this, but I would always just re-start SAB). So even before I ever run CP for the first time... there is already a conflict between SB and SAB. (This is all a fresh install and I have done nothing yet other than install the programs and try to start them.

Offline

 

#228 2012-03-12 01:31:24

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

I then continued on and started CP. At this time CP and SB were both started and running. So I want ahead and restarted SAB. SAB started up, SB was still running, but CP had shut down.

Ran the command to start CP again:

All three are running now. Seems to have something to do with the order they start.

Last edited by tommymsw (2012-03-12 01:33:20)

Offline

 

#229 2012-03-12 01:41:59

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Re-stared NAS to see if starting in another order will help. (SB, SAB, CP)
SB command brought up "denied because of permissions) so I chmod 666 /dev/null

Ran command again and got:

tommymsw@dlink-017349:~$ python Sick-Beard/SickBeard.py -d
Exception in thread HTTPServer Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/tommymsw/Sick-Beard/cherrypy/process/servers.py", line 75, in _start_http_thread
    self.httpserver.start()
  File "/home/tommymsw/Sick-Beard/cherrypy/wsgiserver/__init__.py", line 1634, in start
    raise socket.error(msg)
error: [Errno 98] Address already in use

Entered command to start SAB... command accepted, new prompt, but SAB was not running.

Sent command to start CP, command took, CP started fine.
Sent command to start SB, SB started but CP crashed.
Sent command to starts SAB. SAB started, SB still running.
Sent command to start CP, CP started, SAB and SB also running.

I have NO IDEA! lol... you tell me? Do you see a pattern here? Or a possible cause?

Last edited by tommymsw (2012-03-12 01:50:32)

Offline

 

#230 2012-03-12 02:56:09

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

I am unable to get the above results again.
After re-start:

Had do chmod 666 again
SB started first try
SAB started first try
CP crashed SB
and back and fourth

Last edited by tommymsw (2012-03-12 02:56:28)

Offline

 

#231 2012-03-12 15:18:26

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

You should post the your log in SABnzbd forum. They should be able to help you more than I can.

Offline

 

#232 2012-03-12 19:36:15

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Eh... I just moved all the programs back to my PC. Thank you anyway. I am guessing there is something different between the first post of your instructions and the updated ones. The first time I did it, it worked fine, but when I follow the directions now, it does not. May be a "." where there needs to be a ",". lol

Offline

 

#233 2012-03-12 21:01:14

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

Eh... I just moved all the programs back to my PC. Thank you anyway. I am guessing there is something different between the first post of your instructions and the updated ones. The first time I did it, it worked fine, but when I follow the directions now, it does not. May be a "." where there needs to be a ",". lol

Did you post in the SABnzbd forum?

Offline

 

#234 2012-03-12 23:22:52

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

I mentioned the conflict I was having. SAB forum and SB forum. There is no mention of anybody else having the problem and nobody responded. I feel like it is more likely that I have messed something up in this particular install rather than there being a conflict problem between the two programs. Possibly because I removed the install and then re-installed? Something is still there? I don't know... I did a lot of stuff back and fourth. But I did this install like 7 times now from scratch and I get the same results... so it must be some code somewhere that is messed up (that I can't delete?). If a new person tries this and gets success, then we know it must have something to do with my previous install that isnt getting removed.

Offline

 

#235 2012-03-13 00:12:12

passado
New member
Registered: 2012-03-10
Posts: 2

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

how to mount second disk?

Offline

 

#236 2012-03-13 15:37:22

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

passado wrote:

how to mount second disk?

Le_candide wrote:

Hi,

Another way, to automount all disk (including usb disk) :

SSH as root  and edit fun_plug file (make a backup before wink ) :

nano /mnt/HD/HD_a2/fun_plug

and replace this line :

mount --bind $DISK1 $DISTDIR$DISK1

by this block :

for DISK in `mount|awk '$3~"/mnt/"{print $3}'`; do
   if [ -d $DISK ] ; then mkdir -p $DISTDIR/$DISK ; mount --bind $DISK $DISTDIR/$DISK ; fi
done

(Control o to write file than Control x to exit file)

Offline

 

#237 2012-03-20 14:18:29

tarraka
New member
Registered: 2012-03-20
Posts: 1

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Have you managed to mount the external disk in DNS-320? It says for me that it's already mounted... I think that's because D-link Admin is already mounting it in order to share the disk.

Offline

 

#238 2012-03-22 02:11:19

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tarraka wrote:

Have you managed to mount the external disk in DNS-320? It says for me that it's already mounted... I think that's because D-link Admin is already mounting it in order to share the disk.

I think your question would be better addressed in the thread below:

http://dns323.kood.org/forum/viewtopic.php?id=7039

Offline

 

#239 2012-03-24 15:13:13

TheKleini666
Member
Registered: 2012-03-24
Posts: 7

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

I have a few question, before I install Debian on my NAS.

So first, can I change back to the normal OS?

and second, Do I have the administration panel and Debian?
And all the things from D-Link?

Offline

 

#240 2012-03-26 05:14:59

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

TheKleini666 wrote:

I have a few question, before I install Debian on my NAS.

So first, can I change back to the normal OS?

and second, Do I have the administration panel and Debian?
And all the things from D-Link?

The Dlink WebGUI and Debian are both running at the same time. Debian is only accessible from the command line.

Offline

 

#241 2012-05-05 13:51:54

marcjero
New member
Registered: 2012-05-05
Posts: 1

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Hello,

I installed the debian chroot environment but I see a strange behaviour : When debian is running all the NAS network shares are hidden. I say hidden because if I disable the debian fun_plug script the network shares are available again. I have no such issue when running fun_plug 0.5 or 0.7.

I think the problem is related to the new firmware versions : I tried with 2.02 and 2.03 but not with 2.00

Does anyone here had this problem as well ?

Many thanks.

Last edited by marcjero (2012-05-05 13:52:19)

Offline

 

#242 2012-05-06 19:04:31

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

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

marcjero wrote:

Hello,

I installed the debian chroot environment but I see a strange behaviour : When debian is running all the NAS network shares are hidden. I say hidden because if I disable the debian fun_plug script the network shares are available again. I have no such issue when running fun_plug 0.5 or 0.7.

I think the problem is related to the new firmware versions : I tried with 2.02 and 2.03 but not with 2.00

Does anyone here had this problem as well ?

Many thanks.

I am on version 2.01 and NAS shares are visible. I have no need to upgrade to newer firmware as everything works exact like I want.

Sorry, I can't be of help...

Offline

 

#243 2012-06-02 01:34:47

fungus
New member
Registered: 2012-06-02
Posts: 4

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Thanks for the guide, I had everything up and running fine.  Decided to reinstall everything to USB...all programs run off USB now with the HDD there for storage, however...sickbeard and sabnzbd keep crashing and I have to restart them with the python commands.

Is there any reason why they couldn;t work properly from USB or have I just screwed up the install?

SickBeard can't run if SAB is running, and if I start SAB while sick beard is running sickbeard crashes.  SAB seems fine.  (might have something to do with permissions, sickbeard will only start if I type sudo first in which case it starts but crashes SAB...I'm new to Linux!)

I'm very, very stuck at the locale section.

The first installation I was able to follow the part on page 3 about nano /etc/locale.gen however this time around nothing is working. I have been googling all day for ways on how to set locale.  if I runs SAB I get unsupported locale setting error.

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales (this might take a while)...
  en_US.UTF-8...Killed
done
Generation complete.
*** update-locale: Error: invalid locale settings:  LANG=en_US.UTF-8


I've run out of places to look on google...any ideas?

UPDATE:  If anyone has the same issue, this worked for me...

after apt-get update run apt-get install locales
nano /etc/environment and add LC_ALL="en_US"
dpkg-reconfigure locales
select only the first en_US...ISO 8155 or something. then the default on the next page should be en_US
Type exit to end ssh session then ssh back in, type locale and the no such file or directory errors should be gone

(oh and I copied my original working install to the USB and sickbeard and SAB were working together, currently doing a fresh install incase I screwed something up with all attempts to fix locale settings!)

Needs a swapfile to run both from USB

Also...#ln -s /dev/urandom /dev/random  throws a symlink error about location exists or something...doesn't seem to make any difference though

Last edited by fungus (2012-06-24 04:51:12)

Offline

 

#244 2012-06-12 19:23:08

fungus
New member
Registered: 2012-06-02
Posts: 4

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Anyone know how to install transmission?  I can find plenty of references to installing it with ffp but not now squeeze is running.

Offline

 

#245 2012-06-14 01:49:03

Adamation
New member
Registered: 2012-06-11
Posts: 2

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

fungus wrote:

Anyone know how to install transmission?  I can find plenty of references to installing it with ffp but not now squeeze is running.

I'm in the same boot as you on this one! Just installed Debian Squeeze (just to give it ago!) and realised I've lost my ffplug Transmission. MyIP:9091 is no longer pointing to the install.

Do I need to reinstalled it now I have Debian Squeeze? If so - how?

Or is it still installed and I just need to start it differently?

Also any reccomendations on a Media Server - I found Mediatomb a pain to configure (import.js) going back to the orginial DNS320 dlink one now.

Any help would be appreciated!

Offline

 

#246 2012-06-14 16:46:59

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

What about

Code:

su
apt-get update
apt-get install transmission

or

Code:

wget url-of-transmission.tar.gz
tar xf transmission.x.y.z.tar.gz
cd transmission.x.y.z
./configure
make
su
make install

Installing transmission-daemon from source in debian Squeeze.

Last edited by Mijzelf (2012-06-14 16:47:28)

Offline

 

#247 2012-06-14 19:19:41

fungus
New member
Registered: 2012-06-02
Posts: 4

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

been at it for a couple of hours trying to get it to work and I can't be bothered anymore!  I'll just use my mac when i need a torrent downloaded.

Edit:  And as soon as I posted that I got it working!

Last edited by fungus (2012-06-14 19:26:07)

Offline

 

#248 2012-06-14 20:55:38

Adamation
New member
Registered: 2012-06-11
Posts: 2

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Good work fungus.

I'm going to give it ago now too.. Any tips to get it working?

I also have an issue with Sickbeard and Headphones not running on Start Up. I had them both working untill I restarted the box.

I'm using this tutorial http://www.nasdestruction.com/tutorial- … 0-dns-325/

Offline

 

#249 2012-06-15 16:07:46

fungus
New member
Registered: 2012-06-02
Posts: 4

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Adamation wrote:

Good work fungus.

I'm going to give it ago now too.. Any tips to get it working?

I also have an issue with Sickbeard and Headphones not running on Start Up. I had them both working untill I restarted the box.

I'm using this tutorial http://www.nasdestruction.com/tutorial- … 0-dns-325/

You have to apt-get install transmission-daemon also then run the command transmission-daemon -T -a *.*.*.*  (Can't remember what -T means , -a and the stars means you can access it from any IP address)

I find I have to manually start SickBeard as root on startup as it always fails as newuser due to permissions no matter how many times I change them.  No big deal though.

Last edited by fungus (2012-06-15 16:09:53)

Offline

 

#250 2012-07-22 20:34:29

aleclerc
New member
Registered: 2012-07-22
Posts: 1

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

I tried installing Transmission with

Code:

apt-get install transmission-daemon

which seemed to work, but I can't get it loaded on startup.
I turned off the whitelist in /var/lib/transmission-daemon/info/settings.json

Code:

    "rpc-whitelist-enabled": false,

So, I tried to look in /var/log/syslog to see why but it's empty.

Any idea why? It looks like it hasn't been updated since April (which I can't remember for sure but I think that's when I install squeeze)

Code:

root@XXXXXNAS:/mnt/HD/HD_a2/squeeze# ls -l /var/log/syslog*
-rw-r----- 1 root adm     0 Apr  9 06:25 /var/log/syslog
-rw-r----- 1 root adm 37569 Apr  8 13:21 /var/log/syslog.1

Where would my syslog be?

I also want to try get the latest version working so I can do watch directories (unless anyone knows how to get that running)

edit: Removed personal info

Last edited by aleclerc (2012-07-22 22:40:23)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB