I tried some stuff again and came up with a super simple guide.
Assuming the dataset you want to use for downloads it the 'media' dataset is owned by a group named 'media' with group ID 2000
Assuming you are only installing the no-gtk version in the jail, so you are going to use the GTK client and/or the web version.
- Create the jail (and add the 'media' dataset as storage, mounted at /mnt/media), and in that jail, do this:
- pkg update
- pkg upgrade
- pkg install deluge-cli
- pw useradd -n deluge -u 1001 -c "Deluge BitTorrent Client" -s /sbin/nologin -w no
- echo 'deluged_enable="YES"' >> /etc/rc.conf
- echo 'deluged_user="deluge"' >> /etc/rc.conf
- mkdir -p /home/deluge/.config/deluge
- chown -R deluge:deluge /home/deluge/
- ee /etc/group
- in that file, add or modify the line to make the deluge user member of the media group:
- media:*:2000:deluge
- [Esc], [a], [a] to save and close the file
- /usr/local/etc/rc.d/deluged start
- /usr/local/etc/rc.d/deluged stop
- If you want to use the gtk-client:
- ee /home/deluge/.config/deluge/core.conf
- in that file, change the line:
- “allow_remote”: true
- [Esc], [a], [a] to save and close the file
- echo "[username]:[password]:10" >> /home/deluge/.config/deluge/auth
(of course replace [username] and [password] with your credentials.
- chmod 555 /home/deluge/.config/deluge/auth
- If you want to use the web version:
- echo 'deluge-web_enable="YES"' >> /etc/rc.conf
- /usr/local/etc/rc.d/deluged start
That's it. Everything is working again :)
Connect with your Deluge gtk client application to hostname <your jail ip>, port 58846, and your user credentials
Or if you use the web version: Go with your web browser to:
http://<your jail ip>:8112 (default pw is "deluge" without the quotes)