Skip to main content

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 script.

What Changed

  • The legacy script 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 WireGuard, 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 script is tagged v1.3.2 in the GitHub repository.

Legacy Variables

Legacy variableIn the Docker image
VPN_CONFID, VPN_CONFNAME, VPN_PROTO, VPN_UINAMENot used. Choose a provider or upload a custom profile on the VPN page instead.
VPN_TYPE, VPN_INTERFACENot used. Each connection's slot sets its interface, tun<slot> for OpenVPN or wg<slot> for WireGuard.
VPN_RETRY, VPN_INTERVALNot used. After the tunnel drops, reconnects continue without a limit, with a retry interval of 10 seconds.
PORT_FWDNo equivalent. The old check only tested whether a port was open, and the image doesn't set up port forwarding.
IP_CHECKNo equivalent. Fixed tunnel verification checks run on every connect.
TRANS_USER, TRANS_GROUPPUID and PGID, which set the account that runs Transmission.
TRANS_VARNot 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:

compose.override.yml
yaml
services:
  app:
    volumes:
      - /path/to/old/config:/import:ro
      - /path/to/downloads:/data/downloads
  1. Stop the old Transmission so its settings.json, torrents, and resume files stay consistent while they are read.
  2. Set PUID and PGID to an account that can write to the mounted download folders, using IDs from 1 to 60000.
  3. Add and test a default VPN connection, as covered in Connect to a VPN.
  4. Open Settings, find Backup, select Import…, and choose Another Transmission.
  5. Use /import as the Config folder, map every old folder to its location under /data, and review the generated profiles and supported settings.
  6. 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 profile's folder. Other download folders and any included empty sibling folders become named profiles, 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