kapperz Posted December 23, 2009 Share Posted December 23, 2009 If you want to do port forwarding from your router to your unRAID server, then -- forget about rtorrent -- the unRAID server software itself is the wrong choice for your needs. Most people will use ruTorrent like this. I think the concern is about the drives constantly being accessed and the parity drive being written to when downloading. I plan to have a drive in my box which is not part of the protected array. Again, port forwarding is only needed if you want the outside world to be able to initiate connections to your server. Right, once my box makes a connection to a peer, then we can both share, but you can't seed if the tracker can't contact your box first. Maybe I'm missing something. Link to comment
LVLAaron Posted December 23, 2009 Share Posted December 23, 2009 If you want to do port forwarding from your router to your unRAID server, then -- forget about rtorrent -- the unRAID server software itself is the wrong choice for your needs. Most people will use ruTorrent like this. I think the concern is about the drives constantly being accessed and the parity drive being written to when downloading. I plan to have a drive in my box which is not part of the protected array. Again, port forwarding is only needed if you want the outside world to be able to initiate connections to your server. Right, once my box makes a connection to a peer, then we can both share, but you can't seed if the tracker can't contact your box first. Maybe I'm missing something. I'm with you. I have mine set to use the cache drive. Link to comment
joeman2116 Posted December 23, 2009 Share Posted December 23, 2009 Excellent - installed the rutorrent package on unraid 4.5 final with umenu installed and it worked perfectly. Thanks Again!! Joe Link to comment
purko Posted December 23, 2009 Author Share Posted December 23, 2009 If you want to do port forwarding from your router to your unRAID server, then -- forget about rtorrent -- the unRAID server software itself is the wrong choice for your needs. Most people will use ruTorrent like this. No. Most people will not log into their router and meddle with its settings. Again, port forwarding is only needed if you want the outside world to be able to initiate connections to your server. Right, once my box makes a connection to a peer, then we can both share, but you can't seed if the tracker can't contact your box first. Right. Just like you don't normally host a web site from your home network. And if you do want to do that, then that's a separate, and more general discussion. Purko Link to comment
purko Posted December 23, 2009 Author Share Posted December 23, 2009 I plan to have a drive in my box which is not part of the protected array. You can mount a out-of-array disk from your "go" script, and set up rtorrent to use that disk. You can also add a samba disk share for that disk if you want. Purko Link to comment
jupilerman Posted December 23, 2009 Share Posted December 23, 2009 # When the torrent finishes, it executes "mv -n <base_path> ~/Download/" # and then sets the destination directory to "~/Download/". (0.7.7 ) on_finished = move_complete,"execute=mv,-u,$d.get_base_path=,/mnt/disk1/torrents/complete/ .set_directory=/mnt/disk1/torrents/complete/" this move is not happening with the last 2.8.5 Link to comment
purko Posted December 23, 2009 Author Share Posted December 23, 2009 # When the torrent finishes, it executes "mv -n <base_path> ~/Download/" # and then sets the destination directory to "~/Download/". (0.7.7 ) on_finished = move_complete,"execute=mv,-u,$d.get_base_path=,/mnt/disk1/torrents/complete/ .set_directory=/mnt/disk1/torrents/complete/" this move is not happening with the last 2.8.5 Was it happening before 2.8.5? The rtorrent version (0.8.6) that's packed in UnTorrent-2.8.5 is still the same since the initial UnTorrent release. Or maybe your torrent's not finished? When it reaches 100% then it takes some time to check the hash. And only after the hash has been checked, then the stuff gets moved to "complete". Purko Link to comment
jupilerman Posted December 23, 2009 Share Posted December 23, 2009 before, with unRUtorrent 2.8.2, the finished torrent was moved into the 'complete' folder. Now it stays in the 'downloading' folder. It is seeding normaly and is tagged 'finish' . Link to comment
purko Posted December 23, 2009 Author Share Posted December 23, 2009 before, with unRUtorrent 2.8.2, the finished torrent was moved into the 'complete' folder. Now it stays in the 'downloading' folder. It is seeding normaly and is tagged 'finish' . Open your .rtorrent.rc file which is in {FLASH}/custom/rtorrent/ and check what download directories you've set up in it. The UnTorrent installation doesn't even touch your .rtorrent.rc file, if it finds one already existing at that location. And, as I mentioned before, UnTorrent-2.8.5 packs the same rtorrent version as before -- 0.8.6 -- nothing changed there. Make sure that the 'complete' folder you've set up in your .rtorrent.rc file actually exist on your disk? I don't know what else to tell you. It works for me, and it works for other people. So, unless you've made some strange modifications to your .rtorrent.rc file, it should work for you too. Of course, you can simply delete your {FLASH}/custom/rtorrent/.rtorrent.rc file, and UnTorrent will recreate it with a working configuration the next time you install UnTorrent. Purko Link to comment
jupilerman Posted December 24, 2009 Share Posted December 24, 2009 I did nothing and now it is working. I guess it needed some reboots. Thx for unRUtorrent. Link to comment
jimiAces Posted December 27, 2009 Share Posted December 27, 2009 Is it possible to install plugins such as RSS manager and Scheduler? It is possible, as of now. I just figured the whole thing out, and I made you the two plugins you asked for: RSS and Scheduler. See the bottom of the first post. Thanks for the good idea! Purko Thanks Link to comment
jupilerman Posted December 28, 2009 Share Posted December 28, 2009 before, with unRUtorrent 2.8.2, the finished torrent was moved into the 'complete' folder. Now it stays in the 'downloading' folder. It is seeding normaly and is tagged 'finish' . It did it again this morning. I find out that it was a folder with several files that was not moved. With just a file (no folder), it move normaly to the complete folder. I think the command "mv" is not correctly executed for folders : on_finished = move_complete,"execute=mv,-u,$d.get_base_path=,/mnt/disk1/torrents/complete/ .set_directory=/mnt/disk1/torrents/complete/" Link to comment
purko Posted December 28, 2009 Author Share Posted December 28, 2009 before, with unRUtorrent 2.8.2, the finished torrent was moved into the 'complete' folder. Now it stays in the 'downloading' folder. It is seeding normaly and is tagged 'finish' . It did it again this morning. I find out that it was a folder with several files that was not moved. With just a file (no folder), it move normaly to the complete folder. For me all finished stuff gets moved to the "complete" folder without a fail. One possible cause for your problem: Some of the files in your folder may not be really finished. If you tell rtorrent to 'skip' some of the files from the torrent, then rtorrent does not move the folder after it reports it 'done'. (Or, you may have messed up something in your configs. Please attach your '.rtorrent.rc' here so I can have a look.) Purko Link to comment
jupilerman Posted December 29, 2009 Share Posted December 29, 2009 edit : after some research I find out this post : http://libtorrent.rakshasa.no/wiki/RTorrentCommonTasks#Movecompletedtorrents For rtorrent 0.8.6, the correct line is : system.method.set_key = event.download.finished,move_complete,"execute=mv,-u,$d.get_base_path=,~/Download/;d.set_directory=~/Download/" Now, it is working. Link to comment
purko Posted December 29, 2009 Author Share Posted December 29, 2009 edit : after some research I find out this post : http://libtorrent.rakshasa.no/wiki/RTorrentCommonTasks#Movecompletedtorrents For rtorrent 0.8.6, the correct line is : system.method.set_key = event.download.finished,move_complete,"execute=mv,-u,$d.get_base_path=,~/Download/;d.set_directory=~/Download/" Now, it is working. Thanks Jupilerman! I'll change that line in the next UnTorrent release... ...which is coming in a few days anyway, with numerous improvements and updated packages. Purko Link to comment
jupilerman Posted January 1, 2010 Share Posted January 1, 2010 Now, it is working. I'll change that line in the next UnTorrent release... ...which is coming in a few days anyway, with numerous improvements and updated packages. Don't jump to fast on it. Because, now, it is back to the previous state : no move at all. So I don't know if it is the command line or my config that it is not working properly. Can you look at my config file and see if there is something wrong ? Thx and happy New unRAID year Link to comment
ezerez Posted January 17, 2010 Share Posted January 17, 2010 Hello everyone I seem to be having the same problem as ClunkClunk in the beginning of this thread but i can't seem to find a solution anywhere I downloaded the full untorrent package into /boot/packages/ and then tried installing root@Tower:/boot/packages# installpkg untorrent-2.8.5.full-i486-1pur.tgz Verifying package untorrent-2.8.5.full-i486-1pur.tgz. gzip: stdin: not in gzip format Installing package untorrent-2.8.5.full-i486-1pur.tgz: PACKAGE DESCRIPTION: WARNING: Package has not been created with 'makepkg' Package untorrent-2.8.5.full-i486-1pur.tgz installed. But nothing seems to install or start -bash: Package: command not found root@Tower:/boot/packages# screen -ls -bash: screen: command not found root@Tower:/boot/packages# lighttpd -v -bash: lighttpd: command not found root@Tower:/boot/packages# php -v -bash: php: command not found root@Tower:/boot/packages# rtorrent -bash: rtorrent: command not found UID PID PPID C STIME TTY TIME CMD root 1 0 0 12:04 ? 00:00:01 init root 2 0 0 12:04 ? 00:00:00 [kthreadd] root 3 2 0 12:04 ? 00:00:00 [migration/0] root 4 2 0 12:04 ? 00:00:00 [ksoftirqd/0] root 5 2 0 12:04 ? 00:00:00 [migration/1] root 6 2 0 12:04 ? 00:00:00 [ksoftirqd/1] root 7 2 0 12:04 ? 00:00:00 [events/0] root 8 2 0 12:04 ? 00:00:00 [events/1] root 9 2 0 12:04 ? 00:00:00 [khelper] root 14 2 0 12:04 ? 00:00:00 [async/mgr] root 107 2 0 12:04 ? 00:00:00 [kblockd/0] root 108 2 0 12:04 ? 00:00:00 [kblockd/1] root 109 2 0 12:04 ? 00:00:00 [kacpid] root 110 2 0 12:04 ? 00:00:00 [kacpi_notify] root 111 2 0 12:04 ? 00:00:00 [kacpi_hotplug] root 191 2 0 12:04 ? 00:00:00 [ata/0] root 192 2 0 12:04 ? 00:00:00 [ata/1] root 193 2 0 12:04 ? 00:00:00 [ata_aux] root 197 2 0 12:04 ? 00:00:00 [ksuspend_usbd] root 202 2 0 12:04 ? 00:00:00 [khubd] root 205 2 0 12:04 ? 00:00:00 [kseriod] root 265 2 0 12:05 ? 00:00:00 [pdflush] root 266 2 0 12:05 ? 00:00:00 [pdflush] root 267 2 0 12:05 ? 00:00:00 [kswapd0] root 312 2 0 12:05 ? 00:00:00 [aio/0] root 313 2 0 12:05 ? 00:00:00 [aio/1] root 319 2 0 12:05 ? 00:00:00 [nfsiod] root 324 2 0 12:05 ? 00:00:00 [cifsoplockd] root 537 2 0 12:05 ? 00:00:00 [usbhid_resumer] root 543 2 0 12:05 ? 00:00:00 [rpciod/0] root 544 2 0 12:05 ? 00:00:00 [rpciod/1] root 579 1 0 12:05 ? 00:00:00 /sbin/udevd --debug-trace --daemon root 681 2 0 12:05 ? 00:00:00 [scsi_eh_0] root 682 2 0 12:05 ? 00:00:00 [usb-storage] root 701 2 0 12:05 ? 00:00:00 [scsi_eh_1] root 702 2 0 12:05 ? 00:00:00 [scsi_eh_2] root 703 2 0 12:05 ? 00:00:00 [scsi_eh_3] root 704 2 0 12:05 ? 00:00:00 [scsi_eh_4] root 1073 1 0 12:05 ? 00:00:00 /usr/sbin/syslogd -m0 root 1077 1 0 12:05 ? 00:00:00 /usr/sbin/klogd -c 3 -x root 1116 1 0 12:05 ? 00:00:00 /usr/sbin/ifplugd -i eth0 -fwI -u0 -d10 root 1149 1 0 12:05 ? 00:00:00 /sbin/dhcpcd -d -t 30 -h Tower -R eth0 root 1157 1 0 12:05 ? 00:00:00 /usr/sbin/ntpd -g -p /var/run/ntpd.pid bin 1167 1 0 12:05 ? 00:00:00 /sbin/rpc.portmap nobody 1171 1 0 12:05 ? 00:00:00 /sbin/rpc.statd root 1181 1 0 12:05 ? 00:00:00 /usr/sbin/inetd root 1191 1 0 12:05 ? 00:00:00 /usr/sbin/acpid root 1198 1 0 12:05 ? 00:00:00 /usr/sbin/crond -l10 daemon 1200 1 0 12:05 ? 00:00:00 /usr/sbin/atd -b 15 -l 1 root 1205 1 0 12:05 ? 00:00:00 /usr/sbin/nmbd -D root 1207 1 0 12:05 ? 00:00:00 /usr/sbin/smbd -D root 1209 1207 0 12:05 ? 00:00:00 /usr/sbin/smbd -D root 1213 1 0 12:05 ? 00:00:00 /usr/local/sbin/emhttp root 1221 1 0 12:05 ? 00:00:00 /bin/bash /boot/unmenu/uu root 1222 1221 0 12:05 ? 00:00:00 awk -W re-interval -f ./unmenu.awk root 1224 1 0 12:05 ? 00:00:00 logger -tunmenu -plocal7.info -is root 1230 2 5 12:05 ? 00:01:00 [mdrecoveryd] root 1231 2 0 12:05 ? 00:00:00 [spinupd] root 1232 2 0 12:05 ? 00:00:00 [spinupd] root 1233 2 0 12:05 ? 00:00:00 [spinupd] root 1255 2 25 12:05 ? 00:04:36 [unraidd] root 1271 2 0 12:05 ? 00:00:00 [reiserfs/0] root 1272 2 0 12:05 ? 00:00:00 [reiserfs/1] root 1295 1 0 12:05 tty1 00:00:00 -bash root 1296 1 0 12:05 tty2 00:00:00 /sbin/agetty 38400 tty2 linux root 1297 1 0 12:05 tty3 00:00:00 /sbin/agetty 38400 tty3 linux root 1299 1 0 12:05 tty4 00:00:00 /sbin/agetty 38400 tty4 linux root 1300 1 0 12:05 tty5 00:00:00 /sbin/agetty 38400 tty5 linux root 1301 1 0 12:05 tty6 00:00:00 /sbin/agetty 38400 tty6 linux root 1317 1207 0 12:05 ? 00:00:01 /usr/sbin/smbd -D root 1741 1 0 12:17 ? 00:00:00 /usr/sbin/sshd root 2073 1741 0 12:17 ? 00:00:00 sshd: root@pts/0 root 2077 2073 0 12:17 pts/0 00:00:00 -bash root 2263 2077 0 12:23 pts/0 00:00:00 ps -ef root@Tower:/boot/packages# cat `which installpkg` | grep 2009 # Copyright 2007, 2009 Patrick Volkerding, Sebeka, MN, USA # Sat Apr 25 21:18:53 UTC 2009 # Sat Apr 4 22:58:06 CDT 2009 I'm a real noob with linux so maybe it's something stupid i'm missing. I tried installing it with no packages installed as said in the thread somewhere, except unmenu which was started. Hope you guys can help. Ow yeah running Unraid Server Basic 4.5 Thx in advance Link to comment
purko Posted January 17, 2010 Author Share Posted January 17, 2010 I downloaded the full untorrent package into /boot/packages/ and then tried installing root@Tower:/boot/packages# installpkg untorrent-2.8.5.full-i486-1pur.tgz Verifying package untorrent-2.8.5.full-i486-1pur.tgz. gzip: stdin: not in gzip format Installing package untorrent-2.8.5.full-i486-1pur.tgz: PACKAGE DESCRIPTION: WARNING: Package has not been created with 'makepkg' Package untorrent-2.8.5.full-i486-1pur.tgz installed. But nothing seems to install or start Rule out the possibility of your package being corrupted during the download. See whether its MD5 checksum matches the one in the first post of this thread. Link to comment
eeking Posted January 18, 2010 Share Posted January 18, 2010 Rule out the possibility of your package being corrupted during the download. See whether its MD5 checksum matches the one in the first post of this thread. That turned out to be the case for me, after seeing the same errors. For whatever reason, right-click "save as" on your package gave me a ~400KB file, simply clicking on your link got me the full ~14MB file. Installed and working fine now. Link to comment
ezerez Posted January 18, 2010 Share Posted January 18, 2010 Thx, alltough i didn't know how to checksum my package and the package was 15mb big, i redownloaded it and it worked! Thank you! I downloaded the full untorrent package into /boot/packages/ and then tried installing root@Tower:/boot/packages# installpkg untorrent-2.8.5.full-i486-1pur.tgz Verifying package untorrent-2.8.5.full-i486-1pur.tgz. gzip: stdin: not in gzip format Installing package untorrent-2.8.5.full-i486-1pur.tgz: PACKAGE DESCRIPTION: WARNING: Package has not been created with 'makepkg' Package untorrent-2.8.5.full-i486-1pur.tgz installed. But nothing seems to install or start Rule out the possibility of your package being corrupted during the download. See whether its MD5 checksum matches the one in the first post of this thread. Link to comment
toonz Posted January 19, 2010 Share Posted January 19, 2010 This is fantastic! I've got a laptop that runs 24/7 for no other purpose than to use bittorrent. MUCH easier if this process is done on my unRAID server. One request - are you able to make an unRAID package for the PluginEradedata Plugin? (http://code.google.com/p/rutorrent/wiki/PluginErasedata) I like that when I remove torrents as then I don't have to remember to remove the downloaded data too. Thankyou very much... highly appreciated. Link to comment
dertbv Posted January 20, 2010 Share Posted January 20, 2010 You can mount a out-of-array disk from your "go" script, and set up rtorrent to use that disk. You can also add a samba disk share for that disk if you want. Purko Could you point me into the right direction on how to accomplish this? Searched for it but did not find it ( thanks Link to comment
purko Posted January 21, 2010 Author Share Posted January 21, 2010 You can mount a out-of-array disk from your "go" script, and set up rtorrent to use that disk. You can also add a samba disk share for that disk if you want. Could you point me into the right direction on how to accomplish this? OK, here is an example of what I do... In my case that disk shows up as hda. (maybe different for you. Change accordingly) It is partitioned, and formatted with the ReiserFS file system. Here is an excerpt from my 'go' script: ### Mounting my out-of-array rtorrent disk # set its read-ahead... blockdev --setra 1024 /dev/hda # create a mount point... mkdir -p /mnt2/diskX # mount it... mount -t reiserfs -o rw,noatime,nodiratime,noacl,nouser_xattr /dev/hda1 /mnt2/diskX # set its idle sleep timer to 30 minutes... hdparm -S241 /dev/hda ### Done. Next, you'll want to add a Samba disk share for that disk, so it is accessible like your other disk shares. For that, append the following lines to your smb-extra.conf [diskX] path = /mnt2/diskX read only = No The 'smb-extra.conf' file is located in the 'config' folder of your flash key. If you don't have such a file there, then create it. Make sure that you use a text editor that can do Linux-style line endings: http://lime-technology.com/wiki/index.php?title=FAQ#Why_do_my_scripts_have_problems_with_end-of-lines.3F And finally, you'll want to tell rtorrent to use that disk. Edit the rtorrent configuration file. It is called '.rtorrent.rc' and is located on your flash key in folder '/custom/rtorrent/' Set it up to use the following directories: # /mnt2/diskX/torrents/downloading/ -- Temporaray location for torrents while downloading (see "directory") # /mnt2/diskX/torrents/complete/ -- Torrents are moved here when complete (see "on_finished") # /mnt2/diskX/torrents/auto/ -- The 'autoload' directory for rtorrent to use. Place a file in here, and rtorrent loads it automatically. # /mnt2/diskX/torrents/downloading/rtorrent.session/ -- for storing rtorrent session information Make sure you create these directories on your disk. And that's all. Link to comment
dertbv Posted January 22, 2010 Share Posted January 22, 2010 Make sure you create these directories on your disk. And that's all. Worked like a charm thanks! Link to comment
skyfox77 Posted January 23, 2010 Share Posted January 23, 2010 When i try to download the package, it says: Page Not Found Anyone have a working link for it? Link to comment
Recommended Posts