GithubHelp home page GithubHelp logo

arakasi72 / rtinst Goto Github PK

View Code? Open in Web Editor NEW
1.2K 1.2K 265.0 1009 KB

seedbox installation script for Ubuntu and Debian systems

License: MIT License

Shell 100.00%
autodl-irssi debian nginx rtinst rtorrent rutorrent script seedbox seedbox-install-script seedbox-script ubuntu vsftpd

rtinst's People

Contributors

000xxx avatar arakasi72 avatar ashura82 avatar hierra avatar kaffemyers avatar kerin444 avatar m-61 avatar ne0ark avatar thekaleidoscope avatar v33m avatar zucht avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rtinst's Issues

plugins can't load

Tried this several timesfirst with debian 7, did a fresh install debian 8 and reboot and suddenly it can't load some plugins?

rt

installation stalls at upgrading packages

i have tried this 5 times now on a fresh ubuntu 14.04 install. starts off fine but when it gets to upgrading packages it just stalls. left the first time for 45minutes which is a little long and still stalled in the same place.

any ideas?

cheers

Feature Request

please add file manager, fileshare plugin and add user quota system.

htpasswd: command not found

When running rtpass I get the following
/usr/local/bin/rtsetpass: line 31: htpasswd: command not found
Any ideas?

Where is my root password?

Hi,

I was wondering where is my root password going? I tried every possibilities but failed. I can't access to root at the moment. Thanks!

Package not found errors and partial changes not reversed e.g. ports

Doesn't it try to find and install packages if it is not found.

Downloading rtorrent source files
rtinst.sh: line 430: svn: command not found

This is not even listed in dependencies.

Since the installation failed, the port changes were not reversed. The user can be locked out in case user misses to note the changes thinking installation failed hence changes would have been reversed.

Also what happens in the next run? Only uninstalled packages are installed or everything all over again, IP, user reset, port resets once again?

I tried it again and I was seeing the ooutput so it apparently didn't change user and ports but the errors just don't seem to understand.

Checked out revision 2711.

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

I didn't face it on on a dedicated server 14.04 (64-bit). Right now I am on a VPS (32-bit). Can that be a problem? But as I see most of the issues are related to packages which I satisfies one by one but this seems sth different.

rtupdate

typo in rtupdate?

[4] ) libvers="libtorrent-0.13.4" && rtvers="rtorrent-0.9.6" && return 0 ;;

should be [4] ) libvers="libtorrent-0.13.6" && rtvers="rtorrent-0.9.6" && return 0 ;;

Lots of inquiries, help!

Hello,

I always use your script, no matter what. The only problem is, I wanted all plugins and I cannot use the Plugins-installer from Kerwood (https://github.com/Kerwood/Rtorrent-Auto-Install) to be installed. I can only install (https://github.com/nelu/rutorrent-thirdparty-plugins). I tried to extract all of these files (https://bintray.com/artifact/download/novik65/generic/plugins-3.6.tar.gz) and rutorrent does not work anymore. Also, I followed this (https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-14-04-lts) so that I can use domain.com with the server and not the IP address anymore. It seems that changing the hosts corrupted everything which makes my server accessible anymore. I had to reformat everything and start all over again.

Also, would it be possible to use the latest version of nginx with your script and php 7?
Where can I also find themes? (https://github.com/frantzz/ruTorrent-Themes) does not work anymore.

Thanks.

Script Failure

Hi,
I have tried installing your script on my dedicated Kimsufi 2A sever.
I have tried installing the script on Ubuntu 14.04 & Debian 8.4 and both times the script failed.
On putty the last output on the installation screen is 'Installing Libtorrent'. The script took 30mins to get to this point after another 15mins the putty session terminates. There appears to be no obvious errors in the log file.
I enabled the flat -l on the script and the end of the log is as follows:

inflating: AutodlIrssi/trackers/Waffles.tracker inflating: AutodlIrssi/trackers/What.CD.tracker inflating: AutodlIrssi/trackers/x264.tracker inflating: AutodlIrssi/trackers/XSpeeds.tracker inflating: AutodlIrssi/TrackerXmlParser.pm inflating: AutodlIrssi/Updater.pm inflating: AutodlIrssi/UtorrentWebui.pm inflating: AutodlIrssi/WinUtils.pm inflating: AutodlIrssi/WOL.pm inflating: AutodlIrssi/XmlParser.pm inflating: AutodlIrssi/XmlRpc.pm inflating: AutodlIrssi/XmlRpcResponseParser.pm inflating: AutodlIrssi/XmlRpcSimpleCall.pm inflating: CONTRIBUTING.md inflating: README-ORIG.txt inflating: README.md Cloning into 'autodl-irssi'... Setting permissions, Starting services

Any ideas what is wrong?
Cheers

rakshasa.no

rakshasa.no was down for ages, libtorrent.rakshasa.no curl when install & update not gonna working

Cant upload/edit files/folders via FTP.

I'm trying to upload filemanager plugin to plugins directory but it keeps failing permission denied.

After installing script I can no longer access root. Only access system via initial user install.

Can you clarify how I edit files/add folders etc?

unary operator expected

/usr/local/bin/rtadduser: line 85: [: 67251: unary operator expected
/usr/local/bin/rtadduser: line 88: [: 67500: unary operator expected

You can fix it by adding two [[ ]]

Autodl-irssi issue

Autodl-irssi is not downloading and it stops the installation, Error: "Unable to download autodl scripts from http://update.autodl-community.com/
This is most likely a network error, if your network is working, then it is likely a temporary issue with the relevant file server"

Index of /download question

Hi arakasi72, thanks for this powerful script that really saved the day for me.
I was wondering if I can get further access in subfolders i have created.
For example, i am now transferring stuff that are going in folders inside https://IP/download/user/rtorrent/downloads at which point i get a 403 forbidden error
Is there a way to get further access wishing the subfolders?

Small feedback on Ubuntu 15.04

Hi,

First of all great work ! :) I tryed many scripts to set up seedbox and many are just not working :)

So I had no errors during install but when accessing /rutorrent I have Plug-in 'Unpack': rTorrent cannot access to 'unrar'

Then I tryed to access /download/user but I didn't read the readme at 100% and forgot the -d option so I just un-comment the 2 lines in /etc/nginx/sites-available/default pointing to dload config file :) It worked well.

Then I tryed to change these two access path to avoid be suspicous accessing /rutorrent and having something less explicit like /foobar so I changed it in the nginx default and made a symlink in /var/www to point to rutorrent webui ressources folder.

So my suggestions will be :

  • fixing this missing unrar plugin or disabling it
  • having a question during the install to choose to allow access to download folder or not
  • allowing to choose names of /rutorrent and /download folders

And I have a small question, why http access redirect me to https ? Can I choose/set using http instead ?

RuTorrent RPC

Does this script support RPC? For things like Sonarr and CouchPotato, they have better intergration with rutorrent RPC instead of torrent blackhole.

I couldn't find any info on this, so was just wondering.

If not, don't worry, but if so, any idea? (Ports, web url, etc)

Thanks!

"isb" check

Hi there,
Have been using your script for at least a year and love it. I had to do a fresh install on my kimsufi and also moved to debian jessie for the first time (wheezy before). The install did not work and it said that my OS is not covered. The error was around here

if [ -f /etc/lsb-release ]; then
fullrel=$(lsb_release -sd)
osname=$(lsb_release -si)
relno=$(lsb_release -sr | cut -d. -f1)
else

All it took was apt-get install lsb-release and it worked. Thought you should know. Perhaps it would help someone else on ovh, or perhaps you might check if lsb is installed before the if/else.

Thanks for all your work

rutorrent plugin: loginmgr

loginmgr/accounts plugin gets installed perfectly. However, after launching "settings" in ruTorrent v3.7, it won't display the "Accounts" window, which is necessary to fill data for automatic login.

rtadduser is broken on debian 8

when adding user, gets stuck in infinite loop in
/usr/local/bin/rtadduser line :104 & 107

edit: was issue with pryroscope addition.

suggestion: h5ai

My apologies if this is the wrong venue to make a suggestion. One of the many features I love about your script is the rtdload script to enable/disable web access. May I gently suggest perhaps incorporating something like h5ai (https://github.com/lrsjng/h5ai) as an install option? It would make that download page even more attractive. I have been trying to do that but nginx is so far unhappy with my attempts.

Again, not an "issue" but a hopeful suggestion and thank you again for your work!

Auto Unpack

Great script!

Quick question, my most recent install, the auto unpack feature stopped working.

Manual works fine, but after I check off the box for auto unpack and the directory to go to, it doesn't perform.

Works on 2 of my 3 machines. Can't locate errors since manual works fine.

Any ideas?

Thanks!

Ubuntu 16 support

Ubuntu Xenial Xerus (development branch)
Only Ubuntu release 12 and later, and Debian and Raspbian release 7 and later, are supported
Your system does not appear to be supported

Auto Deleting torrent files

I have some strange problem, that all old torrent files (including folders) are deleted, but they continue to seed, and when i stop them and start again it's start to download them again. It's for torrent that are more than 3-4 days old...

Not able to access FTP server using Yummy FTP client Mac app

Using the same app (and same options but a different port, IP, user, password of course) I am able to FTP to another FTP server (that was setup with a year old rtinst script).

This is the error from OSX Console:

<< Connection : 16 >>
<< Date Time : 3/10/16 4:32:52 PM >>
500 OOPS: prctl PR_SET_SECCOMP failed
500 OOPS: priv_sock_get_cmd
AUTH TLS

(I can now access this server - setup using latest rtinst - but I can still not wget to it. I used this workaround http://superuser.com/questions/908024/vsftpd-500-oops-prctl-pr-set-seccomp-failed)

And when I try to access using wget from another Ubuntu server, I get The server refuses login error after connecting.

/var/log/vsftpd.log is empty.

PS. I cannot access the old server either (which as mentioned above can be accessed using Yummy FTP), from another server and /var/log/vsftpd.log shows just this:

[pid 21120] CONNECT: Client "111.11.111.11"

(My IP changed above)

Permission to derive from code

I like the way you have your scripts setup and would like to derive from it but to make it control/manage deluged/deluge-web instead. Is it ok if I do so?

I will link back to this repo and give credit for the basis of, what will probably be, the majority of the original code.

Disk Quota

Quota doesn't seem to be installed. Is it supposed to be installed by script?

I tried installing manually but getting..

invoke-rc.d: initscript quota, action "start" failed.
dpkg: error processing package quota (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up quotatool (1:1.4.12-2) ...
Processing triggers for libc-bin (2.19-18+deb8u4) ...
Processing triggers for systemd (215-17+deb8u4) ...
Errors were encountered while processing:
quota
E: Sub-process /usr/bin/dpkg returned an error code (1)

seedbox limit

Hello

How can i make limit for user seedbox ??

like files size or torrent slot ?

thnx

problem with rss and others

Hello my rss option not show and i see this errors

[13.03.2016 20:37:44] rTorrent user can't access 'id' program. Some functionality will be unavailable.
[13.03.2016 20:37:44] trafic: Plugin will not work. rTorrent user can't access external program (php).
[13.03.2016 20:37:44] autotools: Plugin will not work. rTorrent user can't access external program (php).
[13.03.2016 20:37:44] create: Plugin will not work. rTorrent user can't access external program (php).
[13.03.2016 20:37:44] unpack: Plugin will not work. rTorrent user can't access external program (php).
[13.03.2016 20:37:44] rss: Plugin will not work. rTorrent user can't access external program (php).
[13.03.2016 20:37:44] datadir: Plugin will not work. rTorrent user can't access external program (php).
[13.03.2016 20:37:44] ratio: Some functionality will be unavailable. rTorrent user can't access external program (php).
[13.03.2016 20:37:44] _task: Some functionality will be unavailable. rTorrent user can't access external program (pgrep).
[13.03.2016 20:37:44] mediainfo: Plugin will not work. rTorrent user can't access external program (mediainfo).
[13.03.2016 20:37:44] rss: Some functionality will be unavailable. rTorrent user can't access external program (curl).
[13.03.2016 20:37:44] screenshots: Plugin will not work. rTorrent user can't access external program (ffmpeg).

i need rss and autotools

Post install issues

After the script is run and installation is complete i have the following errors when launching rutorrent:

[10.12.2015 15:51:34] WebUI started.
[10.12.2015 15:51:35] screenshots: Plugin will not work. rTorrent user can't access external program (ffmpeg).
[10.12.2015 15:51:36] Unpack plugin: rTorrent user can't access 'unrar' program.

This has been setup using the latest build of raspbian.

A few question

Hi, your script seems good, I want to try because of the nginx.
So, I have a few question:

  1. Do each user have their own download folder (http and ftp)?
  2. Can I somehow put some quota on them?
  3. What is the default plugin it will install?

Thanks

Bad response from server

Hello

I got this msg but the server run and my torrents see

i wait for few days and same i reboot the server and update rtscript

i try alot of thinks but still nothing

how can i make it work fine ?

i dont see any data when i open the url

I really need help to upload some files

Custom tweaks/edits to default installs

Just wondering of you could help with some edits to default settings/removal of some menu items etc?

It would be much appreciated and I would pay for your time.

ADz

Xmlrpc update

Hi arakasi72, first of all a big Thumbs Up for this awesome script, it works flawlessly on my setup.

Second, I see that three packages (xmlrpc, rtorrent and libtorrent) are installed from source. You've created scripts to update 2 of them (rtorrent and libtorrent), can you also create a script to update xmlrpc?

If you think this is useless, can you at least share a mini how-to in order for me to build and update xmlrpc from source when an update for it comes out?

Thank you.

no connection to rtorrent

Fresh Debian 7

tried to add seems to be missing?

      location /RPC2 {
           include scgi_params;
           scgi_pass localhost:5000;
       }

in nginx, no luck :(

01.03.2015 21:58:09] WebUI started.
[01.03.2015 21:58:09] 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.
[01.03.2015 21:58:10] Error downloading files. Make sure autodl-irssi is started and configured properly (eg. password, port number): Error getting files listing: Error: Could not connect: (111) Connection refused

rtdload

rewrite does not work, no download folder 404 Not Found
using nginx 1.8.0

it's enabled include /etc/nginx/conf.d/rtdload;

Directory listing charset

rtdload web directory listing has no charset, set charset utf-8; will fix japanese, korean, chinese text etc.

Also im suggesting using fancyindex rather than autoindex, since css can be customized and has ability to short by filename, date or size (really useful if you got many torrent). required nginx-extras or compile nginx from source,

Can't access Rutorrent

I am using Ubnutu 15.10

I used the script and there were no errors. Yet when I access /rutorrent I get nothing.

I figured it would be an nginx issue /var/log/nginx/error.log only shows nothing.

Show logs file information on the installation [enhancement]

It would be cool if we can see the progress of the installation, info message or anything instead of the one word progress. for example the 'installing the required packages' message, we don't know when it will be end. Perhaps something is preventing the installation to continue. Who knows right? There must be some errors occur during the installation and who knows? Putting this information is a peace of mind.

rtupdate

rtupdate asumes interface is eth0, so getting an error:

root@server:/# sudo rtupdate
Device "eth0" does not exist

Tried to manually edit rtupdate to the correct interface:

root@rtor:/# sudo rtupdate
Must be run using sudo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.