Auteur Topic: Installeren?  (gelezen 6662 keer)

Anonymous

  • Gast
Installeren?
« Gepost op: 08 april 2008, 20:01:56 »
Wie kan mij vertellen of doorverwijzen hoe ik SABnzbd op mijn DS-106j kan installeren?

tx
Wop

Offline japie

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 0
  • Berichten: 31
Re: Installeren?
« Reactie #1 Gepost op: 15 april 2008, 16:35:57 »
De volgende installatie-procedure heb ik samengesteld uit wat ik op diverse fora heb gevonden. Bij mij werkt het perfect op een 107e. Hopenlijk gaat dat voor jou ook lukken op je 106j. Succes!

Does anyone know how to unistall SABnzb, in order to upgrade to the more stable release of SABnzbd+?

Antwoord:

rm -rf /opt/local/sabnzbd

Just installed it and it runs fine!!!

How to install SABnzbdPlus 0.3.4 on Synology DS-207 PPC (PowerPC and 128 MB) with firmware version Disk Station Manager 2.0-0590

Download the IPKG installer script ds101-bootstrap_1.0-4_powerpc.xsh from http://www.nslu2-linux.org/wiki/DS101/DS101BootStrap
Copy the script ds101-bootstrap_1.0-4_powerpc.xsh to /volume1/public (or other accessable location on the DS).

Enable Telnet and/or SSH connectivity to the DS (see http://www.synology.com/enu/support/dow ... hp#Patches).

Set up the "guest" account using the webinterface.

Open a SSH or Telnet session (using Putty or something else)
Login as root! Password: admin
Goto the location where you uploaded the ds101-bootstrap_1.0-4_powerpc.xsh script and follow these steps:

Install IPKG using the downloaded script

1

cd /volume1/public/
sh ds101-bootstrap_1.0-4_powerpc.xsh

Update to latest version (if available)

2

ipkg update

Upgrade to latest version of IPKG (if available)

3

ipkg upgrade

Install required packages to run SABnzbdPlus

4

ipkg install python25
ipkg install unrar
ipkg install unzip
ipkg install par2cmdline
ipkg install py25-cheetah
ipkg install py25-elementtree
ipkg install py25-yenc

5

Create symbolic link for python:

cd /usr/bin
ln -s /opt/bin/python2.5 python

(6

OPTIONAL: Install nano (easy editor, if you don't like vi....)

ipkg install nano

hoeft niet per se dus!)

Download latest source of SABnzbdPlus from website http://sourceforge.net/projects/sabnzbdplus. In this case SABnzbd-0.3.4-src.zip.
(hoeft niet: Unzip the source and upload it to your DS to the location /volume1/public/ SABnzbd

7

cd /volume1/public/
su guest
tar -xvzf SABnzbd-0.3.4.tar.gz
exit

8

(rename the directory to SABnzbd instead of SABnzbd-0.3.4)

9
Download het bestandje http://www.ed-x.demon.nl/SABnzbd.ini naar deze map. Dit is het configuratiebestand voor SABnzbd. Bewerk dit bestand en vul onderin het adres en de login van je newsserver in. (De inhoud ervan staat aan het eind van dit installatieverhaal)
Create the parameter file /opt/local/SABnzbd/SABnzbd.ini as shown below

10

Voordat je alles uit gaat testen, moet je even wat mappen aanmaken. Dit zijn de mappen waar de downloads in komen te staan. Maak in verkenner de volgende mappen op je public share aan:

Complete
Incomplete
Log
Temp

Dus je share heet bijv. public (in Windows een drive-letter, bij mij is dat Z:
Aan de root van Z maak je een dir download en in download de vier dirs van hierboven

11

Nog even een finishing touch door SABnzbd op een mooie (systeem-)plek te zetten:

mv /volume1/public/SABnzbd /opt/local/sabnzbd

12

Make sure the directory has the following owners and permissions if you want it to start at boottime.
Ownership: guest:users (change this using "chown guest:users /opt/local/SABnzbd"
Permissions: 777 (change this using "chmod 777 /opt/local/SABnzbd"

Make SABnzbdPlus finally work

13

cd /opt/local/SABnzbd

Make script executable if not already..

chmod +x SABnzbd.py

14

Create the parameter file /opt/local/SABnzbd/SABnzbd.ini as shown below

15

python2.5 /opt/local/SABnzbd/SABnzbd.py -f /opt/local/SABnzbd/SABnzbd.ini -d

To diagnose problems leave the "-d" daemon option, so it runs on the command line.

16

To make SABnzbd start at boottime create the file /usr/syno/etc/rc.d/S99SABnzbd.sh as show below

cd /usr/syno/etc/rc.d/
cp /volume1/public/S99SABnzbd.sh .

17

Make it executable using "chmod +x S99SABnzbd.sh"
Test it by rebooting the DS or running the script with "./S99SABnzbd.sh start"

You can ignore the "warning: cannot change to home directory" message because of the guest user not having a correct profile or something...

18

Start SABnzbd and open a webbrowser to check if it runs op http://ip-of-ds:8080/sabnzbd


**************** Start of SABnzbd.ini *******************
__version__ = 016

[misc]
## host we should listen on, leave "" for localhost
host = ""

## port we should listen on
port = 8080

## username for the web-interface
username = ""

## password for the web-interface
password = ""

## web file dir for (custom) Cheetah templates and the default.css file
web_dir = Default

## dir to put downloads to, won't be created automatically
download_dir = /volume1/public/Download/incomplete/

## dir to put completed downloads to, won't be created automatically
complete_dir = /volume1/public/Download/complete/

## If specified, .nzbs fetched by postid (or added by the dirscanner) will
## be backed up to this readable/writeable dir
nzb_backup_dir = /volume1/public/Download/nzbbackup/

## dir to store cache and cookie files, windows users should
## leave this at .
cache_dir = /volume1/public/Download/temp/

## location of your log directory, "" to disable logging
log_dir = /volume1/public/Download/log/

## dirscan directory
## SABnzbd will consume everything in that dir
## while trying to add it to the queue
dirscan_dir = /volume1/public/nzb/

## Scheduling options
## Syntax: minute hour day action
## 1st argument must be 0-59 (minute)
## 2nd argument must be 0-24 (hour)
## 3rd argument must be 1-7 (day) or *
## 4th argument must be resume or pause
##
## e.g schedlines = 0 7 * pause, 0 21 * resume
## to pause SABnzbd at 7:00 and resume operation at 21:00
schedlines = ,

## default options for dirscan added items
## 0 = None
## 1 = +Repair
## 2 = +Unpack
## 3 = +Delete
dirscan_opts = 2

## Enable/disable filejoining
## 0 = Disabled
## 1 = Enabled
enable_filejoin = 1

## Enable/disable unraring
## 0 = Disabled
## 1 = Enabled
enable_unrar = 1

## Enable/disable unzipping
## 0 = Disabled
## 1 = Enabled
enable_unzip = 1

## Enable/disable periodic queue saving
## 0 = Disabled
## 1 = Enabled
## Enable this on unstable systems
enable_save = 1

## Enable/disable
## 0 = Disabled
## 1 = Enabled
## Enable to cleanup par2 files
## (only if verifiying/repairing succeded)
enable_par_cleanup = 1

## should we failover on yenc crc errors
## 0 = no
## 1 = yes
fail_on_crc = 0

## should we download to group folders?
## (i.e /my/download/dir/alt.bin.whatever/somepost/)
## 0 = no
## 1 = yes
create_group_folders = 0

## bandwith limit
## 0 == ignore
## Slowdown factor, try values between 0.01 and 1.0.
bandwith_limit = 0

## Cleanup List
## List of file_extensions that should be deleted
## Example: ".nfo," or ".nfo, .sfv"
cleanup_list = .nfo, .sfv, .nzb

## Only get articles from topmost collection
## Enable for less memory usage
## Disable for more efficient downloading
## 0 = Disabled
## 1 = Enabled
top_only = 1

## Automatically sort by average age
## 0 = No
## 1 = Yes
auto_sort = 0

## Send group command before requesting articles
## 0 = No
## 1 = Yes
send_group = 0

## Article cache limit
## 0 = Disable Cache
## -1 = Unlimited cache
## >0 = Maximum memory (in bytes) to use for cache
cache_limit = 0

auto_browser = 0
permissions = 0777
check_new_rel = 0
auto_disconnect = 0
config_lock = 0
safe_postproc = 0
download_free = 5G
dirscan_speed = 5
refresh_rate = 0
rss_rate = 1
extern_proc = ""
email_server = ""
email_to = ""
email_from = ""
email_account = ""
email_pwd = ""
email_endjob = 0
email_full = 0

[logging]
## max size of SABnzbd.log (in bytes)
max_log_size = 5242880

## how many backups of SABnzbd.log to keep around
log_backups = 2

## enable cherrypy logging
## 0 = no
## 1 = yes
enable_cherrypy_logging = 0
log_level = 1

## Fill in your servers here
## If your server doesn't need password auth set
## username and password to ''
## fillserver field must be 0 for non-fillservers (>0 otherwise)
[servers]
[[newszilla.xs4all.nl:119]]
host = newszilla.xs4all.nl
port = 119
username = ""
password = ""
connections = 2
fillserver = 0
timeout = 120
# [[server 0]]
# host = news.myfillserver.com
# port = 119
# username = ""
# password = ""
# connections = 8
# fillserver = 1

## http://www.newzbin.com support
[newzbin]
username = ""
password = ""

## Place downloads into newzbin.com category folders
## 0 = No
## 1 = Root category only
## 2 = Root category + subcategory
create_category_folders = 0

************ End of SABnzbd.ini *******************

**************** Start of S99SABnzbd.sh **********************
#!/bin/sh
# Copyright (c) 2000-2003 Synology Inc. All rights reserved.

SynoStop=/usr/bin/killall
User=guest

if [ "start" = "$1" ]; then
su -l $User -c "/usr/bin/python /opt/local/SABnzbd/SABnzbd.py -f /opt/local/SABnzbd/SABnzbd.ini -d"
elif [ "stop" = "$1" ]; then
$SynoStop python
elif [ "restart" = "$1" ]; then
$0 stop
$0 start
fi
**************** End of S99SABnzbd.sh ***********************

Groeten,

japie

Offline maarten1001

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 0
  • Berichten: 3
Re: Installeren?
« Reactie #2 Gepost op: 20 april 2008, 23:34:26 »
Ik krijg bij stap 1 al een fout: Creating temporary ipkg repository...mkdir: Cannot create directory `/volume1/tmp/': Permission denied

wat moet ik doen ?


groet Maarten

Offline bob_basli

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 0
  • Berichten: 18
Re: Installeren?
« Reactie #3 Gepost op: 24 april 2008, 14:56:06 »
@ Japie:

Heb je dit op een clean install van je NAS gedaan of heb je de firmware update gedaan en daarna meteen je installatie?

Ik heb namelijk al wel de firmware update geinstalleerd, waarna mijn sbanzbd 0.2.4 niet meer werkte en de package install ook niet.
Daarom ben ik nu op zoek naar een nieuwe methode en die van jou klinkt wel ok.

Ik hoor graag van je.
DS-107e FW:2.0-722, Windows XP

Offline japie

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 0
  • Berichten: 31
Re: Installeren?
« Reactie #4 Gepost op: 30 april 2008, 12:54:56 »
maarten1001 en  bob_basli, een wat late reaktie, maar ik kijk niet iedere dag: ik heb eerst de firmware update gedaan en de "telnet-update" en daarna het protocol doorlopen, zoals beschreven in mijn "handleiding" hierboven. Mocht je al een mislukte installatie hebben gedaan, maak die dan ongedaan met een rm -rf /dir van sabnzbd op je diskstation/ en begin weer van voren af aan.
Succes!
japie

Offline AndyPanerai

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 0
  • Berichten: 5
Re: Installeren?
« Reactie #5 Gepost op: 30 april 2008, 13:18:12 »
Werkt dit ook met de nieuwste versie 0.4 ?

Alvast bedankt.

Offline advr

  • Bedankjes
  • -Gegeven: 2
  • -Ontvangen: 2
  • Berichten: 85
Re: Installeren?
« Reactie #6 Gepost op: 01 mei 2008, 21:47:20 »
hoi allemaal,

ik probeer ook al een hele tijd 3.4 te installeren maar het lukt me niet.

ook kan ik su guest niet uitvoeren:

cannot run /bin/csh: nu such file or directory.

hierdoor krijg ik natuurlijk rechten problemen.

verder had ik ergens gelezen dat python25 niet stabiel zou zijn?

Ad.
DS-412+ / 4 x WD 2TB Raid 5

Anonymous

  • Gast
Re: Installeren?
« Reactie #7 Gepost op: 05 mei 2008, 13:51:45 »
Heb zojuist versie 4.0beta2 geupgrade naar 4.0beta4 op mijn 107+ en het werkt perfect!
Heb wel alle files (dus de folders tmp, log, incomplete) in /usr/share/news/ gezet zodat mijn public share niet vervuild word.
Tevens worden de completed files in een mapje New in de video share gezet, zodat mijn Xbox360 deze meteen ziet.

Bedankt voor de handleiding!

Offline AndyPanerai

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 0
  • Berichten: 5
Re: Installeren?
« Reactie #8 Gepost op: 06 mei 2008, 19:49:26 »
Ik heb zojuist me SABnzbd geupgrade naar 0.4 Beta 4 en het werkt enkelt ik moet wel handmatig sabnzbd opstarten vanuit een telnet sessie omdat ik
het niet automatisch opgestart krijg.

Ik heb het bestand gekopieerd met de volgende opdracht :

cd /usr/syno/etc/rc.d/
cp /volume1/public/S99SABnzbd.sh .

En toen de diskstation opnieuw opgestart maar helaas sabnzbd start niet automatisch op.

Als ik de volgende opdracht handmatig start :

./S99SABnzbd.sh start

Krijg ik de volgende error :

-ash: ./S99SABnzbd.sh: not found

Maar wanneer ik het volgende doe :

python2.5 /opt/local/SABnzbd/SABnzbd.py -f /opt/local/SABnzbd/SABnzbd.ini -d

met die opdracht start sabnzbd op en kan ik hem bereiken via het web.

Hopelijk kan iemand mij helpen om het toch automatish op te laten starten zodat ik het niet handmatig hoeft te doen (niet dat vaak hoeft want als die draait dan draait die :) )

Offline aberg

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 0
  • Berichten: 7
Re: Installeren?
« Reactie #9 Gepost op: 21 juni 2008, 19:45:31 »
Citaat van: "maarten1001"
Ik krijg bij stap 1 al een fout: Creating temporary ipkg repository...mkdir: Cannot create directory `/volume1/tmp/': Permission denied

wat moet ik doen ?


groet Maarten
Ik heb het zelfde probleem hier ook.
Waarom kan er geen dir worden aangemaakt is de vraag?


 

ps3 media server installeren op NAS

Gestart door DanoBoard Media Streaming mods

Reacties: 9
Gelezen: 15934
Laatste bericht 18 april 2012, 10:14:04
door luukx20
Couchpotato wil niet installeren

Gestart door wamvdbergBoard CouchPotato

Reacties: 8
Gelezen: 4277
Laatste bericht 09 maart 2013, 16:35:38
door roma0803
Template installeren op nas met joomla gaat niet

Gestart door eugelBoard Web Station

Reacties: 1
Gelezen: 1327
Laatste bericht 30 december 2013, 23:04:35
door wizjos
bootstrap installeren DS411slim

Gestart door killa076Board Optware / IPKG / Telnet

Reacties: 6
Gelezen: 4668
Laatste bericht 02 juli 2012, 13:13:08
door Holy
Foutmelding bij installeren PHPBB3

Gestart door RvbilsenBoard 3rd party Packages

Reacties: 2
Gelezen: 1597
Laatste bericht 30 juli 2014, 12:06:40
door Rvbilsen