Rtorrent-Auto-Install
Rtorrent-Auto-Install copied to clipboard
Can't start rTorrent
Hi, just yesterday I had to reinstall my Raspberry Pi 2 (Raspian Wheezy) and thought that I would like to try your install script after my own rTorrent installation always had little problems (Linux beginner).
The problem now: Everything went fine for the installation (Raspbian 3.0.2), but when I try to start rTorrent I get this:
First it asked me for a Password, I thought it would be my user (pi) password, that wasn't it. Second I tried my root password and got the Authentication error. Then I logged in as su to check if I had the right password, yup works. Tried the start command as root and again the "can't find rtorrent..." error.
What's going on, how can I fix this? Thanks for any help.
Yeah, rTorrent never got installed. Manually installed, pretty much everything else was fucked (ruTorrent etc.). Nuked that Raspian installation.
Tried the Rtorrent-Auto-Install-1.1.0-Raspbian-Wheezy-Nginx Script on a fresh installation.
How about no.
A ]
is missed, add it at line 145
Added it to the file, worked. Now other problems occur: (Choosing the "Super stable version")
After that it just continues to install rtorrent. Greeting me with the "Installation is complete" page.
When accessing ruTorrent with my browser I get:
"Not Found
The requested URL /rutorrent was not found on this server.
Apache/2.2.22 (Debian) Server at 192.168.178.24 Port 80"
Check if /var/www/rutorrent
exist or change the temporany directorory at the beginning of the script and re-run it. Be sure the temp dir exist or have necessary space, the script need something like 20-30 MB.
WHAT THE FUCK MATE. That script just deleted all my data.
Pointed the temp dir directly to my external HDD. Does the script just go rm * or what?
Sadly it was already to late.
Why don't you have created a new folder instead of use the root your hdd? WHY?! Anyway finish install this command is executed:
if [ -d $TEMP_PLUGIN_DIR ]; then rm -rf $TEMP_PLUGIN_DIR; fi
Luckily my mistrust into the script let me do a backup yesterday evening, so nothing was lost. rm -rf $FUCK_EVERYTHING, are you by any chance else known as MrMEEE? * chuckles *
btw why I choose the root folder:
First I actually really tried the username again, that of course failed. Second I just chose a folder I knew should work and... yeah forgot to change it again.
btw even after re-running the script there is still nothing under /var/www (except for the index.html) btw2 not to mention that rtorrent still doesn't work (looks like it didn't get installed again, same error as in the OP) btw3 turns out your script does NOT move the rutorrent folder from /media/WD1TB/rutorrent to /var/www/ btw4 I now have a rutorrent folder in /media/ as well, maybe because I killed the script while it did the rm thing?
Try this version https://gist.github.com/miracle091/61aa929646bd5a3afed9 Is a one-script version instead of multiple ones, some folder (temp and temp-plugins) can be changed by run it. The apache choise, works for me on debian and rpi.
[guinea pig feelings intensifie]
btw5 the self created media/WD1TB/temp/ folder doesn't get deleted by your script (the nginx one) as well - /media/WD1TB/tempplugins got deleted though.
Try now. Is deleted at first run, finished installation and some specific point.
Gives me this now: