Transmission: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
apt-get install ca-certificates libcurl4-openssl-dev libssl-dev pkg-config build-essential checkinstall | apt-get install ca-certificates libcurl4-openssl-dev libssl-dev pkg-config build-essential checkinstall | ||
make | |||
DONT forget to uninstall the old one if you have it installed!!!!!! | |||
sudo make install | |||
but when you try to systemctl start it you get an error so.... | |||
sudo systemctl unmask transmission-daemon.service | |||
now it works | |||
here is a working systemd service file | |||
<code>[Unit] | |||
Description=transmission-daemon | |||
After=network.target | |||
[Service] | |||
User=debian-transmission | |||
ExecStart=/usr/local/bin/transmission-daemon -f --log-error | |||
[Install] | |||
WantedBy=multi-user.target | |||
</code> | |||
===create a torrent file=== | |||
I had some frustration trying to create a torrent for magnet distribution, and get it seamlessly integrated into the other torrents. | |||
Eventually, I found the following fudge: | |||
0) Put your files in your main torrent output directory. | |||
1) Create the torrent file: | |||
--> transmission-create NEWTORRENT -t udp://tracker.example.com:80 | |||
This creates the .torrent in the same directory you are in. | |||
2) Download it to a PC | |||
3) Upload it back into the Transmission web interface. | |||
From that point, Transmission will start to download the torrent, and find it already has it, and start verifying the data for real, and create a proper torrent file with hash in the name, in /var/lib/transmission/torrents | |||
https://forum.transmissionbt.com/viewtopic.php?t=7455 | |||
===Finished torrents wont seed after restart?=== | |||
put this in crontab or somewhere: | |||
@reboot sleep 300; transmission-remote -t all --start |
Latest revision as of 01:28, 4 November 2018
sudo apt-get install transmission-daemon
sudo systemctl stop transmission-daemon
sudo nano /etc/transmission-daemon/settings.json
install from source for latest version:
wget https://github.com/transmission/transmission-releases/raw/master/transmission-2.94.tar.xz
sudo apt-get install build-essential automake autoconf libtool pkg-config intltool libcurl4-openssl-dev libglib2.0-dev libevent-dev libminiupnpc-dev libgtk-3-dev libappindicator3-dev
tar xf transmission-2.94.tar.xz
cd transmission-2.94/
./configure
errors out fixed with this:
apt-get install ca-certificates libcurl4-openssl-dev libssl-dev pkg-config build-essential checkinstall
make
DONT forget to uninstall the old one if you have it installed!!!!!!
sudo make install
but when you try to systemctl start it you get an error so....
sudo systemctl unmask transmission-daemon.service
now it works
here is a working systemd service file
[Unit]
Description=transmission-daemon
After=network.target
[Service]
User=debian-transmission
ExecStart=/usr/local/bin/transmission-daemon -f --log-error
[Install]
WantedBy=multi-user.target
create a torrent file
I had some frustration trying to create a torrent for magnet distribution, and get it seamlessly integrated into the other torrents.
Eventually, I found the following fudge:
0) Put your files in your main torrent output directory. 1) Create the torrent file: --> transmission-create NEWTORRENT -t udp://tracker.example.com:80
This creates the .torrent in the same directory you are in.
2) Download it to a PC 3) Upload it back into the Transmission web interface.
From that point, Transmission will start to download the torrent, and find it already has it, and start verifying the data for real, and create a proper torrent file with hash in the name, in /var/lib/transmission/torrents
https://forum.transmissionbt.com/viewtopic.php?t=7455
Finished torrents wont seed after restart?
put this in crontab or somewhere:
@reboot sleep 300; transmission-remote -t all --start