Article

  • 8 years

    2 years

    YetiShare / Core

    9627

Torrent Plugin - Transmission Useful Information

If you can't access the web interface you likely have firewall restrictions in place. If you're using iptables unblock the port using the following SSH commands (assumes port 9091):

iptables -t filter -A INPUT -p tcp --dport 9091 -j ACCEPT
iptables -t filter -A INPUT -p udp --dport 9091 -j ACCEPT
iptables -t filter -A INPUT -p tcp --dport 51413 -j ACCEPT
iptables -t filter -A INPUT -p udp --dport 51413 -j ACCEPT
iptables-save > /etc/sysconfig/iptables.save

or on Ubuntu:

apt-get install iptables-persistent
iptables -t filter -A INPUT -p tcp --dport 9091 -j ACCEPT
iptables -t filter -A INPUT -p udp --dport 9091 -j ACCEPT
iptables -t filter -A INPUT -p tcp --dport 51413 -j ACCEPT
iptables -t filter -A INPUT -p udp --dport 51413 -j ACCEPT
iptables-save > /etc/iptables/rules.v4

"Permission Denied" Issues

This is a permission issue based on the user ID that is running Transmission. Transmission sets up a default user that you might not expect on first install. The user name is transmission.

You can it:

  1. Stop the Transmission daemon service transmission-daemon stop
  2. Open the Transmission config file for editing: nano /etc/init.d/transmission-daemon
    1. This may instead be in /usr/lib/systemd/system/transmission-daemon.service
    2. Or /lib/systemd/system/transmission-daemon.service
  3. Find the line that says USER=transmission and change it to the user that owns the folder in question. If you are not concerned about security issues, you can also use USER=root in this file. (Not advised, but good for troubleshooting).
  4. Start the Transmission daemon service transmission-daemon start

NOTE: After making changes to the user the service runs as, you may get "403: Forbidden  Unauthorized IP Address.", you will need to re-apply the changes to the settings.json. The path to this may be different if it's running as another user.

updatedb
locate settings.json
You'll see a new settings.json file, make the config changes as per the plugin settings to this file. Ensure you stop the transmission service before any changes.


Magnet Links Within Transmission Stuck With "Magnetized Transfer - Retrieving Metadata 0%"

Test the "seeding" port by using:

transmission-remote --port-test

If the output says "No", and you are behind NAT, then you have to map the port; otherwise you probably have to open the port at your firewall, and use a fixed port, not the default that is a random port number.

The port to open is 51413. ("peer-port": 51413)

iptables -t filter -A INPUT -p tcp --dport 51413 -j ACCEPT
iptables -t filter -A INPUT -p udp --dport 51413 -j ACCEPT
iptables-save > /etc/sysconfig/iptables.save


"service transmission-daemon start" Error

If you see the following:

Failed to get properties: Unit name [email protected] is neither a valid invocation ID nor unit name.
Failed to get properties: Unit name [email protected] is neither a valid invocation ID nor unit name.

Make sure you start/stop using systemctl, like this:

systemctl start transmission-daemon

systemctl stop transmission-daemon


Repo Issues

If you have errors when installing via yum (broken dependancies or repos), try the following fix:

sudo yum clean all; sudo yum update -y --skip-broken
yum -y install transmission transmission-daemon


Install From Source

If you're having issues installing transmission using a repo, you can use the following to install from source:

https://www.ndchost.com/wiki/install-transmissionbt-centos6