Migration Guide
Move a Transmission 3 or 4 configuration and its existing downloads with the import wizard, then use the legacy-variable map when the old setup came from the legacy scriptThe old Synology script this Docker image replaces.
What Changed
- The legacy scriptThe old Synology script this Docker image replaces ran on Synology DSM, connected a VPN profile defined in DSM, and changed the bind address of the Synology Transmission package.
- The Docker image runs its own Transmission, OpenVPN, and WireGuardThe VPN protocol that signs in with a key, not a password, so it doesn't use DSM's VPN client or the Synology Transmission package.
- OpenVPN and WireGuard are the only supported protocols, so L2TP and PPTP connections can't move over.
- VPN connections still need to be set up in the web interface, while the import wizard can bring over supported Transmission settings, folders, and torrents.
The last release of the legacy scriptThe old Synology script this Docker image replaces is tagged v1.3.2 in the GitHub repository.
Legacy Variables
| Legacy variable | In the Docker image |
|---|---|
VPN_CONFID, VPN_CONFNAME, VPN_PROTO, VPN_UINAME | Not used. Choose a provider or upload a custom profileYour own .ovpn or .conf file for any VPN service on the VPN page instead. |
VPN_TYPE, VPN_INTERFACE | Not used. Each connection's slot sets its interface, tun<slot> for OpenVPN or wg<slot> for WireGuard. |
VPN_RETRY, VPN_INTERVAL | Not used. After the tunnel drops, reconnects continue without a limit, with a retry intervalHow long to wait between reconnect rounds of 10 seconds. |
PORT_FWD | No equivalent. The old check only tested whether a port was open, and the image doesn't set up port forwardingInbound ports for peers; this image never opens them. |
IP_CHECK | No equivalent. Fixed tunnel verificationProof the tunnel works before any torrent can use it checks run on every connect. |
TRANS_USER, TRANS_GROUP | PUIDWhich user owns your downloads on the host and PGIDWhich user owns your downloads on the host, which set the account that runs Transmission. |
TRANS_VAR | Not used. Each connection's Transmission settings live under /config/transmission/<connection-id> and are rebuilt at every start. |
Move from Another Transmission
Mount the old Transmission config folder read-only at /import, and mount its download folders under /data so the wizard can map them without copying the data:
services:
app:
volumes:
- /path/to/old/config:/import:ro
- /path/to/downloads:/data/downloads
- Stop the old Transmission so its
settings.json,torrents, andresumefiles stay consistent while they are read. - Set
PUIDWhich user owns your downloads on the host andPGIDWhich user owns your downloads on the host to an account that can write to the mounted download folders, using IDs from 1 to 60000. - Add and test a default VPN connection, as covered in Connect to a VPN.
- Open Settings, find Backup, select Import…, and choose Another Transmission.
- Use
/importas the Config folder, map every old folder to its location under/data, and review the generated profiles and supported settings. - Select Import in Review. Every torrent is added paused. One whose data is found is re-checked and returned to its saved paused or running state; one whose data is not found stays paused as Data missing.
The old default download folder becomes the Default profileWhere torrents go when no named profile matches's folder. Other download folders and any included empty sibling folders become named profilesDecides a torrent's folder and which VPN it uses, and the old incomplete folder carries over separately.
Export and Import covers every wizard step, the supported settings, and the Not brought over list.
What the Legacy Script Doesn't Carry Over
- DSM VPN profiles — Upload the
.ovpnfile as a custom profileYour own .ovpn or .conf file for any VPN service or pick a built-in provider. - Task Scheduler jobs — Jobs that ran the script's
start,stop, orrepaircommands aren't needed, because s6-overlayStarts the firewall first and keeps every service running supervises the services inside the container.