× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

New Transmission add-on thread

losgatos_mark
Aspirant

Re: New Transmission add-on thread

Thanks Gothi - that did the trick.

- mark
Message 126 of 921
super_poussin
Virtuoso

Re: New Transmission add-on thread

gothi wrote:
losgatos_mark wrote:


but when I try to use:

https://192.168.3.46/transmission/web/

that was working before the upgrade, I get the user/pwd box and my (same) user / pwd is not accepted...

any clue?
can I roll back to 1.93 for my NVX??


No need to roll back, it's simply that the new Torrent creation super-poussin added is conflicting with the "securely access anywhere" hack, they both use the alias "Transmission" in Apache.

The easiest fix is to SSH in and edit /etc/frontview/apache/addons/transmissionweb.conf

original (doesn't work with "securely access anywhere" hack):

Alias "/transmission" "/c/webroot/transmission"
<Location "/transmission">
Options Indexes
Order allow,deny
Allow from all
Require user admin
AuthType Basic
AuthName "Transmission"
</Location>

modified (DOES work with "securely access anywhere" hack):

Alias "/createtorrent" "/c/webroot/transmission"
<Location "/createtorrent">
Options Indexes
Order allow,deny
Allow from all
Require user admin
AuthType Basic
AuthName "Torrent creation GUI"
</Location>


After changing the contents of the file save it and restart your Readynas (or restart Apache). Once it's back up and running you should once again be able to access the web interface over HTTPS and the torrent creation gui can now be accessed by going to http://yourNAS/createtorrent/

super-poussin, any chance you could use a different alias for the torrent creation gui? Something like http://yourNAS/createtorrent/ or http://yourNAS/ctransmission/ ?

[edit]
Incidently the username/password required by the torrent creation gui is the same as you use to access the Readynas Frontview admin interface not the username/password you use to access the Transmission web interface.


will do in next version 🙂
Message 127 of 921
shadow75
Aspirant

Re: New Transmission add-on thread

Hi all, I have some Transmission version discrepancy, and just wondering if this is normal.
On the ReadyNAS frontview, it shows Transmission as v2.01, but when you look under preferences of the Transmission web interface, is shows up as 2.00+ (10809).
Any thoughts?

Thanks,
Glenn
Message 128 of 921
super_poussin
Virtuoso

Re: New Transmission add-on thread

they perhaps forget to change the build , let me check when back at home
Message 129 of 921
veehexx
Aspirant

Re: New Transmission add-on thread

shadow75 wrote:
Hi all, I have some Transmission version discrepancy, and just wondering if this is normal.
On the ReadyNAS frontview, it shows Transmission as v2.01, but when you look under preferences of the Transmission web interface, is shows up as 2.00+ (10809).
Any thoughts?

Thanks,
Glenn


same as me. (running 2.01 final)
Message 130 of 921
super_poussin
Virtuoso

Re: New Transmission add-on thread

will republish the 2.01 today
Message 131 of 921
super_poussin
Virtuoso

Re: New Transmission add-on thread

2.01 for Sparc corrected you can download it 😎

I change the url for torrent creation to http://nas@ip/ctransmission (button in frontview added )
Message 132 of 921
delhux
Aspirant

Re: New Transmission add-on thread

I 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
Message 133 of 921
super_poussin
Virtuoso

New Transmission add-on thread

Did you Check the password in the 2 startup script as described in the official post ?
Message 134 of 921
delhux
Aspirant

Re: New Transmission add-on thread

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.
Message 135 of 921
super_poussin
Virtuoso

Re: New Transmission add-on thread

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


Message 136 of 921
piston_broke
Aspirant

Re: New Transmission add-on thread

Hi

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
Message 137 of 921
Putte1
Aspirant

Re: New Transmission add-on thread

Hi 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
Message 138 of 921
super_poussin
Virtuoso

Re: New Transmission add-on thread

1) 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
}

Message 139 of 921
Putte1
Aspirant

Re: New Transmission add-on thread

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
Message 140 of 921
delhux
Aspirant

Re: New Transmission add-on thread

I am experiencing the exact same set of issues that Putte has described here.
Message 141 of 921
delhux
Aspirant

Re: New Transmission add-on thread

Can someone tell me where I can edit the text displayed by the whitelist 403 page?
Message 142 of 921
cip74cool
Aspirant

Re: New Transmission add-on thread

I am experiencing the same problem of being unable to stop (GUI or command line) or remove (GUI) Transmission.

Note: I installed Transmission 2.01 on top of a disabled (stopped) Transmission 2.00 installation.

netgearNAS:/c/addons-config/Transmission# ./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
Message 143 of 921
cip74cool
Aspirant

Re: New Transmission add-on thread

I've done some debugging and the error is in the line:
IDDLE="$($REMOTE $TRANSOPT -l | tail -n +2 | head -n -1 | grep Idle |awk '{ print $1; }' | awk -F "*" '{ print $1; }')"

and more exactly the "head -n -1" command. Everything until then works (returns the list of torrents still seeding).
Message 144 of 921
cip74cool
Aspirant

Re: New Transmission add-on thread

...but all my torrents show as Status: Stopped anyway. So how exactly do we troubleshoot and get rid of the GUI error? populateDivFromUrl ...
Message 145 of 921
super_poussin
Virtuoso

New Transmission add-on thread

Give me Time to investigate
Message 146 of 921
super_poussin
Virtuoso

Re: New Transmission add-on thread

download 2.01 again it should be solved
Message 147 of 921
super_poussin
Virtuoso

Re: New Transmission add-on thread

cip74cool wrote:
I've done some debugging and the error is in the line:
IDDLE="$($REMOTE $TRANSOPT -l | tail -n +2 | head -n -1 | grep Idle |awk '{ print $1; }' | awk -F "*" '{ print $1; }')"

and more exactly the "head -n -1" command. Everything until then works (returns the list of torrents still seeding).



can you do this for me

1) copy transtop.sh to test.sh

2) edit it

3) remove the loop at the end :


for ID in $LIST; do
$REMOTE $TRANSOPT --torrent $ID --stop > /dev/null
done


4) add this code

$REMOTE $TRANSOPT -l



5) launch test.sh

6) post results or send it by PM
Message 148 of 921
cip74cool
Aspirant

Re: New Transmission add-on thread

I can confirm re-downloading 2.01 and re-installing it solved the GUI problem. I was able to access the Installed Add-ons GUI screen, stop and then re-start Transmission. Thanks a lot for the quick response!
Message 149 of 921
danielvegas1
Aspirant

Re: New Transmission add-on thread

I am still banned from a tracker requiring 2.0.1. The version 2.00 is not allowed. I think it might be a problem with the Transmission-release itself, because under "Preferences" it says 2.00+.
Is this a known issue?

edit: So I had two "transmission-da"-processes in "top" and killed them both, then restarted Transmission via Frontview. Now the version-issue seems to be done with, but the Inspector does not contain the "User"-section anymore.
Weird?!
Message 150 of 921
Announcements