Package Details: rutorrent 3.7-4

Git Clone URL: https://aur.archlinux.org/rutorrent.git (read-only)
Package Base: rutorrent
Description: Yet another web front-end for rTorrent
Upstream URL: http://code.google.com/p/rutorrent/
Licenses: GPL
Conflicts: rutorrent-plugins
Submitter: None
Maintainer: dracorp
Last Packager: dracorp
Votes: 100
Popularity: 1.587442
First Submitted: 2009-09-07 19:59
Last Updated: 2015-06-14 14:42

Required by (1)

Sources (3)

Latest Comments

brenton commented on 2015-11-24 13:10

"AuthUserFile" line in "/usr/share/webapps/rutorrent/.htaccess" needs updating to use correct pathinstead of "/var/www/..." should look like:

AuthUserFile "/usr/share/webapps/rutorrent/.htpasswd"

Maybe a patch or install script might fix this.

tomk commented on 2015-07-16 09:10

Rutorrent wiki says: "Attention! Please install only those plugins you really need. The more plugins are installed - the longer load of the ruTorrent interface."[1]

You're the maintainer, so the decision is yours. I'll be writing my own PKGBUILD to split them out again.

[1] https://github.com/Novik/ruTorrent/wiki/Plugins

deusstultus commented on 2015-04-27 03:43

The 3.7 release zip has .gitignore files that get built into package. Patched to delete in prepare().

https://github.com/deusstultus/AUR/commit/50c2676719dec58bc875a8bfe2aba775064203cc

bolorino commented on 2015-04-17 23:20

@evana @dracorp Fine, thank you.

dracorp commented on 2015-04-17 21:47

@evana: thx. I've added rutorrent-plugins to the conflicts.

evana commented on 2015-04-17 20:01

@dracorp @bolorino Looks like rutorrent 3.7 includes plugins. Remove the rutorrent-plugins package and you'll be able to upgrade fine. This makes the rutorrent-plugins package obsolete.

bolorino commented on 2015-04-17 19:10

Thanks @dracorp

Now it complains about every file under /usr/share/webapps/rutorrent/plugins already exist. I am upgrading.

I moved the plugins dir out of the path and tried again.

This is what I get now:

error: extract: not overwriting dir with file /usr/share/webapps/rutorrent/conf
error: problem occurred while upgrading rutorrent
error: could not commit transaction
error: failed to commit transaction (transaction aborted)

Sorry I can't help more. I have no experience with PKGBUILD.

dracorp commented on 2015-04-17 17:38

@bolorino: Fixed, now it should be better.

bolorino commented on 2015-04-17 11:14

I'm getting
cp: cannot stat 'rutorrent/conf': No such file or directory
==> ERROR: A failure occurred in package()

In package():
cp -r $pkgname/conf "$pkgdir"/etc/webapps/$pkgname/

dracorp commented on 2015-04-16 20:59

rutorrent-plugins still is 3.6

dracorp commented on 2015-04-14 21:22

Because the project has moved to Github I vote for removing this package or maybe someone want to adopt this package?

dracorp commented on 2015-02-17 21:30

@Serra: but this URL is for git version. Stable version is available still from https://bintray.com/novik65/generic/ruTorrent

Serra commented on 2015-02-17 12:57

The Upstream url changed to https://github.com/Novik/ruTorrent

Fraterius commented on 2013-11-11 21:43

Ok, so generally the solution is to choose any folder inside /tmp dir, not the /tmp dir itself. Thx for clarification.

frat commented on 2013-11-11 14:00

i made one tempdir in /tmp,set +777,it work.

or you should try $tempDirectory = "/path/to/tmp"

Fraterius commented on 2013-11-07 14:28

Ok, so I've made tmp directory inside rutorrent main folder, gave it 777 rights, chown it to http:http. Then I've set the $tempDirectory = 'tmp', and the error is gone, question still remains why it doesn't work with /tmp/.

Sorry for the comment as it doesn't refers to this AUR package (I'm running svn version of rutorrent, on nginx and php-fpm). Maybe it'll be helpfull for someone.

carriage commented on 2013-11-04 20:52

I'm still seeing this after defining tempDirectory in conf.php. The dir has 777 permissions and is owned by the user running the web server.

Fraterius commented on 2013-11-04 11:26

Can you tell us what was the problem, I'm getting the same problem on svn version and can't find the solution for it. On old svn version everything seems to be working correctly and after svn up /tmp error is on.

Generally I see that there has been added $tempDirectory variable in config they must have changed something.

Fraterius commented on 2013-11-04 11:23

Can you tell us what was the problem, I'm getting the same problem on svn version and can't find the solution for it. On old svn version everything seems to be working correctly and after svn up /tmp error is on.

dracorp commented on 2013-10-28 13:40

@DarkElf: fixed.

DarkElf commented on 2013-10-27 17:08

Very strange thing because I had already disabled PrivateTemp in lighttpd service, and rutorrent 3.5 worked always well with /tmp/ (with PrivateTemp=False).
I'm wondering why /tmp/ doesn't work anymore with the new version...

skydrome commented on 2013-10-27 16:29

This is a feature of your webserver and systemd using PrivateTemp and then another user trying to access it.

So, dont use /tmp. Use a directory such as /usr/share/webapps/rutorrent/tmp where its readable by both the webserver and rtorrent user

DarkElf commented on 2013-10-27 07:01

@skydrome
I had already set temp dir in config file:

cat /usr/share/webapps/rutorrent/conf/config.php | grep tempDirectory
$tempDirectory = '/tmp/'; // Temp directory. Absolute path with trail slash. If null, then autodetect will be used.

but the error is still there using both packages (rutorrent and rutorrent-svn)

skydrome commented on 2013-10-26 15:51

after investigation, my workaround isnt needed anymore with this change https://code.google.com/p/rutorrent/source/detail?r=2388

you just set an appropriate temp dir in config file now

skydrome commented on 2013-10-26 15:49

after investigation, my workaround isnt needed anymore with this change https://code.google.com/p/rutorrent/source/detail?r=2388

dracorp commented on 2013-10-26 14:01

@DarkElf because the sources have a wrong permissions to files and directories.
I'll fix it soon when I get back to my PC.

DarkElf commented on 2013-10-26 12:03

same problem with rutorrent-svn

rTorrent user must have read/execute access to the tmp directory. ruTorrent will not work. (/tmp/)

BUT:

cat /etc/php/php.ini | grep basedir
open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/etc/webapps/rutorrent/conf/:/usr/share/webapps:/usr/bin/

ls -lha / | grep tmp
drwxrwxrwt 12 root root 340 26 ott 13.42 tmp

skydrome commented on 2013-10-25 22:24

install rutorrent-svn instead

DarkElf commented on 2013-10-25 18:57

After upgrading from previous version (not changing anything) I receive several errors like:

rm: impossible to remove "/tmp/yaourt-tmp-user/aur-rutorrent/src/rutorrent/lang/langs.js": Not permitted

during package installation
and then when I enter the webui rutorrent displays:

rTorrent user must have read/execute access to the tmp directory. ruTorrent will not work. (/tmp/)

...but the older version worked well

amieiro commented on 2013-10-22 21:49

There is a new version of rutorrent
http://forums.rutorrent.org/index.php?topic=4495.0

enr1x commented on 2012-09-13 21:39

Needs also "Allow from ::1" to allow localhost access. For any reason, connecting to localhost redirects to the IPv6 address.

dracorp commented on 2012-08-27 06:35

Added.

Huulivoide commented on 2012-08-26 11:15

Could you add !strip to options, this can shave off a few secs of
build time on lowend systems (RaspberryPi)

dracorp commented on 2012-06-25 13:23

Add to open_basedir in /etc/php/php.ini: /usr/share/webapps
or comment open_basedir.

skydrome commented on 2012-06-24 21:01

check permissions of /usr/share/webapps/rutorrent and/or add it to php's open_basedir directive

Feng-Huang commented on 2012-06-24 20:39

It was missing open_basedir. Now I got another error in log :

PHP Fatal error: require_once(): Failed opening required '/usr/share/webapps/rutorrent/conf/config.php' (include_path='.:/usr/share/pear') in /usr/share/webapps/rutorrent/php/util.php on line 19

But the file exists !!

skydrome commented on 2012-06-24 20:13

error 500 = your webserver is misconfigured... check its error log

Feng-Huang commented on 2012-06-24 20:09

[24.06.2012 22:07:42] WebUI started.
[24.06.2012 22:07:42] Bad response from server: (500 [error,getplugins])
[24.06.2012 22:07:42] Bad response from server: (500 [error,getuisettings])

I want a single user install (I say that because i've read some threads on forums)

Anonymous comment on 2012-04-26 21:57

I've gotten mine working, although I'm no expert. I had to add a line to /etc/lighttpd/lighttpd.conf

alias.url = (
# other rewrites in effect
"/rutorrent/" => "/usr/share/webapps/rutorrent/",
)

I also had to edit the open_ variable in php.ini to allow scripts to executed from /usr/share/webapps/.

Don't know if this is enough information or not, but hopefully it helps!

dracorp commented on 2012-04-24 06:48

I don't use lighttpd. Any idea?

Anonymous comment on 2012-04-23 23:43

Now completely broken using lighttpd rather than apache. Simply get a 404.

dracorp commented on 2012-04-23 07:05

Fixed, try now.

dracorp commented on 2012-04-23 06:31

Or change HTTPD in the /etc/conf.d/apache on HTTPD='/usr/sbin/httpd.itk'.

GutenYe commented on 2012-04-23 03:07

Error:

[23.04.2012 11:02:19] Webserver user doesn't have read/write/execute access to the torrents directory. You cannot add torrents via ruTorrent. (/usr/share/webapps/rutorrent/share/torrents)
[23.04.2012 11:02:19] Webserver user doesn't have read/write/execute access to the settings directory. ruTorrent settings cannot be saved. (/usr/share/webapps/rutorrent/share/settings)
[23.04.2012 11:02:19] rTorrent user must have read/execute access to the torrents directory. You cannot add torrents via ruTorrent. (/usr/share/webapps/rutorrent/share/torrents)
[23.04.2012 11:02:19] rTorrent user must have read/write/execute access to the settings directory. (/usr/share/webapps/rutorrent/share/settings)
[23.04.2012 11:02:19] _task: Some functionality will be unavailable. rTorrent user can't access external program (pgrep).
[23.04.2012 11:02:19] create: Some functionality will be unavailable. rTorrent user can't access external program (pgrep).
[23.04.2012 11:02:19] mediainfo: Plugin will not work. rTorrent user can't access external program (mediainfo).
[23.04.2012 11:02:19] scheduler: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] ratio: Some functionality will be unavailable. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] rutracker_check: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] autotools: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] trafic: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] unpack: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] create: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] history: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] rss: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] retrackers: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] screenshots: Plugin will not work. rTorrent user can't access external program (ffmpeg).
[23.04.2012 11:02:19] rss: Some functionality will be unavailable. rTorrent user can't access external program (curl).
[23.04.2012 11:02:20] JS error: [extensions/schema_generated_bindings.js : 418] Uncaught Error: "create" can only be used in extension processes. See the content scripts documentation for more details.
[23.04.2012 11:02:20] DataDir plugin: rTorrent user can't access php interpreter. Plugin will not work.
[23.04.2012 11:02:20] Unpack plugin: rTorrent user can't access 'unzip' program.
[23.04.2012 11:02:20] Unpack plugin: rTorrent user can't access 'unrar' program.


need chomd 777 -R /usr/share/webapps/rutorrent/share

GutenYe commented on 2012-04-23 03:07

Error:

[23.04.2012 11:02:19] Webserver user doesn't have read/write/execute access to the torrents directory. You cannot add torrents via ruTorrent. (/usr/share/webapps/rutorrent/share/torrents)
[23.04.2012 11:02:19] Webserver user doesn't have read/write/execute access to the settings directory. ruTorrent settings cannot be saved. (/usr/share/webapps/rutorrent/share/settings)
[23.04.2012 11:02:19] rTorrent user must have read/execute access to the torrents directory. You cannot add torrents via ruTorrent. (/usr/share/webapps/rutorrent/share/torrents)
[23.04.2012 11:02:19] rTorrent user must have read/write/execute access to the settings directory. (/usr/share/webapps/rutorrent/share/settings)
[23.04.2012 11:02:19] _task: Some functionality will be unavailable. rTorrent user can't access external program (pgrep).
[23.04.2012 11:02:19] create: Some functionality will be unavailable. rTorrent user can't access external program (pgrep).
[23.04.2012 11:02:19] mediainfo: Plugin will not work. rTorrent user can't access external program (mediainfo).
[23.04.2012 11:02:19] scheduler: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] ratio: Some functionality will be unavailable. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] rutracker_check: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] autotools: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] trafic: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] unpack: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] create: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] history: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] rss: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] retrackers: Plugin will not work. rTorrent user can't access external program (php).
[23.04.2012 11:02:19] screenshots: Plugin will not work. rTorrent user can't access external program (ffmpeg).
[23.04.2012 11:02:19] rss: Some functionality will be unavailable. rTorrent user can't access external program (curl).
[23.04.2012 11:02:20] JS error: [extensions/schema_generated_bindings.js : 418] Uncaught Error: "create" can only be used in extension processes. See the content scripts documentation for more details.
[23.04.2012 11:02:20] DataDir plugin: rTorrent user can't access php interpreter. Plugin will not work.
[23.04.2012 11:02:20] Unpack plugin: rTorrent user can't access 'unzip' program.
[23.04.2012 11:02:20] Unpack plugin: rTorrent user can't access 'unrar' program.


need chomd 777 -R /usr/share/webapps/rutorrent/share

dracorp commented on 2012-04-03 11:59

My suggestions:
http://pastebin.com/raw.php?i=1kKvyRaU
http://pastebin.com/raw.php?i=RNxKRfLz
http://pastebin.com/raw.php?i=CGUk4VeC

Anonymous comment on 2012-04-02 20:07

rutorrent 3.4 is out. change pkgver to 3.4 and md5sums to 160a1e625cf37c984ba761d610577b82 to upgrade

GutenYe commented on 2011-12-04 14:29

yes. and it also needs to keep conf/access.ini config.php plugins.ini

dracorp commented on 2011-12-04 12:35

https://wiki.archlinux.org/index.php/Web_application_package_guidelines

GutenYe commented on 2011-12-04 11:57

/srv/http is the right path.

can it use with ngix?

Barthalion commented on 2011-11-26 11:33

Shoudln't be installed in /usr/share/webapps?

vodik commented on 2011-09-04 02:37

I'm willing to take over this package if you'd like.

Anonymous comment on 2011-08-31 10:33

Is this going to be updated yet? I mean, simongmzlj has provided the updated pkgbuild.

vodik commented on 2011-08-01 21:02

I took the liberty while updating this package to 3.3 to rework it a bit. Archlinux packaging standards ask that packages don't install directly into /srv, so I set it up to install into /usr/share/webapps inline with what phpmyadmin and owncloud do.

http://codepad.org/4iIoMwfP

Anonymous comment on 2011-02-23 20:05

Shouldn't this also have depends for php (with json) and some webserver?

Sharpeee commented on 2010-11-19 17:28

3.2 is out

cdemoulins commented on 2010-05-27 09:44

Version 3.1 is out.

Anonymous comment on 2010-05-02 16:55

Maybe we need here in deps php, php-cgi and (apache or lighttpd)?

Sharpeee commented on 2010-04-08 10:00

@shahid: Change the build function to look like this, and it'll work:


build() {
mkdir -p ${pkgdir}/srv/http/
cp -r ${pkgname}/ ${pkgdir}/srv/http/
chmod -R 777 ${pkgdir}/srv/http/${pkgname}
}

Notice that the url has changed to ".../rutorrent" from "/.../rtorrent"

krevedko commented on 2010-03-25 06:51

$ pacman -Ql rutorrent
rutorrent /srv/
rutorrent /srv/http/
rutorrent /srv/http/rtorrent/
$

Looks like, something is gone wrong - there are no files really packaged/installed, only empty directory created.