Quantcast
Channel: help - Forum - FlexGet
Viewing all articles
Browse latest Browse all 837

Wrong Deluge username - How to fix?

$
0
0

@oystein wrote:

Hi,

Flexget and Deluge set up on Ubutnu Server 14.04.4

I use the following config (apologies for the comment mess):

# File with usernames and passwords
secrets: secrets.yml

# Templates
templates:
  global:
    torrent_alive: yes #numer of seeders needed to accept, yes = 1
# Template for downloading TV shows
  deluge-series:
    deluge:
      username: '{{ secrets.deluge.user }}' 
      password: '{{ secrets.deluge.password }}'
      path: /mnt/NAS/Felles/Mediaserver/Downloads/Incomplete
      movedone: /mnt/NAS/Felles/Mediaserver/Serier/{{series_name|pathscrub}}/S{{"%02d"|format(series_season)}}
      #label: tv
      queuetotop: yes
#Template for downloading movies
  deluge-movies:
    deluge:
      username: '{{ secrets.deluge.user }}' 
      password: '{{ secrets.deluge.password }}'
      path: /mnt/NAS/Felles/Mediaserver/Downloads/Incomplete
      movedone: /mnt/NAS/Felles/Mediaserver/Filmer
      queuetotop: yes
#  email:
#    from: '{{ secrets.mail.from }}'
#    to: '{{ secrets.mail.to }}'
#    smtp_host: '{{ secrets.mail.host }}'
#    smtp_port: 587
#    smtp_username: '{{ secrets.mail.user }}'
#    smtp_password: '{{ secrets.mail.password }}'
#    smtp_tls: yes
# Tasks
tasks:
#Task for getting TV shows
  get_TVShows:
    priority: 2
    content_size:
      min: 200
      max: 3000
    regexp:
      reject:
        - FASTSUB #French
        - VOSTFR #French
        - Subtitulado #Spanish
    content_filter:
      reject:
        - '*.avi'
        - '*.rar'
        - '*.zip'
    configure_series:
      from:
        trakt_list:
          username: '{{ secrets.trakt.user }}'
          password: '{{ secrets.trakt.password }}'
          list: TVShows
          type: shows
          strip_dates: yes
#        listdir:
#          - "/mnt/NAS/Felles/Mediaserver/Serier/"
      settings:
        quality: 720p+ hdtv+
        identified_by: ep
    verify_ssl_certificates: no
    discover:
      what:
        - emit_series:
            from_start: yes
            #backfill: yes
      from:
#        - sceneaccess:
#            username: '{{ secrets.sceneaccess.user }}'
#            password: '{{ secrets.sceneaccess.password }}'
            #gravity_multiplier: 200 #gravity = number of seeds * 2 + number of leechers
#            category:
#              browse:
#                - TV/HD-x264
#        - piratebay:
#            category: tv
#            sort_by: seeds
        - torrentz: verified
      interval: 1 hour
    template: deluge-series
    deluge:
      removeatratio: no

But when I execute flexget I get the following error:

2016-05-22 14:35 INFO     deluge        get_TVShows     Connecting to daemon at localhost:58846..
2016-05-22 14:35 INFO     deluge        get_TVShows     Connected to daemon at 127.0.0.1:58846..
2016-05-22 14:35 ERROR    deluge        get_TVShows     RPCError Message Received!\n---------------------------------
-----------------------------------------------\nRPCRequest: daemon.login(deluge, deluge)\n--------------------------
------------------------------------------------------\n  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserve
r.py", line 259, in dispatch\n    ret = component.get("AuthManager").authorize(*args, **kwargs)\n  File "/usr/lib/pyt
hon2.7/dist-packages/deluge/core/authmanager.py", line 87, in authorize\n    raise BadLoginError("Username does not e
xist")\n\nBadLoginError: Username does not exist\n-------------------------------------------------------------------
-------------
2016-05-22 14:35 INFO     deluge        get_TVShows     Connection lost to daemon at localhost:58846 reason: Connecti
on was closed cleanly.

deluge runs as user deluge:

I have the following line in /home/deluge/.config/deluge/auth:

deluge:deluge:10

The user/pwd in secrets.yml is deluge / deluge.

What have I missed here?
What user am I to provide the details for?

Thanks :smile:

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles