Multi-user Transmission server setup

Discussion of Transmission that doesn't fit in the other categories
Post Reply
flying_sausages
Posts: 2
Joined: Sun May 03, 2020 2:25 am

Multi-user Transmission server setup

Post by flying_sausages »

So I've been contributing to the swizzin seedbox toolset and we successfully set this up. You can find the project here.
https://github.com/liaralabs/swizzin.

To install this, just run the setup script, choose transmission, and then create your users. you can read the docs on how to make the install a bit more customised here https://docs.swizzin.ltd/applications/transmission I like a different default download directory, and by setting one variable you can change that behaviour. As long as the variable is set, it will apply.

The users' sessions will be on RPC 9091 for the first user, and incremented by one for each next user. If the nginx module is installed together with the box setup, all users can log in using their credentials over the "https://<domain.tld>/transmission" address and the basic auth will redirect them to their instance based off the username.

I never found a proper short walk-through on how to do this, so here's a little breakdown on what needs to be done.

- Disable default service, maybe remove the default user
- Make a systemd service for each user, or use the `@` parameter syntax https://github.com/liaralabs/swizzin/bl ... sion.sh#L9
- Create a valid ~/.config/transmission-daemon/settings.json file for each user with unique ports https://github.com/liaralabs/swizzin/bl ... ion.sh#L64 (make sure you're replacing the variable values)
- Create the required directories (default-dir and session, blacklist and torrents under the ~/.config/transmission-daemon) https://github.com/liaralabs/swizzin/bl ... ion.sh#L35

I hope this helps whoever wants to set this up in the future. I googled for two days to get this working right.
Post Reply