Transmission > 2.52 issues

Problems with packages? Post here, using [tags] of the package name.

Transmission > 2.52 issues

Postby dinjo » Fri Oct 19, 2012 4:47 pm

Ever since i updated to transmission 2.61 and above i cant get the transmission working it always fails with white list error same settings.conf works with previous config
$this->bbcode_second_pass_code('', '{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"blocklist-url": "http://www.example.com/blocklist",
"cache-size-mb": 4,
"dht-enabled": false,
"download-dir": "/media/Data/data/torrents",
"download-queue-enabled": true,
"download-queue-size": 5,
"encryption": 2,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/media/Data/data/torrents",
"incomplete-dir-enabled": true,
"lpd-enabled": false,
"message-level": 2,
"peer-congestion-algorithm": "",
"peer-limit-global": 240,
"peer-limit-per-torrent": 30,
"peer-port": 55542,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": true,
"peer-socket-tos": "default",
"pex-enabled": false,
"port-forwarding-enabled": true,
"preallocation": 1,
"prefetch-enabled": 1,
"queue-stalled-enabled": true,
"queue-stalled-minutes": 30,
"ratio-limit": 2,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "{6300995c05be944092b6ccdf2a656465129f800e7o.FAG5K",
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "",
"rpc-whitelist": "192.168.1.*",
"rpc-whitelist-enabled": false,
"scrape-paused-torrents-enabled": true,
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/root/extract.sh",
"seed-queue-enabled": false,
"seed-queue-size": 10,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 2,
"speed-limit-up-enabled": true,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 18,
"upload-slots-per-torrent": 14,
"utp-enabled": true
}
')
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Transmission > 2.52 issues

Postby pepedog » Fri Oct 19, 2012 5:36 pm

Just guessing
"rpc-whitelist": "192.168.1.0/24",
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Transmission > 2.52 issues

Postby karog » Fri Oct 19, 2012 5:41 pm

I run transmission 2.71-1 no problem with
$this->bbcode_second_pass_code('', '
"rpc-whitelist": "127.0.0.1,192.168.1.*",
"rpc-whitelist-enabled": true,
')
Note you have
$this->bbcode_second_pass_code('', '
"rpc-whitelist": "192.168.1.*",
"rpc-whitelist-enabled": false,
')
ie disabled.

You also did not state exactly what the whitelist failure is.
karog
 
Posts: 300
Joined: Thu Jan 05, 2012 7:55 pm

Re: Transmission > 2.52 issues

Postby dinjo » Sat Oct 20, 2012 12:05 pm

I figured out that > 2.52 runs from /var/lib earlier used to run from /root so i was not changing the correct settings.json , also how do i resume my torrents the torrent list is empty i tried copying resume and torrents dir didnt worked

Scrap that changed to 777 on resume directories its good now anyone see any speed improvement in 2.71 ?
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Transmission > 2.52 issues

Postby slycat » Sat Oct 20, 2012 8:03 pm

:|
To be honest, I haven't seen any change in speed, I have already been maxing my bandwidth since they first implemented uTP. Since 2.52, 2.71 is the first to make mention of any more improvements of speed in uTP but I never had a speed issue before. Web CLI seems to be faster and more responsive, though.
Pogoplug Pro w/ Wireless User -> decomm.
Cubox-i4pro User
4TB eSATA HDD (8g/3700+ Sw/Storage)
Kodi / Transmission / Minidlna / Samba / Batch-audio-conversions / Lighttpd
------------------------------
Rollback Machine - Thanks to impatt
slycat
 
Posts: 169
Joined: Wed Feb 09, 2011 3:07 am
Location: Miami, FL

Re: Transmission > 2.52 issues

Postby dinjo » Sun Oct 21, 2012 12:03 pm

I have somethings else too

1. How do i make it run as root ?
2. I had a script to extract the rar when torrent finishes but does not seems to be working as i feel the SRC_DIR is not visible to the script anyone else having same issue ?

$this->bbcode_second_pass_code('', 'LOG_FILE=/var/log/unrar.log
TR_USERNAME="transmission"
TR_PASSWORD="transmission"
NOW=$(date +%Y-%m-%d\ %H:%M:%S)
SRC_DIR="${TR_TORRENT_DIR}/${TR_TORRENT_NAME}"
DEST_DIR="${TR_TORRENT_DIR}/${TR_TORRENT_NAME}/"
TR_TORRENT_PARAMETER="EXTRACT SLEEP1h"
')
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Transmission > 2.52 issues

Postby dinjo » Fri Oct 26, 2012 5:41 am

Any help here how can i make it run as root ? As it seems i have given the perms on my directory top transmission user to and i see the script is executed when check in daemon.log but due to some reason its not able to extract is anyone else using transmission to extract script ?
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Transmission > 2.52 issues

Postby slycat » Fri Oct 26, 2012 3:01 pm

As far as root privileges I think you might have to set TRANS_USER to "root" in /etc/conf.d/transmissiond, but I am not sure that is exactly safe (in a very paranoid sense).

I can't tell if the script needs to be run by root, but I also can't see how you declare "TR_TORRENT_DIR". Is that just an output from transmission? I've never used the the script feature from it.

Try manually running the script and see if it works (point to the dir/filename you want to extract) to see if the problem lies with transmission trying to run the script or the script itself.

All else fails, put it on a pastebin and link it here.
Pogoplug Pro w/ Wireless User -> decomm.
Cubox-i4pro User
4TB eSATA HDD (8g/3700+ Sw/Storage)
Kodi / Transmission / Minidlna / Samba / Batch-audio-conversions / Lighttpd
------------------------------
Rollback Machine - Thanks to impatt
slycat
 
Posts: 169
Joined: Wed Feb 09, 2011 3:07 am
Location: Miami, FL

Re: Transmission > 2.52 issues

Postby pepedog » Fri Oct 26, 2012 3:08 pm

With systemd, edit
/usr/lib/systemd/system/transmission.service
and
/usr/lib/tmpfiles.d/transmission.conf
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Transmission > 2.52 issues

Postby dinjo » Sat Oct 27, 2012 3:04 am

Thanks slycat that did the trick not sure whether i need to edit /usr/lib/systemd/system/transmission.service or not since setting TRANS_USER was good enough.Though the /usr/lib/systemd/system/transmission.service says user transmission its running as root now :D
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am


Return to Packages

Who is online

Users browsing this forum: No registered users and 9 guests