Rtorrent & Rutorrent
Total Page:16
File Type:pdf, Size:1020Kb
rTorrent & ruTorrent A combination of a command line interface bittorrent app and a web client used to connect to it. Information and Overview Initial Setup Information and Overview Please make yourself aware of the Ultra.cc Fair Usage Policy. Directly pointing any torrent client to seed from your cloud storage using Rclone will create extreme strain on your slot's disk and WILL cause a 24 hour ban on accessing your cloud storage repeatedly. It is your responsibility to ensure usage is within acceptable limits. Ignorance is not an excuse. rTorrent is a text-based ncurses BitTorrent client written in C++, based on the libTorrent libraries for Unix, whose author's goal is "a focus on high performance and good code". It is known to be stable and can handle a large number of seeding torrents, making it a solid choice for long-term seeding. ruTorrent is a popular front-end for rTorrent which is used to interact with rTorrent. It was designed to emulate the look and feel of µTorrent WebUI so its appearance is quite similar to the "parent". The name "ruTorrent" is the combination of µTorrent and rtorrent. The original version of ruTorrent was based on an older version of µTorrent Webui but has been completely rewritten as of 3.0. For more information on rTorrent and ruTorrent, refer to the following links: https://github.com/rakshasa/rtorrent https://github.com/Novik/ruTorrent Initial Setup Please make yourself aware of the Ultra.cc Fair Usage Policy. Directly pointing any torrent client to seed from your cloud storage using Rclone will create extreme strain on your slot's disk and _WILL_ cause a 24-hour ban on accessing your cloud storage repeatedly. It is _your_ responsibility to ensure usage is within acceptable limits. Ignorance is not an excuse. rTorrent is a text-based ncurses BitTorrent client written in C++, based on the libTorrent libraries for Unix, whose author's goal is "a focus on high performance and good code." It is known to be stable and can handle many seeding torrents, making it a solid choice for long-term seeding. ruTorrent is a popular front-end for rTorrent, which can be used to interact with rTorrent. It is designed to emulate the look and feel of µTorrent WebUI, so its appearance is quite similar to the "parent." The name "ruTorrent" is the combination of µTorrent and rtorrent. The original version of ruTorrent was based on an older version of µTorrent Webui but has been completely rewritten as of 3.0. For more information on rTorrent and ruTorrent, refer to the following links: https://github.com/rakshasa/rtorrent https://github.com/Novik/ruTorrent Initial Setup rTorrent/ruTorrent is already configured and tuned out of the box. To Install: Install it from our Control Panel Install rTorrent first before installing ruTorrent For ruTorrent, add in your desired password in the textbox Once installed, click Connect under ruTorrent Enter your set credentials Your username is your slot username, and your ruTorrent password Accessing rTorrent CLI Interface Should you need to access rTorrent's CLI interface, type in the following command in SSH: screen -r rtorrent To exit the interface, do CTRL + A + D Default File Paths Default Downloads Folder: ~/files Default Watch Folder: ~/watch rTorrent's config folder: ~/.config/rtorrent Limiting Seeding Ratio with ruTorrent This section will show you how to limit the seeding ratio in ruTorrent so that you can comply with our restrictions on public tracker seeding. Ratio Groups Start off by opening up your settings in ruTorrent and clicking the Ratio Groups option. Fill out the top group (or any other one if you wish) with the following settings and give it a name In this example, this group stops the torrent from seeding over 2 ratio. MinMax UL,MBTIme,hAction % % Any - 200200 Stop Value1 Another here stops all torrents as soon as it finished downloading MinMax UL,MBTIme,hAction % % - 0 0 0 Stop 1 You can choose any action to the torrent after it has reached that requirement. We recommend Stop as the action. This is to stop the torrents from seeding, mark it as completed, and for you to download the files to your PC You can also select Remove to remove the torrent or Remove data to remove the torrent and its associated files. You can also set this to be done by default to all future torrents by using the Default ratio group option in the bottom right of the ratio groups screen Select the number corresponding to the created ratio group. In this case, select 1 and click OK. Please note that setting this will restrict every torrent, in ruTorrent to a 2 ratio. ExtRatio Plugin You can also use ExtRatio to automatically filter and set future torrents to a particular ratio group or throttle group. Installation To install ExtRatio, run the following command on your SSH to install this plugin. For more information about installing plugins, refer to this guide: Installing ruTorrent Plugins cd ~/www/rutorrent/plugins/ && svn checkout https://github.com/Novik/rutorrent/trunk/plugins/extratio && svn checkout https://github.com/Novik/rutorrent/trunk/plugins/throttle && cd ~ Installing ruTorrent Plugins ruTorrent is equipped with most of the plugins any client needs. Should there be a plugin that you need that is not installed, this section will help you learn to install those plugins. To do this, you will need to access the slot via SSH. For more information on that, visit this guide to learn more: How to connect to your slot via SSH Installation To install any plugin, first navigate to ruTorrent's plugin folder by doing the following command cd ~/www/rutorrent/plugins/ Then, visit this link to check the following plugins available. To install the plugin, run the following command `plugin_name` is the name of the plugin you wish to install svn checkout https://github.com/Novik/ruTorrent/trunk/plugins/plugin_name Recommended Plugins throttle cd ~/www/rutorrent/plugins/svn checkout https://github.com/Novik/rutorrent/trunk/plugins/throttle ratiocolor cd www/rutorrent/plugins/svn co https://github.com/Gyran/rutorrent-ratiocolor.git/trunk ratiocolor # To change to colored text only sed -i "s:changeWhat = \"cell-background\";:changeWhat = \"font\";:g" ~/www/rutorrent/plugins/ratiocolor/init.js # To change back to default sed -i "s:changeWhat = \"font\";:changeWhat = \"cell-background\";:g" ~/www/rutorrent/plugins/ratiocolor/init.js There are few plugins that cannot be installed using this, such as mediashare, plowshare, and others. If you want any specific plugin to be installed which cannot be installed by this method, please contact support. ExtRatio Plugin You can also use ExtRatio to automatically filter and set future torrents to a particular ratio group or throttle group. Installation To install ExtRatio, run the following command on your SSH to install this plugin. For more information about installing plugins, refer to this guide: Installing ruTorrent Plugins cd ~/www/rutorrent/plugins/ && svn checkout https://github.com/Novik/rutorrent/trunk/plugins/extratio && svn checkout https://github.com/Novik/rutorrent/trunk/plugins/throttle && cd ~ Automatically Unpack Archives with ruTorrent This section will teach you how to enable auto unpacking of archived files in your seeding torrents. This is useful if you want to use your slot to extract your archived files so you can download only the extracted files and leave the archive seeding, or you need automatic unpacking for Sonarr, Radarr, and Lidarr. Go to Settings -> Unpack Check Enable autounpacking if torrents label matches filter This will enable unpacking on all future torrents. You may also set Unpack to a directory you want within your home folder or leave it blank to extract it in-place/to your torrent's current directory Leaving it blank is useful for DVR apps such as Sonarr, Radarr, and Lidarr. If you want to enable unpacking to specific labels, add the following to the textbox beside Enable auto unpacking if torrents label matches filter /.*(label_1|label_2|label_3).*/i For example, if you want to enable auto unpacking to all torrents from Sonarr, Radarr, and Lidarr /.*(tv-sonarr|radarr|lidarr).*/i Bad response from server: (0 [error,getplugins]) This Error requires your webserver to be reinstalled from your UCP. The reinstall webserver button (Orange button) can be found in your main dashboard next to your traffic quota. You can also do this on your slot's shell by running the following commands: app-nginx uninstall app-nginx install No connection to rTorrent. Check if it is running. Check $ scgi_port and $ scgi_host in config.php and scgi_port in rTorrent config file. This Error means that rTorrent is not running, and it usually needs to be restarted from your UCP or running app-rtorrent restart while connected to your shell. This can happen in a few scenarios: Your allotted disk quota is exceeded, so your session cannot write to your directory. You will need to connect to your service via Shell or FTP, remove unneeded data, and restart rTorrent. You have a bad torrent in your session. You need to restart rTorrent, quickly connect to your ruTorrent, and stop all torrents. Then, start the torrents one by one. Usually, torrents with random letters or a .meta extension in the name are the bad torrents. Once you have found the files, remove them from the client, and try again. Your HDD's IO is extremely saturated. You will need to check this using iostat . Visit this guide here for more information. Error downloading files. Make sure autodl-irssi is started and configured correctly (e.g., password, port number): Error getting files listing: Error: Could not connect: (111) Connection refused Two common reasons why you would receive the Error: The first and most common is irssi is just not running for whatever reason, such as a hard crash or a reboot.