Package Details: rutorrent 3.10-1

Git Clone URL: https://aur.archlinux.org/rutorrent.git (read-only, click to copy)
Package Base: rutorrent
Description: Yet another web front-end for rTorrent
Upstream URL: https://github.com/Novik/ruTorrent
Keywords: bittorrent rtorrent torrent
Licenses: GPL
Conflicts: rutorrent-plugins
Submitter: None
Maintainer: pizzaman
Last Packager: TheGoliath
Votes: 125
Popularity: 0.004635
First Submitted: 2009-09-07 19:59 (UTC)
Last Updated: 2020-07-14 14:20 (UTC)

Latest Comments

grandchild commented on 2021-02-22 07:08 (UTC) (edited on 2021-02-22 07:09 (UTC) by grandchild)

Note that people will not have gotten an automatic update from 3.10_beta to 3.10 since the last pkgbuild update in July. 3.10 is considered older than 3.10_beta.

Refer to https://github.com/Jguer/yay/issues/1464 .

hamelg commented on 2021-01-30 19:44 (UTC)

if rutorrent doesn't work with php8, please update the php dependency. https://archlinux.org/news/php-80-and-php-7-legacy-packages-are-available/

Nocifer commented on 2020-12-30 12:03 (UTC) (edited on 2020-12-31 12:50 (UTC) by Nocifer)

Hello. For the next release (whenever that may be) please consider adding the optional dependency python-cloudscraper, which is needed by the internal plugin _clouflare in order to work correctly.

See https://github.com/linuxserver/docker-rutorrent/pull/116 and https://github.com/Novik/ruTorrent/wiki/Plugin_cloudflare for more info.

EDIT: php-geoip could be added as well as it's needed for the internal geoip plugin.

alphe commented on 2020-05-10 17:23 (UTC) (edited on 2020-05-10 17:30 (UTC) by alphe)

Within the application by pressing ctrl+F1.

I use lighttpd and I didn't had issues before and till now the new version seems to work also fine.

alphe commented on 2020-05-10 16:40 (UTC)

I just update to 3.10_beta, everything fine but the version (Ctrl-F1) remains 3.9. Is this correct?

pavelchavyr commented on 2020-04-29 15:44 (UTC)

@tuxayo, I used your PKGBUILD and it works for me. Thanks.

tuxayo commented on 2020-03-31 03:25 (UTC)

Here is the PKGBUILD that I modified to install version 3.10-beta.

Please check the diff with the original, I'm not sure what I did is clean.

# Maintainer: David Birks <david@tellus.space>
# Contributor: Piotr Rogoza <piotr dot r dot public at gmail dot com>
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Sergei Lebedev <superbobry at gmail dot com>

pkgname=rutorrent
_pkgname=ruTorrent
pkgver=3.10_beta
_pkgver=3.10-beta
pkgrel=1
pkgdesc="Yet another web front-end for rTorrent"
arch=('any')
url='https://github.com/Novik/ruTorrent'
license=('GPL')
depends=(php curl gzip coreutils)
optdepends=('mod_scgi: for SCGI protocol')
conflicts=(rutorrent-plugins)
source=( 
    $pkgname-$pkgver.tar.gz::https://github.com/Novik/ruTorrent/archive/v${_pkgver}.tar.gz
    apache.example.conf
    apache.example.site.conf
)
sha256sums=('SKIP'
            '79b5aab7ef928727b3ec2aa0f1b0869310adde11cd774d148c03025deb6dec0c'
            '9afe7d2a9aadb5fd6a0fcd907f7f46bdc3630c369a5a684c51bbeeb5b4d354aa')
backup=( 
    etc/webapps/rutorrent/conf/config.php
    etc/webapps/rutorrent/conf/plugins.ini
    etc/webapps/rutorrent/conf/access.ini
)
options=(emptydirs !strip)

prepare() {
    cd $srcdir/$_pkgname-$_pkgver
    rm -f .gitignore
    msg2 "Removing files with Russian letters in filenames"
    cd plugins/tracklabels/labels
    find . -print0 | perl -MFile::Path=remove_tree -n0e 'chomp; remove_tree($_, {verbose=>1}) if /[[:^ascii:][:cntrl:]]/'
}
package() {
    cd $srcdir/$_pkgname-$_pkgver

    install -d "$pkgdir"/usr/share/webapps
    install -d "$pkgdir"/etc/webapps/$pkgname

    cp -r conf "$pkgdir"/etc/webapps/$pkgname/
    cp -r . "$pkgdir"/usr/share/webapps/$pkgname/

    rm -rf "$pkgdir"/usr/share/webapps/$pkgname/conf

    install -Dm644 ../apache.example.conf "$pkgdir"/etc/webapps/rutorrent/
    install -Dm644 ../apache.example.site.conf "$pkgdir"/etc/webapps/rutorrent/

    cd "$pkgdir"/usr/share/webapps/$pkgname
    ln -s /etc/webapps/$pkgname/conf

    #fix perms
    #chown http\: $pkgdir/usr/share/webapps/$pkgname/share/{settings,torrents,users}
    chmod 0777 $pkgdir/usr/share/webapps/$pkgname/share/{settings,torrents,users}
}

hamelg commented on 2019-08-19 19:58 (UTC)

I confirm, rutorrent 3.9-1 is broken. The fix reported by andreibsk works fine. thanks !

happycamper commented on 2019-07-28 16:25 (UTC) (edited on 2019-07-28 16:26 (UTC) by happycamper)

Just installed with Apache and connected to rtorrent, but got the following error. I also can't load the settings popup:

ruTorrent cannot determine the UID of rTorrent user

And another required dependency (aside from rtorrent itself):

php-fpm

andreibsk commented on 2019-07-27 11:10 (UTC) (edited on 2019-07-27 11:10 (UTC) by andreibsk)

After I upgraded rutorrent to version 3.9-1 and rtorrent to 0.9.8-1 rutorrent seemed to have some communication problems with rtorrent. Symptoms included failure to load the settings popup, failure to detect and check the open connection port, etc.

The fix for this seems to be in the following commit and can be applied manually after install in the application folder (/usr/share/webapps/rutorrent/): https://github.com/Novik/ruTorrent/commit/ec8d8f1887af57793a671258072b59193a5d8d6c

binhex commented on 2019-04-12 10:45 (UTC)

@ljmf00 any chance of an update please?

MicroJoe commented on 2017-11-26 20:55 (UTC)

Got an error after install inside the webui: JS error: [http://127.0.0.1/rutorrent/js/stable.js : 1735] TypeError: this.dBody is undefined Running inside nginx.

dracorp commented on 2017-06-27 16:01 (UTC)

I disowned package because I don't use it.

dracorp commented on 2017-06-27 15:49 (UTC)

Hi How to prevent this: -> Compressing package... : Can't translate pathname 'usr/share/webapps/rutorrent/plugins/tracklabels/labels/трограммы.png' to UTF-8: Some files contains Russian letters in filenames.

binhex commented on 2017-06-20 09:46 (UTC)

New release out, 3.8:- https://github.com/Novik/ruTorrent/releases/tag/v3.8

binhex commented on 2016-12-01 16:18 (UTC)

This is missing a dependancy required for the geoip rutorrent plugin to work (resolves ip to country). This is fixed by installing the php-geoip arch package:- https://www.archlinux.org/packages/community/x86_64/php-geoip/ once installed you then need to enable the php module by adding extension=geoip.so to the php.ini file, snippet shown below:- sed -i -e "/.*extension=gd.so/a extension=geoip.so" "/etc/php/php.ini"

Ketchup901 commented on 2016-08-10 10:28 (UTC)

fakeroot is required

fturco commented on 2016-07-21 18:34 (UTC)

Homepage has moved to https://github.com/Novik/ruTorrent

brenton commented on 2015-11-24 13:10 (UTC)

"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 (UTC)

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 (UTC)

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 (UTC)

@evana @dracorp Fine, thank you.

dracorp commented on 2015-04-17 21:47 (UTC)

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

evana commented on 2015-04-17 20:01 (UTC)

@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 (UTC)

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 (UTC)

@bolorino: Fixed, now it should be better.

bolorino commented on 2015-04-17 11:14 (UTC)

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 (UTC)

rutorrent-plugins still is 3.6

dracorp commented on 2015-04-14 21:22 (UTC)

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 (UTC)

@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 (UTC)

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

Fraterius commented on 2013-11-11 21:43 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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.

dracorp commented on 2013-10-28 13:40 (UTC)

@DarkElf: fixed.

DarkElf commented on 2013-10-27 17:08 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

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

dracorp commented on 2013-10-26 14:01 (UTC)

@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 (UTC)

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 (UTC)

install rutorrent-svn instead

DarkElf commented on 2013-10-25 18:57 (UTC)

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 (UTC)

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

commented on 2012-09-13 21:39 (UTC)

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 (UTC)

Added.

Huulivoide commented on 2012-08-26 11:15 (UTC)

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 (UTC)

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

Feng-Huang commented on 2012-06-24 20:09 (UTC)

[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)

commented on 2012-04-26 21:57 (UTC)

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 (UTC)

I don't use lighttpd. Any idea?

commented on 2012-04-23 23:43 (UTC)

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

dracorp commented on 2012-04-23 07:05 (UTC)

Fixed, try now.

dracorp commented on 2012-04-23 06:31 (UTC)

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

GutenYe commented on 2012-04-23 03:07 (UTC)

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 (UTC)

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 (UTC)

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

commented on 2012-04-02 20:07 (UTC)

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

GutenYe commented on 2011-12-04 14:29 (UTC)

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

dracorp commented on 2011-12-04 12:35 (UTC)

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

GutenYe commented on 2011-12-04 11:57 (UTC)

/srv/http is the right path. can it use with ngix?

Barthalion commented on 2011-11-26 11:33 (UTC)

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