After installing transmission-daemon on the new Pi, I found a configuration file located:
/etc/transmission-daemon/settings.json
Now I first tested transmission and it worked fine with the default pointers to the save destination of
/var/lib/transmission-daemon/downloads
/var/lib/transmission-daemon/incomplete
I changed these two in /etc/transmission-daemon/settings.json to instead point to my OMV share image from the old OpenWRT transmission implementation:
/srv/dev-disk-by-id-usb-ST5000DM_000-xxxxxx-xxxxxxxx-7-0-0-part2/incomplete
/srv/dev-disk-by-id-usb-ST5000DM_000-xxxxxx-xxxxxxxx-7-0-0-part2/downloads
And this seems to work fine for new downloads to these shared folders.
Now my old OpenWRT implementation left a directory on the shared USB drive (previously using transmission from openwrt) with the separate directory simply named /transmission and it is located on the new Pi shared drive at:
/srv/dev-disk-by-id-usb-ST5000DM_000-xxxxxx-xxxxxxxx-7-0-0-part2/transmission
It contains sub-directories named blocklists, resume, torents, and a file dht.dat
I assume that this old directory from openwrt, described above and the /transmission directory somehow holds the information which would o allowing the new transmission pick up where the old one left off, but I am unable to make this happen.
Now to the best of my ability, I've discovered a directory on the Pi that appears to be a similar repository for the Pi environment, somewhat mimicking the old file structure from Openwrt, which is currently stored on my share in the /transmission directory.
This Pi version of the download directory is located on the SD card (as opposed to my old Openwrt HD). Pi by default keeps those similar control files that OpenWRT held in the /transmission directly only with Pi they are located at /var/lib/transmission-daemon/info
Sub-directories under the /info include blocklists, resume, torrents, and files dht.dat, and settings.json (which appears a copy of /etc/transmission-daemon/settings.json
Now the only place I can see this profile location pointer where it is named as /var/lib/transmission-daemon/info, is it is referred to in in file:
/etc/default/transmission-daemon which contains several lines including
Code: Select all
# defaults for transmission-daemon
# sourced by /etc/init.d/transmission-daemon
# Change to 0 to disable daemon
ENABLE_DAEMON=1
# This directory stores some runtime information, like torrent files
# and links to the config file, which itself can be found in
# /etc/transmission-daemon/settings.json
CONFIG_DIR="/var/lib/transmission-daemon/info"
# Default options for daemon, see transmission-daemon(1) for more options
OPTIONS="--config-dir $CONFIG_DIR"
# (optional) extra options to start-stop-daemon
#START_STOP_OPTIONS="--iosched idle --nicelevel 10"
From: CONFIG_DIR="/var/lib/transmission-daemon/info"
To: CONFIG_DIR="/srv/d/srv/dev-disk-by-id-usb-ST5000DM_000-xxxxxx-xxxxxxxx-7-0-0-part2"
The issue is with this pointing to the /transmission directory or share of the old OpenWRT implementation, the previous paused torrents are not loaded.
I have read these and I don't see how I might figure this out from the limited documentation. Any ideas???
Reference:
[Reference:
https://linux.die.net/man/1/transmission-daemon