Hi javoxo,
I noticed that your cp -r "/ transmission-daemon / torrent" ".config / transmission-daemon / torrent" command has spaces before and after slashes, this is incorrrect.
Should be: cp -r "var/lib/transmission/transmission-daemon/torrent" "/var/lib/transmission/.config/transmission-daemon/torrent"
Please make sure that the directories exist.
chmod -R 775 /var/lib/transmission/.config/transmission-daemon/torrent
chmod -R 777 /var/lib/transmission/.config/transmission-daemon/torrent
but I can not copy so be a file in this address that I am doing wrong? See changes above.
This may be easier, here's the instructions that I use to setup transmission:
Install transmission instructions:
sudo pacman -S transmission-cli
Update config file
su root (cannot use sudo to change directories)
cd /var/lib/transmission/.config/transmission-daemon/
if the path is missing folders then create the folders
Edit/create the settings.json file as root
Note: transmission cannot be running or the changes will not be saved properly
systemctl stop transmission
nano /var/lib/transmission/.config/transmission-daemon/settings.json
- See a copy of my settings.json file at the end of this document
- Change the directories to your directories.
- Note the umask entry is also changed, this is important and will impact the permissions when the file is saved.
"umask": 2,
- Add watchlist entries
"watch-dir": "/mnt/share/Torrents",
"watch-dir-enabled": true
- Save file
Update owner and permissions on all files and directories as root per the following:
cd /var/lib/transmission
make sure the folders are owned by transmission:
chown -R transmission:transmission *
set the file access right:
chmod -R 750 *
Create/update the download, temp and torrent directories
Note: all of my folders are on an unsecured network drive with 777 permissions.
mkdir /mnt/share/Downloads
chmod 777 /mnt/share/Downloads
mkdir /mnt/share/Temp
chmod 777 /mnt/share/Temp
mkdir /mnt/share/Torrent
chmod 777 /mnt/share/Torrent
Start Transmission
sudo systemctl start transmission
Check status
sudo systemctl status transmission
Setup Transmission for auto start
sudo systemctl enable transmission
Use Transmission
open browser to
http://ip_of_transmission_server:9091/transmission/web/change the ip address to the address of the device where transmission is running
OK, everything should work.
settings.json:
{
"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": true,
"download-dir": "/mnt/share/Downloads",
"download-limit": 100,
"download-limit-enabled": false,
"download-queue-enabled": true,
"download-queue-size": 5,
"encryption": 1,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": true,
"incomplete-dir": "/mnt/share/Temp",
"incomplete-dir-enabled": true,
"lpd-enabled": false,
"message-level": 1,
"peer-congestion-algorithm": "",
"peer-id-ttl-hours": 6,
"peer-limit-global": 200,
"peer-limit-per-torrent": 50,
"peer-port": 51413,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": "default",
"pex-enabled": true,
"port-forwarding-enabled": true,
"preallocation": 1,
"prefetch-enabled": true,
"queue-stalled-enabled": true,
"queue-stalled-minutes": 30,
"ratio-limit": 1,
"ratio-limit-enabled": true,
"rename-partial-files": true,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-host-whitelist": "",
"rpc-host-whitelist-enabled": true,
"rpc-password": "{3b1fe165d9e2426d10bd4e08abc6b7438dc27c1eOJSFS9N9",
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "transmission",
"rpc-whitelist": "127.0.0.1,192.168.1.*",
"rpc-whitelist-enabled": false,
"scrape-paused-torrents-enabled": true,
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
"seed-queue-enabled": false,
"seed-queue-size": 10,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 250,
"speed-limit-up-enabled": true,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 2,
"upload-slots-per-torrent": 14,
"utp-enabled": true,
"watch-dir": "/mnt/share/Torrents",
"watch-dir-enabled": true
}