Remove stale torrents failing on docker install

Hello -

I am trying to move my flexget from VM to docker. Its a simple setup with a small rss list from showrss.info and then a task to delete stale torrents.

The task to delete stale torrents works in VM. But gives the following error in Docker.

root@flexget:/# flexget --test execute --task "remove stale torrents" --dump
2020-05-11 09:44:13 INFO     manager                       Test mode, creating a copy from database ...
2020-05-11 09:44:13 INFO     manager                       Test database created
2020-05-11 09:44:13 ERROR    stevedore.extension                 Could not load 'addic7ed': unexpected indent (addic7ed.py, line 234)
2020-05-11 09:44:14 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2020-05-11 09:44:14 INFO     transmission  remove stale torrents Trying to connect to transmission...
2020-05-11 09:44:14 CRITICAL plugin        remove stale torrents Error connecting to transmission: Address not available
2020-05-11 09:44:14 WARNING  task          remove stale torrents Aborting task (plugin: transmission)
2020-05-11 09:44:15 INFO     manager                       Removed test database
root@flexget:/# cat config/config.yml 
tasks:
  showrss:
    rss: http://showrss.info/user/3XXXX2.rss?magnets=true&namespaces=true&name=null&quality=null&re=null
    all_series: yes
    transmission:
      host: 192.168.64.2
      port: 9091
      add_paused: no
    from_transmission:
      host: 192.168.64.2
      port: 9091
  remove stale torrents:
    from_transmission: yes
    disable: [seen, seen_info_hash]
    if:
      - transmission_progress == 100: accept
      - not transmission_seed_ratio_ok: reject
      - not transmission_idle_limit_ok: reject
    transmission:
      action: remove
schedules:
  - tasks: showrss
    interval:
      minutes: 60
  - tasks: remove stale torrents
    schedule:
      minute: 5
root@flexget:/# 
root@flexget:/# pip3 list
Package             Version
------------------- -----------
addic7ed            1.1.5
aniso8601           1.2.1
app-version         1.0.1
appdirs             1.4.4
APScheduler         3.5.0
babelfish           0.5.5
bcrypt              3.1.7
beautifulsoup4      4.8.2
certifi             2017.4.17
cffi                1.13.2
chardet             3.0.3
cheroot             8.2.1
CherryPy            18.4.0
click               6.7
cloudscraper        1.2.36
colorclass          2.2.0
configparser        4.0.2
cryptography        2.8
decorator           4.4.2
dogpile.cache       0.9.2
enzyme              0.4.1
feedparser          5.2.1
Flask               1.0.2
Flask-Compress      1.4.0
Flask-Cors          3.0.2
Flask-Login         0.4.0
Flask-RESTful       0.3.6
flask-restplus      0.10.1
FlexGet             3.1.51
future              0.18.2
fuzzywuzzy          0.18.0
guessit             3.1.0
html5lib            0.999999999
idna                2.8
irc-bot             1.0.35
itsdangerous        0.24
jaraco.functools    2.0
Jinja2              2.10.1
jsonschema          2.6.0
loguru              0.4.1
lxml                4.3.4
MarkupSafe          1.1.1
more-itertools      7.2.0
ndg-httpsclient     0.5.1
notify              0.3.1
paramiko            2.7.1
pbr                 5.4.5
Pillow              7.0.0
pip                 20.1
plumbum             1.6.3
portend             2.6
progressbar         2.5
psutil              5.6.7
pyasn1              0.4.8
pycparser           2.19
PyNaCl              1.3.0
pynzb               0.1.0
pyOpenSSL           19.1.0
pyparsing           2.2.0
PyRSS2Gen           1.1
PySocks             1.7.1
pysrt               1.1.2
python-dateutil     2.6.1
python-Levenshtein  0.12.0
python-libtorrent   1.2.3
python-telegram-bot 12.7
pytz                2017.2
PyYAML              5.1.2
rarfile             3.1
rebulk              2.0.0
requests            2.21.0
requests-toolbelt   0.9.1
rpyc                4.0.1
setuptools          44.0.0
six                 1.13.0
sleekxmpp           1.3.3
soupsieve           1.9.5
SQLAlchemy          1.3.11
stevedore           1.32.0
subliminal          2.1.0
tempora             1.8
termcolor           1.1.0
terminaltables      3.1.0
tornado             6.0.4
transmissionrpc     0.11
tzlocal             1.4
urllib3             1.24.2
validate-email      1.3
virtualenv          16.7.9
webencodings        0.5.1
Werkzeug            0.15.6
zc.lockfile         2.0
zxcvbn-python       4.4.15

root@flexget:/# flexget -V
3.1.51
You are on the latest release.
root@flexget:/# 

This is my docker-compose file. The configuration and passwords are all invalid below -

version: '3'
services:
  dvpn0:
    hostname: dvpn0
    dns: 
      - 1.1.1.1
      - 1.0.0.1
    image: haugene/transmission-openvpn
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun
    environment:
      - PGID=2690
      - PUID=2690
      - CREATE_TUN_DEVICE=true
      - OPENVPN_PROVIDER=TORGUARD
      - OPENVPN_CONFIG=Poland
      - OPENVPN_USERNAME=fwef443443
      - OPENVPN_PASSWORD=fwm42d322f
      - WEBPROXY_ENABLED=true
      - LOCAL_NETWORK=10.0.13.0/24
    logging:
      driver: "json-file"
      options:
        max-size: "10m"
    volumes:
      - ./vpn0/config:/config
      - /data/viper:/data
      - /etc/localtime:/etc/localtime:ro
    ports:
      - 9091:9091
      - 8888:8888
  flexget:
    hostname: flexget
    dns: 
      - 1.1.1.1
      - 1.0.0.1
    image: cpoppema/docker-flexget
    environment:
      - PGID=2690
      - PUID=2690
      - WEB_PASSWD=ve32ef2
      - TORRENT_PLUGIN=transmission
      - TZ=America/New_York
      - FLEXGET_LOG_LEVEL=debug
    logging:
      driver: "json-file"
      options:
        max-size: "10m"
    volumes:
      - ./flexget/config:/config
      - ./flexget/data:/data
      - /etc/localtime:/etc/localtime:ro
    ports:
      - 5050:5050

The install works; It downloads the shows and all. However, the delete task is failing.

Came here because of the same error… almost… save error with addicted plugin.

Turns out I had a volume that was incorrectly mapped…

Are all your mappings correct? Did you remove something?