Skip to content
dannyti edited this page Jun 3, 2016 · 13 revisions

1. All torrents paused after transferring from another seedbox

First try to STOP torrent and then START torrent and also try to force recheck. If it doesn't work for you, remove all the torrents from the client (keeping the data), and import them all via ruTorrent 10 at a time.

2. How do I change theme from Oblivion to any other one?

Disable Oblivion on ruTorrent plugins tab and then use settings to change your theme.

3. My FTP client is giving me the error "530 Non-anonymous sessions must use encryption", what should I do?

The FTP server installed by this script is configured to encrypt your transfered files. Enable SSL (Auth TLS explicit) in your FTP client.

4. I have 60GB missing from my Kimsufi 2GS / I have 80GB missing from my Kimsufi 2G

If you execute a "sudo fdisk -l" on your 2GS box you'll see that there is only 477618176 bytes = 455GB. Look: http://puu.sh/1LZ2V.

When a company says that you have a 500GB HD actually you have a smaller one, because their calculation is 500 x 1000 x 1000 = 476GB and not 500 x 1024 x 1024 = 500GB.

You drive does not have 500GB, actually its 476GB (500000/1024/1024) and you have 10GB on the root (/) partition and some used in /home, according to drauka, that enlighted this for me on IRC, "you should also try reducing the system reserved block % that should get you back some space". And you also can try to partition it yourself, you can claim around 4GB from / that, but you would have to move your /var to /home so you don't get a disk full shortly.

5. How do I make ruTorrent show quotas correctly when they are not?

You might have different partitioning system. Edit file /var/www/rutorrent/conf/users//config.php and set $topDirectory to /, also check if $homeDirectory is pointing to the the user home dir.

6. How do I use my Server as a VPN Server?

  1. Download and install an OpenVPN Client
  2. Download VPN client configuration files from your server (http://<server ip address>/rutorrent/YourClientName.zip) ; A copy of YourClientName.ovpn is present under /home/USERNAME/ for future use.
  3. Open your VPN client and create a new connection using configuration file

7. VPN is not working, is there something I can do?

  1. Check if correct .ovpn is in use.
  2. If they are not, create another .ovpn file using different client name, and follow all steps carefully, executing:
installOpenVPN
  1. Download VPN client file again.
  2. If you are trying this inside an OpenVZ container then make sure host's tun device is accessible by the container (see VPN via the TUN/TAP device).
  3. If you can connect to VPN but cannot access Internet then there is most probably a problem with the iptables rules. Try enabling all necessary iptables modules and reinstalling OpenVPN via the script (see Enabling Iptables Modules for a VPS if you are running this inside a virtualized environment)

8. My autodl-trackers version looks old. What to do dude?

After first install and regularly update trackers-list from autodl tab on rutorrent. Any updates from devs will get updated here and they frequently update their auto-dl tracker list.

9. How do I remove password protection from apache document root (/var/www/)?

Open file /etc/apache2/sites-available/default and change from

  <Directory />
    Options FollowSymLinks
    AllowOverride All
    AuthType Digest
    AuthName "documentroot"
    AuthDigestProvider file
    AuthUserFile /etc/apache2/htpasswd
    Require user <username>
  </Directory>

To

  <Directory />
    Options FollowSymLinks
    AllowOverride All
    Require user <username>
  </Directory>

This basically removes all Auth lines from it. Note that you'll have to do this change twice in the same file, in sections <VirtualHost *:80> and <VirtualHost *:443>.

Additionally, For "Secure Connection errors"

For Firefox - In the Location bar, type about:config and press Enter. The about:config "This might void your warranty!" warning page may appear.
Click I'll be careful, I promise! to continue to the about:config page.
Search: security.ssl.enable_ocsp_stapling in the search field
Double-click on it to make it false
Close the page, exit firefox and restart it. 
Now, you should get an exception error page, accept it and rutorrent page will open.

10. How do I update SABnzbd?

SABnzbd is not installed from a package. I had a lot of problems with the "package" version of it, so I decided to install from sources. Check the installation script file /etc/seedbox-from-scratch/installSABnzbd and use it to install a newer version.

11. Should I run this script as root?

Yes, you must.

This script is intended to be run on a new installed system and, assuming that you really are on a new system, there is no other user than root. If you are logged with a different user, at least an user creation command was executed in your system and you should check what else was or this script might not work and you might even loose access to your box.

12. When script asks me for a username can I type root?

No, you can't.

Script will create this user it asks for and you already have a root user, so things will break in the process. Also, root is not a normal user, you shouldn't being using it for common tasks, don't do that.

13. Do I loose root access to the box after running this script?

Yes and No.

You will not be able to SSH to your box using root account, but you can SSH to your box using your newly created user and then, to become root, run:

sudo su -

This is a security measure and I will not change that.

14. Fuck you , I don't care about security, how do I re-enable root SSH access to the box after running this effing script?

Edit sshd_config file:

sudo nano /etc/ssh/sshd_config

Change

PermitRootLogin no

To

PermitRootLogin yes

Finally, via ssh do this : sudo service ssh reload

15. Can I upgrade packages on my new box?

Every time you hit "apt-get upgrade" or do a Webmin upgrade on this box you're risking breaking the hell out of it. Sabnzbd just looks like being installed using apt-get, but it is not, to make it work automatically it was installed manually. vsftpd has serious issues in its newer version, so I'm using an old one, installed from an old Ubuntu package.

So the answer is yes, you can, but you shouldn't, unless you have enough Linux knowlegde to fix all the problems it may cause.

16. How do I change my passwords?

Use changeUserPassword at the SSH command line. It will change only your apache (ruTorrent) password, if you also need to change your Linux password, use your Linux passwd command.

To use it, you'll need to provide those 3 arguments:

  • username
  • password
  • realm (wich, if you have made no changes to apache, is rutorrent or documentroot)

Example:

changeUserPassword notos mypassw0rd rutorrent

17. In which Operating Systems can I run this script?

You can run this script on Debian based distributions, here is a list of some tested

Debian 6.x YES /td>
Debian 7.x YES
Debian 8.x YES
Ubuntu 10.04 NO Installation is broken
Ubuntu 11.04 NO Might work, but you may see some glitches
Ubuntu 11.10 YES Tested
Ubuntu 12.04 YES
Ubuntu 12.10 YES
Ubuntu 14.04 YES
Ubuntu 14.10 YES
Ubuntu 15.XX YES
Ubuntu 16.04 YES

18. ruTorrent interface is giving me this error "No connection to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.", what can I do to solve it?

In this case we have two main possibilities:

a) rTorrent is not running, check running this at your SSH prompt:

ps aux | grep rtorrent | grep -v grep

and you should see something like that:

notos 26857  0.0  0.0  26492  1352 ?        Ss   Mar08   0:48 SCREEN -d -m -S rtorrent rtorrent
notos 26859  3.7 11.5 470820 233660 pts/0   Ssl+ Mar08 858:24 rtorrent

If your rTorrent is not running then you'll have to look deeper in the problem, something really wrong might have happened during

b) rTorrent port is not configured as it should. In this case you can try two different things to solve it:

FIRST METHOD

  1. Find the value for your scgi port at: https://SERVER-IP/SBinfo.txt

  2. Edit this config.php using nano:

sudo nano /var/www/rutorrent/conf/users/<username>/config.php
  1. Change the value for the line "$scgi_port" to what you found at SBinfo.txt

  2. Hit CTRL+F5 on your browser to completely reload your page

SECOND METHOD

Follow all steps from first method, but:

  1. Edit this config.php using nano:
sudo nano /var/www/rutorrent/conf/config.php

note that his is a completely different file!

19. SFTP is too slow here, How do I disable SSL from vsftpd?

You cannot disable SSL from SFTP, because it's not really using FTP protocol, but SSH protocol, wich is always secure and, yes, might be slow.

What you can do instead is to configure your client to connect using FTP+SSL, also secure, but faster, because it uses FTP protocol with encryption.

Here's a table to show you better the differences between them:

Service Protocol Secure Script default port Worldwide default port
SFTP SSH YES 21976 22
FTP+SSL FTP YES 21201 21
FTP FTP NO 21201 21

20. I don't care about security, so how do I disable SSL on vsftpd?

  1. Edit vsftpd configuration file:
sudo nano /etc/vsftpd.conf
  1. Add to it those 2 lines:
force_local_data_ssl = NO
force_local_logins_ssl = NO
  1. Save and exit

  2. Restart vsftpd service

sudo service vsftpd restart

21. How do I decrease RSS plugin interval update from 30 minutes?

Edit the RSS plugin configuration file

sudo nano /var/www/rutorrent/plugins/rss/conf.php

And set a new minimum global interval:

$minInterval = 1;

Save, exit and then you'll be able to configure a lower interval on your ruTorrent interface.

22. My FTP client is saying 'ECONNREFUSED - Connection refused by server', what can I do to solve this?

A lot of things can cause this, but mainly you have to be sure that:

  1. You are using the right port (default is 21201) to connect to your FTP server.

  2. You have SSL (Auth TLS explicit) enabled in your FTP client. By default all communications on vsftpd are encrypted.

Also read FAQs 3, 19 and 20.

23. How do I run this script as root?

If you don't know how to to be root you better be not installing this script, you need a certain knowledge of Linux to use it and you install it on a 'clean box', because it will install a lot of packages and do a lot of configurations that can, sometimes, break your box.

But... there are some ways of doing this:

--> Login using your root user into SSH and run the script.

24. How can I use FTP to make changes to /var/www/rutorrent files?

First, put yourself in the www-data group:

sudo usermod lefteris -G www-data

And then, using SSH, give write access to group to all dirs you need to write to

sudo chmod g+w -R /var/www/rutorrent

For some dirs you might also need to change group, sometimes they are still on root (this is not mandatory unless you have problems to access):

sudo chown :www-data /var/www/rutorrent/plugins

25. How do I change rTorrent connection ports so I can use more than one port?

You should be able to do this via ruTorrent, but if it's not working you can simply tweak your .rtorrent.tc file and restart rTorrent:

nano /home/<username>/.rtorrent.rc

Locate those lines, change them, save and close the file:

port_range = 51103-51103

Then you just have to restart rTorrent:

restartSeedbox

26. How do I add or remove root access (sudo) to my users?

Assuming that you are sharing your box, I think that you should share secondary accounts with your friends, never your main account, but this is up to you.

To add or remove people from sudoers (sudo is the thing that make people become root), you'll need those commands:

For Debian

sudo addgroup <username> sudo
sudo delgroup <username> sudo

For Ubuntu

sudo addgroup <username> admin
sudo delgroup <username> admin

BE CAREFUL, if you remove everybody from sudoers, you'll loose access to your root account, that's why I think you may NEVER execute any of those commands on your main account.

27. Batch Thumbnail : Movie Thumbnailer and Video Contact Sheet

Both the packages are installed; They will make Thumbnails for all the video files within a Folder with similar names of Video Files.

Video Contact Sheet

Look up ~/.bashrc for aliases of Video Contact Sheet. Jpeg thumbnails will be saved in ~/movieinfo. cd to folder of Video files and run:

vcsd5 -Thumbnails at 5 minute duration ,

vcsd10 -Thumbnails at 10 minute duration ,

vcsd15 -Thumbnails at 15 minute duration

MTN

cd to Folder of video files and run mtn.sh ; All thumbnails will be generated within this folder.

Clone this wiki locally