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

Trakt auth from Flexget docker problems

$
0
0

@oflatley wrote:

Hi, i'm a noob to docker, flexget, and trakt.

On a synology running latest DSM, I downloaded a docker image with flexget 2.17.24. I've been able to grab magnets via rss and successfully process them with Transmission (which runs in a separate container). So, that's good.

Next, I wanted to spice up the recipe with Trakt. I want to modify a custom list (public) on Trakt, I need to set up Flexget/Trakt authentication. This is where I run into trouble.

Here's what I've tried: I CLI'd "docker exec -it flexget flexget trakt auth foobar". However, (problem #1), flexget complained that it could not find config.yml (even though i set up the required volume for the folder containing yml as part of the docker container, and that all worked as stated above). So guessing, I copied (via docker cp) the config.yml to the container root. I ran the "...trakt auth foobar" docker exec again, and something succeeded -- i went through the steps of entering the pin at Trakt.tv. Now i could see the flexget permissions listed in trakt Settings, and from the docker container I could see the foobar acount by running "docker exec -it flexget flexget traxt list".

However, on it's next scheduled run, Flexget complains that foobar is not authenticated:

"Error during input plugin trakt_list: Account foobar has not been authorized. See flexget trakt auth -h on how to."

The relevant part of the yml: (ignore indentation issues)
trakt_list:
account: foobar
list: ahoy-tv-series
type: episodes

I've retried steps, recreated containers, checked for typos 5x.

So, my current best guess is that there are 2 different db-config.sqlites (one on my filesystem which is used as volume; one in the docker container, created unintentionally). I'm thinking that was wrong to just copy a version of config.yml to the container root -- just fixing a symptom. Instead, I think I need to make the exec command work with the same mounted volume that I specified to the Container -- this volume is mounted to a config folder, which contains the yml and is where it creates the sqllite dbs. When I run the trakt commands with docker exec, i think it's making another db (based on CLI output).

So, I'm stuck. Has anyone else gotten this too work ?
Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles