dalben Posted January 6, 2015 Author Share Posted January 6, 2015 Once you have the docker install done, you need to create the config.yml in the flexget config directory here is the link to flexget configuration http://flexget.com/wiki/Configuration there is NO default config.yml and you need to start from scratch Yeah. I've had flexget running for a while and was just trying this version of the container. This install doesn't look got the config file where it says it will. Quote Link to comment
smdion Posted January 6, 2015 Share Posted January 6, 2015 Once you have the docker install done, you need to create the config.yml in the flexget config directory here is the link to flexget configuration http://flexget.com/wiki/Configuration there is NO default config.yml and you need to start from scratch Yeah. I've had flexget running for a while and was just trying this version of the container. This install doesn't look got the config file where it says it will. /config is linked to /root/.flexget. which is where this says it should be. Did you copy a working config.yml in there? Quote Link to comment
dalben Posted January 6, 2015 Author Share Posted January 6, 2015 Once you have the docker install done, you need to create the config.yml in the flexget config directory here is the link to flexget configuration http://flexget.com/wiki/Configuration there is NO default config.yml and you need to start from scratch Yeah. I've had flexget running for a while and was just trying this version of the container. This install doesn't look got the config file where it says it will. /config is linked to /root/.flexget. which is where this says it should be. Did you copy a working config.yml in there? Nope. Not something I've done before. But wouldn't /root/.flexget be in he container ? Using the -c option pointing to /config which is specified in the template would be a better options. Keeps the config in an easy to edit place. The config.yml is where you manually add what shows to search for so its not a set and forgt file. Quote Link to comment
smdion Posted January 6, 2015 Share Posted January 6, 2015 Once you have the docker install done, you need to create the config.yml in the flexget config directory here is the link to flexget configuration http://flexget.com/wiki/Configuration there is NO default config.yml and you need to start from scratch Yeah. I've had flexget running for a while and was just trying this version of the container. This install doesn't look got the config file where it says it will. /config is linked to /root/.flexget. which is where this says it should be. Did you copy a working config.yml in there? Nope. Not something I've done before. But wouldn't /root/.flexget be in he container ? Using the -c option pointing to /config which is specified in the template would be a better options. Keeps the config in an easy to edit place. The config.yml is where you manually add what shows to search for so its not a set and forgt file. There is a symbolic link in the docker file that links /root/.flexget to /config.. so /config is /root/.flexget Quote Link to comment
dalben Posted January 6, 2015 Author Share Posted January 6, 2015 Ah, ok. Cool. The config.yml is there then. Not sure what the issue is. Quote Link to comment
sparklyballs Posted January 7, 2015 Share Posted January 7, 2015 Ah, ok. Cool. The config.yml is there then. Not sure what the issue is. i haven't built anything yet, just testing out in a bash shell in an ubuntu 12.04 baseos docker (couldn't get zip to work with 14.04) but getting this response with just a test config.yml file root@54715d48066f:/config# flexget check 2015-01-07 00:15 WARNING manager Your locale declares ascii as the filesystem encoding. Any plugins reading filenames from disk will not work properly for filenames containing non-ascii characters. Make sure your locale env variables are set up correctly for the environment which is launching FlexGet. 2015-01-07 00:15 VERBOSE check Pre-checked 8 configuration lines 2015-01-07 00:15 VERBOSE check Checking config file `/config/config.yml` 2015-01-07 00:15 VERBOSE check Config passed check. Quote Link to comment
smdion Posted January 7, 2015 Share Posted January 7, 2015 Ah, ok. Cool. The config.yml is there then. Not sure what the issue is. i haven't built anything yet, just testing out in a bash shell in an ubuntu 12.04 baseos docker (couldn't get zip to work with 14.04) but getting this response with just a test config.yml file root@54715d48066f:/config# flexget check 2015-01-07 00:15 WARNING manager Your locale declares ascii as the filesystem encoding. Any plugins reading filenames from disk will not work properly for filenames containing non-ascii characters. Make sure your locale env variables are set up correctly for the environment which is launching FlexGet. 2015-01-07 00:15 VERBOSE check Pre-checked 8 configuration lines 2015-01-07 00:15 VERBOSE check Checking config file `/config/config.yml` 2015-01-07 00:15 VERBOSE check Config passed check. I ran into that too with a few test files i've tried.... found this: http://flexget.com/ticket/2773 but not sure how to procede. I tried the exports but it did not fix it. Quote Link to comment
dalben Posted January 7, 2015 Author Share Posted January 7, 2015 Not sure if you feel like taking apart binhex's container or not. I just replaced the container in the dockerman template and it works. Quote Link to comment
sparklyballs Posted January 7, 2015 Share Posted January 7, 2015 Ah, ok. Cool. The config.yml is there then. Not sure what the issue is. i haven't built anything yet, just testing out in a bash shell in an ubuntu 12.04 baseos docker (couldn't get zip to work with 14.04) but getting this response with just a test config.yml file root@54715d48066f:/config# flexget check 2015-01-07 00:15 WARNING manager Your locale declares ascii as the filesystem encoding. Any plugins reading filenames from disk will not work properly for filenames containing non-ascii characters. Make sure your locale env variables are set up correctly for the environment which is launching FlexGet. 2015-01-07 00:15 VERBOSE check Pre-checked 8 configuration lines 2015-01-07 00:15 VERBOSE check Checking config file `/config/config.yml` 2015-01-07 00:15 VERBOSE check Config passed check. I ran into that too with a few test files i've tried.... found this: http://flexget.com/ticket/2773 but not sure how to procede. I tried the exports but it did not fix it. i'm not 100% certain but if you tried to export utf** you'd have to have that particular utf loaded first. Quote Link to comment
dalben Posted January 7, 2015 Author Share Posted January 7, 2015 I used to have that encoding error in an old plugin version of flexget. Annoying but didn't cause any problems that I could see Quote Link to comment
sparklyballs Posted January 7, 2015 Share Posted January 7, 2015 i used this as a config.yml (added tasks: at the top) and changed the path to suit and it's working, or seems to be. http://flexget.com/wiki/Cookbook/Movies/AppleTrailers 015-01-07 01:16 VERBOSE task AppleTrailers ACCEPTED: `Do You Believe? - Trailer` by imdb plugin 2015-01-07 01:16 INFO imdb AppleTrailers Didn't accept `Deli Man` because of rule(s) reject_genres 2015-01-07 01:16 INFO imdb AppleTrailers Didn't accept `Focus` because of rule(s) reject_genres 2015-01-07 01:16 VERBOSE task AppleTrailers ACCEPTED: `Little Accidents - Clip` by imdb plugin 2015-01-07 01:16 VERBOSE task AppleTrailers ACCEPTED: `The Gambler - Featurette` by imdb plugin 2015-01-07 01:16 VERBOSE task AppleTrailers ACCEPTED: `The Woman in Black 2 Angel of Death - Featurette` by imdb plugin 2015-01-07 01:16 VERBOSE task AppleTrailers ACCEPTED: `American Sniper - Trailer 2` by imdb plugin 2015-01-07 01:16 VERBOSE task AppleTrailers ACCEPTED: `Woman in Gold - Trailer` by imdb plugin 2015-01-07 01:16 VERBOSE task AppleTrailers ACCEPTED: `In the Heart of the Sea - Trailer 2` by imdb plugin 2015-01-07 01:16 VERBOSE task AppleTrailers ACCEPTED: `McFarland, USA - Trailer 2` by imdb plugin 2015-01-07 01:16 VERBOSE task AppleTrailers ACCEPTED: `[REC] 4: Apocalypse - Clip` by imdb plugin 2015-01-07 01:16 INFO download AppleTrailers Downloading: A Most Violent Year - Clip 2 Quote Link to comment
scottc Posted January 7, 2015 Share Posted January 7, 2015 this is what i did in one of my dockerfile's and it resolved the "Your locale declares ascii as the filesystem encoding" bla bla stuff FROM phusion/baseimage:0.9.15 ENV DEBIAN_FRONTEND noninteractive # Set the locale RUN locale-gen en_US.UTF-8 ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en ENV LC_ALL en_US.UTF-8 Quote Link to comment
smdion Posted January 7, 2015 Share Posted January 7, 2015 this is what i did in one of my dockerfile's and it resolved the "Your locale declares ascii as the filesystem encoding" bla bla stuff FROM phusion/baseimage:0.9.15 ENV DEBIAN_FRONTEND noninteractive # Set the locale RUN locale-gen en_US.UTF-8 ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en ENV LC_ALL en_US.UTF-8 Thanks! Updating mine with that Quote Link to comment
dalben Posted January 7, 2015 Author Share Posted January 7, 2015 I jumped into my container to have a look around. There seems to be something wrong with the directopry structure ? That or I know so little about *nix that I should give up trying. root@tdm:~# docker run -i -t f4d902af4086 /bin/bash root@b5203d76aec3:/# ls -la total 8 drwxr-xr-x 1 root root 202 Jan 7 09:25 . drwxr-xr-x 1 root root 202 Jan 7 09:25 .. -rw-r--r-- 1 root root 362 Jan 7 02:57 =1.70 drwxr-xr-x 1 root root 1400 Oct 3 10:39 bin drwxr-xr-x 1 root root 0 Apr 10 2014 boot drwxr-xr-x 1 root root 0 Jan 7 09:25 config lrwxrwxrwx 1 root root 27 Oct 3 10:37 cte -> /etc/workaround-docker-2267 drwxr-xr-x 4 root root 360 Jan 7 09:25 dev -rwxr-xr-x 1 root root 0 Jan 7 09:25 .dockerenv -rwxr-xr-x 1 root root 0 Jan 7 09:25 .dockerinit drwxr-xr-x 1 root root 2584 Jan 7 09:25 etc drwxr-xr-x 1 root root 0 Apr 10 2014 home drwxr-xr-x 1 root root 234 Jan 7 02:56 lib drwxr-xr-x 1 root root 40 Jan 7 02:55 lib64 drwxr-xr-x 1 root root 0 Sep 26 03:34 media drwxr-xr-x 1 root root 0 Apr 10 2014 mnt drwxr-xr-x 1 root root 0 Sep 26 03:34 opt dr-xr-xr-x 293 root root 0 Jan 7 09:25 proc drwx------ 1 root root 54 Jan 7 02:57 root drwxr-xr-x 1 root root 118 Oct 3 10:39 run drwxr-xr-x 1 root root 2160 Oct 3 10:39 sbin drwxr-xr-x 1 root root 0 Sep 26 03:34 srv dr-xr-xr-x 13 root root 0 Jan 7 09:22 sys drwxrwxrwt 1 root root 0 Jan 7 02:57 tmp drwxr-xr-x 1 root root 70 Oct 3 10:37 usr drwxr-xr-x 1 root root 90 Oct 3 10:39 var root@b5203d76aec3:/# cd root root@b5203d76aec3:~# ls -la total 12 drwx------ 1 root root 54 Jan 7 02:57 . drwxr-xr-x 1 root root 202 Jan 7 09:25 .. -rw-r--r-- 1 root root 3106 Feb 20 2014 .bashrc lrwxrwxrwx 1 root root 7 Jan 7 02:57 .flexget -> /config -rw-r--r-- 1 root root 140 Feb 20 2014 .profile drwx------ 1 root root 0 Oct 3 10:39 .ssh If I'm right, the directory /root/.config/flexget doesn't exist. root@b5203d76aec3:~# cd .flexget root@b5203d76aec3:~/.flexget# ls root@b5203d76aec3:~/.flexget# ls -la total 0 drwxr-xr-x 1 root root 0 Jan 7 09:25 . drwxr-xr-x 1 root root 202 Jan 7 09:25 .. If that is meant to be a symbolic link to the /config path specified in the xml template, then that's not working. The template has the following: <Volume> <HostDir>/mnt/cache/apps/flexget/</HostDir> <ContainerDir>/config</ContainerDir> <Mode>rw</Mode> </Volume> That directory has all of my FlexGet files from the working container. /media is there but empty which isn't right. /downloads and /tempdl directories specified in the template also don't get created. Is there something else I should look for or try ? To recap, the error message I am getting is this repeated over and over: 2015-01-07 17:38 CRITICAL manager Failed to find configuration file config.yml 2015-01-07 17:38 INFO manager Tried to read from: /etc/service/flexget, /root/.flexget, /root/.config/flexget Could not instantiate manager: No configuration file found. Quote Link to comment
sparklyballs Posted January 7, 2015 Share Posted January 7, 2015 I jumped into my container to have a look around. There seems to be something wrong with the directopry structure ? That or I know so little about *nix that I should give up trying. root@tdm:~# docker run -i -t f4d902af4086 /bin/bash root@b5203d76aec3:/# ls -la total 8 drwxr-xr-x 1 root root 202 Jan 7 09:25 . drwxr-xr-x 1 root root 202 Jan 7 09:25 .. -rw-r--r-- 1 root root 362 Jan 7 02:57 =1.70 drwxr-xr-x 1 root root 1400 Oct 3 10:39 bin drwxr-xr-x 1 root root 0 Apr 10 2014 boot drwxr-xr-x 1 root root 0 Jan 7 09:25 config lrwxrwxrwx 1 root root 27 Oct 3 10:37 cte -> /etc/workaround-docker-2267 drwxr-xr-x 4 root root 360 Jan 7 09:25 dev -rwxr-xr-x 1 root root 0 Jan 7 09:25 .dockerenv -rwxr-xr-x 1 root root 0 Jan 7 09:25 .dockerinit drwxr-xr-x 1 root root 2584 Jan 7 09:25 etc drwxr-xr-x 1 root root 0 Apr 10 2014 home drwxr-xr-x 1 root root 234 Jan 7 02:56 lib drwxr-xr-x 1 root root 40 Jan 7 02:55 lib64 drwxr-xr-x 1 root root 0 Sep 26 03:34 media drwxr-xr-x 1 root root 0 Apr 10 2014 mnt drwxr-xr-x 1 root root 0 Sep 26 03:34 opt dr-xr-xr-x 293 root root 0 Jan 7 09:25 proc drwx------ 1 root root 54 Jan 7 02:57 root drwxr-xr-x 1 root root 118 Oct 3 10:39 run drwxr-xr-x 1 root root 2160 Oct 3 10:39 sbin drwxr-xr-x 1 root root 0 Sep 26 03:34 srv dr-xr-xr-x 13 root root 0 Jan 7 09:22 sys drwxrwxrwt 1 root root 0 Jan 7 02:57 tmp drwxr-xr-x 1 root root 70 Oct 3 10:37 usr drwxr-xr-x 1 root root 90 Oct 3 10:39 var root@b5203d76aec3:/# cd root root@b5203d76aec3:~# ls -la total 12 drwx------ 1 root root 54 Jan 7 02:57 . drwxr-xr-x 1 root root 202 Jan 7 09:25 .. -rw-r--r-- 1 root root 3106 Feb 20 2014 .bashrc lrwxrwxrwx 1 root root 7 Jan 7 02:57 .flexget -> /config -rw-r--r-- 1 root root 140 Feb 20 2014 .profile drwx------ 1 root root 0 Oct 3 10:39 .ssh If I'm right, the directory /root/.config/flexget doesn't exist. root@b5203d76aec3:~# cd .flexget root@b5203d76aec3:~/.flexget# ls root@b5203d76aec3:~/.flexget# ls -la total 0 drwxr-xr-x 1 root root 0 Jan 7 09:25 . drwxr-xr-x 1 root root 202 Jan 7 09:25 .. If that is meant to be a symbolic link to the /config path specified in the xml template, then that's not working. The template has the following: <Volume> <HostDir>/mnt/cache/apps/flexget/</HostDir> <ContainerDir>/config</ContainerDir> <Mode>rw</Mode> </Volume> That directory has all of my FlexGet files from the working container. /media is there but empty which isn't right. /downloads and /tempdl directories specified in the template also don't get created. Is there something else I should look for or try ? To recap, the error message I am getting is this repeated over and over: 2015-01-07 17:38 CRITICAL manager Failed to find configuration file config.yml 2015-01-07 17:38 INFO manager Tried to read from: /etc/service/flexget, /root/.flexget, /root/.config/flexget Could not instantiate manager: No configuration file found. which container is this ? Quote Link to comment
dalben Posted January 7, 2015 Author Share Posted January 7, 2015 Pretty sure it's smdion's flexget Quote Link to comment
sparklyballs Posted January 7, 2015 Share Posted January 7, 2015 Pretty sure it's smdion's flexget i'm having a play with it now, one thing i can say is, you need to run it, let it spit those errors, kill it, go to your local config folder and put it in a config.yml and rerun. i've pulled the git, i think there is an error in the run command, and it needs an output folder. Quote Link to comment
sparklyballs Posted January 7, 2015 Share Posted January 7, 2015 Pretty sure it's smdion's flexget i'm having a play with it now, one thing i can say is, you need to run it, let it spit those errors, kill it, go to your local config folder and put it in a config.yml and rerun. i've pulled the git, i think there is an error in the run command, and it needs an output folder. the run command in flexget.sh should be flexget daemon start instead of flexget daemon start [-d] Quote Link to comment
sparklyballs Posted January 7, 2015 Share Posted January 7, 2015 i built it without the -d in the runfile and am running the docker itself in daemon mode and this is my docker log output *** Booting runit daemon... *** Runit started as PID 98 2015-01-07 10:57 INFO scheduler No schedules defined in config. Defaulting to run all tasks on a 1 hour interval. 2015-01-07 10:57 INFO scheduler Starting scheduler i also have a log in my config folder that says the same thing and it's created an sqlite d/base there too. i don't know enough about the config files to get it to schedule , but i think it's working. for reference, this is my config.yml (something i swiped from flexget cookbook) tasks: AppleTrailers: apple_trailers: 480p imdb: reject_genres: - documentary - foreign - comedy - fantasy - musical download: /config set: filename: '{{title}} - Trailer - 480p.mov' seen: local # We don't want accepted entries from this feed to affect actual movie download feeds. changed from the original 720 to 480p as didn't want a load of large files downloading. Quote Link to comment
dalben Posted January 7, 2015 Author Share Posted January 7, 2015 To set a schedule add this to the top of the config. schedules: # Run every 10 minutes - tasks: '*' interval: Minutes: 10 Quote Link to comment
sparklyballs Posted January 7, 2015 Share Posted January 7, 2015 To set a schedule add this to the top of the config. schedules: # Run every 10 minutes - tasks: '*' interval: Minutes: 10 minutes * Quote Link to comment
dalben Posted January 7, 2015 Author Share Posted January 7, 2015 Yeah, thanks. I blame autocorrect Quote Link to comment
sparklyballs Posted January 7, 2015 Share Posted January 7, 2015 Yeah, thanks. I blame autocorrect i set it at 2 for a test and this is the output so far (after waiting the 2 minutes,lol) 2015-01-07 11:18 INFO scheduler Starting scheduler 2015-01-07 11:21 INFO manager AppleTrailers Running database cleanup. 2015-01-07 11:21 INFO db_vacuum AppleTrailers Running VACUUM on database to improve performance and decrease db size. 2015-01-07 11:21 INFO db_analyze AppleTrailers Running ANALYZE on database to improve performance. 2015-01-07 11:21 INFO urllib3.connectionpool AppleTrailers Starting new HTTP connection (1): trailers.apple.com 2015-01-07 11:21 INFO urllib3.connectionpool AppleTrailers Starting new HTTP connection (1): www.imdb.com Quote Link to comment
sparklyballs Posted January 7, 2015 Share Posted January 7, 2015 Certainly seems to be. so it needs the -d taking out of the flexget.sh, some kind of dummy config.yml that satisifies the startup routine, but doesn't actually do anything and output folder(s). Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.