Cannot set custom Download folder for Transmission and two UDP errors when starting Transmission

Mannekino

Patron
Joined
Nov 14, 2012
Messages
332
Does the user under which Transmission is running have proper access right to that folder?

What does it say currently for "download-dir" in your settings.json file? The settings.json file should be somewhere in /usr/local/etc/transmission/ if you haven't changed your config dir.
 

Erick Krigsvold

Dabbler
Joined
Jan 12, 2014
Messages
11
root@transmission:~ # cat /etc/rc.conf
ifconfig_epair0b="DHCP"
hostname="transmission"
cron_flags="$cron_flags -J 15"

# Disable Sendmail by default
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"

# Run secure syslog
syslogd_flags="-c -ss"

# Enable IPv6
ipv6_activate_all_interfaces="YES"
transmission_enable="YES"
transmission_download_dir="/mnt/krigsvolds/Media/Downloads"
openvpn_enable="YES"
openvpn_configfile="/usr/local/etc/openvpn/openvpn.conf"
root@transmission:~ #
Provide the output of your your rc.conf using command cat /etc/rc.conf | grep transmission
 

Erick Krigsvold

Dabbler
Joined
Jan 12, 2014
Messages
11
Does the user under which Transmission is running have proper access right to that folder?

What does it say currently for "download-dir" in your settings.json file? The settings.json file should be somewhere in /usr/local/etc/transmission/ if you haven't changed your config dir.
"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/krigsvolds/Media/Downloads",

"download-queue-enabled": true,

"download-queue-size": 5

"encryption": 1,

"idle-seeding-limit": 30,

"idle-seeding-limit-enabled": false,

"incomplete-dir": "//Downloads",

"incomplete-dir-enabled": false,

"lpd-enabled": false,

"message-level": 2,

"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,

"pidfile": "/var/run/transmission/daemon.pid",

"port-forwarding-enabled": true,

"preallocation": 1,

"prefetch-enabled": true,

"queue-stalled-enabled": true,

"queue-stalled-minutes": 30,

"ratio-limit": 0,

"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": "{e8e8e9317a398ba42ed3f253f5079768363a57c7H1ZA4PYu",

"rpc-port": 9091,

"rpc-url": "/transmission/",
 

Mannekino

Patron
Joined
Nov 14, 2012
Messages
332
Looks like it inherited the correct setting from your rc.conf file. I got no other ideas except for maybe somekind of permission issue. The downloaded file are not showing up anywhere else?
 

Erick Krigsvold

Dabbler
Joined
Jan 12, 2014
Messages
11
I have all of my permissions set to allow read/write and I don't know where the files are downloading to. The Transmission setting are saying th location is my mount post source bu they are definitely not there. I have openvpn set up in the same jail so maybe something is going on there. I got too used to the warden jails i guess, i started having a ton of problems after updating...
 

Nvious1

Explorer
Joined
Jul 12, 2018
Messages
67
I think it might be a permissions issue as well. What you could try is to update the shell of the UID transmission is running as to allow a zsh shell then switch over to that user and try to access the mount and check that you can write files to that folder.
 

Erick Krigsvold

Dabbler
Joined
Jan 12, 2014
Messages
11
I thought i had this all worked out but if started being weird again. I figured out where my files are going just not sure how or why( I am very novice)
"/mnt/Media2/iocage/jails/transmission/root/mnt/Media2/N2/Plex/Transmission" is where all of my files are going...what did i do wrong here?
 

oldfart

Cadet
Joined
Aug 25, 2019
Messages
4
FreeNAS-11.2-U5

Code:
/usr/local/etc/rc.d/transmission: No such file or directory
/usr/local/etc/transmission/settings.json: No such file or directory

service transmission stop (done from Jail GUI)
because
service transmission stop
transmission does not exist in /etc/rc.d or the local startup

sysrc transmission_download_dir="/mnt/fNASPool/DataSet1/downloads/"
service transmission start (done from Jail GUI)

cat /etc/rc.conf | grep transmission
transmission_download_dir="/mnt/fNASPool/DataSet1/downloads/"
transmission_incomplete_dir="/mnt/fNASPool/DataSet1/downloads/"

from transmission GUI
download to:
/usr/local/etc/transmission/home/Downloads

so, none of the above worked for me.
 

oldfart

Cadet
Joined
Aug 25, 2019
Messages
4
stopped Transmission from jail gui
edited /mnt/fNASPool/iocage/jails/transmission/root/usr/local/etc/transmission/home/settings.json
started Transmission

reverted back to:
"download-dir": "/usr/local/etc/transmission/home/Downloads"
 
Joined
Oct 22, 2019
Messages
3,579
* Make sure the transmission user (or the custom user running the transmission daemon) has read/execute/write permissions for your desired custom folder. (Double check the UID/GID permissions for the Mount Points that link your FreeNAS directory/dataset to the jail's download directory.

The transmission service reads some options from the /etc/rc.conf file.

Here is what I did to fix this issue in the meantime, until the plugin maintainers fix the web interface:

First make sure the jail is started:
Jails > transmission > three dots (...) > Start

Then open up a shell inside the jail:
Jails > transmission > three dots (...) > Shell

Stop the transmission service before making any changes:
Code:
service transmission stop


Add an entry to /etc/rc.conf for your custom download folder, such as /media/download (or the path you desire). Note the single quotation marks:
Code:
sysrc 'transmission_download_dir=/media/download'


Verify the changes in /etc/rc.conf:
Code:
cat /etc/rc.conf


Start the transmission service again:
Code:
service transmission start


Log in to the Transmission web interface and check that your custom download folder is correctly set.
 
Top