NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
super_poussin
May 17, 2010Virtuoso
New Transmission add-on thread
The previous thread was very long
time to open a new one and prepare the 2.0 :)
time to open a new one and prepare the 2.0 :)
920 Replies
Replies have been turned off for this discussion
- super_poussinVirtuoso2.01 for Sparc corrected you can download it 8)
I change the url for torrent creation to http://nas@ip/ctransmission (button in frontview added ) - delhuxAspirantI installed the Transmission add-on tonight, but ran into a problem.
I had a couple of files downloading in Transmission when I needed to restart my router. It is the sort of thing that has happened before and never caused an issue.
This time, however, after the network came back up and I reconnected to the transmission web interface I noticed the in-progress downloads were not displayed (empty).
I tried to add them again from the torrent files, and while the torrents picked up where they left off (amount of data downloaded) they produced an error stating they were being denied permission to write to the Downloads directory (the file path had two slashes // between the download dorectory and the downloaded file).
I thought I might have to disable/enable Transmission in Frontview. When I tried to load front view I received this error:
At this point I tried to run the stop/start scripts and received the following error when running the stop script as root via SSH:NAS:/c/addons-config/Transmission# sh transtop.sh
head: -1: invalid number of lines
Unexpected response: <h1>401: Unauthorized</h1>Unauthorized User
Accept-Encoding: deflate, gzip
head: -1: invalid number of lines
Unexpected response: <h1>401: Unauthorized</h1>Unauthorized User
Accept-Encoding: deflate, gzip
head: -1: invalid number of lines
Unexpected response: <h1>401: Unauthorized</h1>Unauthorized User
Accept-Encoding: deflate, gzip
head: -1: invalid number of lines
Unexpected response: <h1>401: Unauthorized</h1>Unauthorized User
Accept-Encoding: deflate, gzip
So I decided the Transmission install must be busted and I reinstalled Transmission, but all the issues persist.
I then tried to remove Transmission using the "remove" button in the Frontview UI, but that (along with the other buttons within the Transmission section of the Frontview UI) does not respond to clicking.
Not sure what to do now. I tried to chmod 777 the whole downloads directory, but that had no effect on the permissions issue.
I could live with Transmission not stopping/starting and Frontview not responding to input, but all torrent downloads being denied permission to download is a bit more of a problem.
Any assistance/ideas are warmly welcome...
Thanks,
-Delhux - super_poussinVirtuosoDid you Check the password in the 2 startup script as described in the official post ?
- delhuxAspirantJust noticed that one, my bad. I'm assuming that is the Transmission user/pass and not Frontview.
Not sure how it happened, but chmod'ing the addons-config/Transmission/ directory to 777 seemed to solve the permissions error.
As for the start/stop scripts, the "start" script now puts out an error about incorrect number of headers.
I noticed the web browser is loading A LOT of items when pulling up the web UI. Figured I'd leave it alone overnight and see how it is in the morning. - super_poussinVirtuoso
delhux wrote: Just noticed that one, my bad. I'm assuming that is the Transmission user/pass and not Frontview.
Not sure how it happened, but chmod'ing the addons-config/Transmission/ directory to 777 seemed to solve the permissions error.
As for the start/stop scripts, the "start" script now puts out an error about incorrect number of headers.
I noticed the web browser is loading A LOT of items when pulling up the web UI. Figured I'd leave it alone overnight and see how it is in the morning.
please read this :
better transmission start/stop script
you have now 2 script you need to modify to start/stop transmission properly (torrents are stopped and restart in the last state after a reboot for example)
scripts are in /c/addons-config/Transmission/ :
transtart.sh
transtop.sh - piston_brokeAspirantHi
I've just upgraded to v2.01 from 2.00b2 and I have a small problem every time I try and log in to transmission either through web interface or remotegui I can't
To get everything back to normal I have to login to frontview and restart transmission the indicatoris grey then turns green after restartand will be ok for 5 mins to a day
anyone else have this problem or solved it
Cheers
Alain - Putte1AspirantHi all!
I'm not sure if i'm missing something here or whats wrong.
I have installed Transmission, I got it to work, I can download/upload torrents etc. but to be able to edit the settings.json I need to stop the service from runing then edit the file and then turn it back on.
I go to installed addons in the gui, I get a error message, "populateDivFromUrl /addons/TRANSMISSION/TRANSMISSION.jseval error caught SyntaxError: underminated string literal"
back to the gui, I can't do anything with Transmission, when i untic the addon the Save buttons is greyed out, if I click the remove button nothing happens.
Any ideas what i'm doing wrong or something else?
Edit
When trying to run the transtop.sh file I get the following erros.
./transtop.sh
head: -1: invalid number of lines
head: -1: invalid number of lines
head: -1: invalid number of lines
head: -1: invalid number of lines
best regards
/Patrik - super_poussinVirtuoso1) can you post the content of your settings.json and explain with which tool you open it ?
2) did you edit the scripts to add your transmission admin password (same as the one you put in settings.json)
better transmission start/stop script
you have now 2 script you need to modify to start/stop transmission properly (torrents are stopped and restart in the last state after a reboot for example)
scripts are in /c/addons-config/Transmission/ :
transtart.sh
transtop.sh
you can also replace your settings.json with
{
"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,
"blocklist-enabled": true,
"cache-size-mb": 2048,
"dht-enabled": true,
"download-dir": "\/c\/media\/BitTorrent",
"encryption": 1,
"incomplete-dir": "\/c\/media/BitTorrent\/Incomplete",
"incomplete-dir-enabled": true,
"lazy-bitfield-enabled": true,
"max-peers-global": 200,
"message-level": 1,
"open-file-limit": 32,
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 51413,
"peer-port-random-enabled": 0,
"peer-port-random-high": 65535,
"peer-port-random-low": 1024,
"peer-port-random-on-start": false,
"peer-socket-tos": 0,
"pex-enabled": 1,
"pidfile": "/var/run/transmission-daemon.pid",
"port-forwarding-enabled": true,
"preallocation": 2,
"proxy": "",
"proxy-auth-enabled": false,
"proxy-auth-password": "",
"proxy-auth-username": "",
"proxy-enabled": false,
"proxy-port": 80,
"proxy-type": 0,
"ratio-limit": "2.000000",
"ratio-limit-enabled": true,
"rename-partial-files": true,
"rpc-authentication-required": false,
"rpc-enabled": true,
"rpc-password": "password1",
"rpc-port": 8181,
"rpc-username": "admin",
"rpc-whitelist": "*",
"rpc-whitelist-enabled": true,
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "\/c\/addons-config\/Transmission\/email_alert",
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 10,
"speed-limit-up-enabled": true,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 0,
"upload-limit": 100,
"upload-limit-enabled": 0,
"upload-slots-per-torrent": 14,
"watch-dir": "\/c\/media\/BitTorrent\/sources\/",
"watch-dir-enabled": 1
} - Putte1Aspirant
can you post the content of your settings.json and explain with which tool you open it ?
I use Putty and I did copy your settings.json and I use nano to edit the file. Here you can see I have added the standard username and password, changed it as it was encrypted.
in putty I try to stop the Transmission with ./transtop.sh or sh transtop.sh I still get same error.
In the scripts, there is already added the admin/password1 or I have to edit more in here?
{
"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": true,
"cache-size-mb": 2048,
"dht-enabled": true,
"download-dir": "/media/BitTorrent/",
"encryption": 1,
"incomplete-dir": "/c/media/BitTorrent/Incomplete",
"incomplete-dir-enabled": true,
"lazy-bitfield-enabled": true,
"lpd-enabled": false,
"max-peers-global": 200,
"message-level": 2,
"open-file-limit": 32,
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 51413,
"peer-port-random-enabled": 0,
"peer-port-random-high": 65535,
"peer-port-random-low": 1024,
"peer-port-random-on-start": false,
"peer-socket-tos": 0,
"pex-enabled": true,
"pidfile": "/var/run/transmission-daemon.pid",
"port-forwarding-enabled": true,
"preallocation": 1,
"proxy": "",
"proxy-auth-enabled": false,
"proxy-auth-password": "",
"proxy-auth-username": "",
"proxy-enabled": false,
"proxy-port": 80,
"proxy-type": 0,
"ratio-limit": 2.0000,
"ratio-limit-enabled": true,
"rename-partial-files": true,
"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "password1",
"rpc-port": 8181,
"rpc-username": "admin",
"rpc-whitelist": "*",
"rpc-whitelist-enabled": true,
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/c/addons-config/Transmission/email_alert",
"speed-limit-down": 400,
"speed-limit-down-enabled": false,
"speed-limit-up": 5,
"speed-limit-up-enabled": true,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 0,
"upload-limit": 100,
"upload-limit-enabled": 0,
"upload-slots-per-torrent": 14,
"watch-dir": "/c/media/BitTorrent/sources/",
"watch-dir-enabled": 0
}
This is from the transtop.sh
#!/bin/sh
# *************
# transmission stop by super-poussin
# *************
# Variables
#
# Path to transmission-remote
REMOTE="/usr/local/bin/transmission-remote"
# Options to be passed to transmission-remote
TRANSOPT=" localhost:8181 -n admin:password1"
# *************
# Stop torrents
SEED="$($REMOTE $TRANSOPT -l | tail -n +2 | head -n -1 | grep Seeding |awk '{ p$
echo $SEED > /c/addons-config/Transmission/seeding.txt
RUNING="$($REMOTE $TRANSOPT -l | tail -n +2 | head -n -1 | grep Downloading |aw$
echo $RUNING > /c/addons-config/Transmission/downloading.txt
IDDLE="$($REMOTE $TRANSOPT -l | tail -n +2 | head -n -1 | grep Idle |awk '{ pri$
echo $IDDLE > /c/addons-config/Transmission/idle.txt
LIST="$($REMOTE $TRANSOPT -l | tail -n +2 | head -n -1 | awk '{ print $1; }' | $
for ID in $LIST; do
$REMOTE $TRANSOPT --torrent $ID --stop > /dev/null
done
chmod 777 /c/addons-config/Transmission/*.txt
This is from transtart.sh#!/bin/sh
# *************
# transmission stop by super-poussin
# *************
# Variables
#
# Path to transmission-remote
REMOTE="/usr/local/bin/transmission-remote"
# Options to be passed to transmission-remote
TRANSOPT=" localhost:8181 -n admin:password1"
# *************
LIST=`cat /c/addons-config/Transmission/seeding.txt`
for ID in $LIST; do
$REMOTE $TRANSOPT --torrent $ID --start > /dev/null
done
LIST=`cat /c/addons-config/Transmission/downloading.txt`
for ID in $LIST; do
$REMOTE $TRANSOPT --torrent $ID --start > /dev/null
done
LIST=`cat /c/addons-config/Transmission/idle.txt`
for ID in $LIST; do
$REMOTE $TRANSOPT --torrent $ID --start > /dev/null
done
/Patrik - delhuxAspirantI am experiencing the exact same set of issues that Putte has described here.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!