July 19, 201411 yr Anyone interested in making a Flexget container ? I found this online, but it seems to hardcode paths which I don't want. Looked at the needo/sacreagent headphones container (that I am installing now) and I'm lost trying to turn the flexget into something sexier. Any takers ? FROM google/python:2.7 MAINTAINER cptactionhank <[email protected]> RUN pip install -I flexget transmissionrpc RUN mkdir -p /var/lib/flexget \ && touch /var/lib/flexget/config.yml VOLUME ["/var/lib/flexget"] ENTRYPOINT ["/usr/local/bin/flexget", "--loglevel", "warning", "-c", "/var/lib/flexget/config.yml"] CMD ["daemon", "start"]
July 21, 201411 yr hi dalben you still after a flexget docker?, i can generate a arch linux based flexget docker if your ok with that?, or do you want to stick with the phusion based images?.
July 21, 201411 yr Be interested in what the usage case is as i dropped flexget when i moved to deluge and I suspect many others could too.
July 21, 201411 yr Author hi dalben you still after a flexget docker?, i can generate a arch linux based flexget docker if your ok with that?, or do you want to stick with the phusion based images?. I really don't mind what the base is. If you could whip one up that would be great. Be interested in what the usage case is as i dropped flexget when i moved to deluge and I suspect many others could too.
July 21, 201411 yr ok give this a whirl, configuration of flexget is done in the defined /config volume, ive included a sample yml file which shows the formatting for the scheduler (running flexget as daemon) just incase you had previously had it running via a cron job and not aware of the newer daemon mode scheduler. https://registry.hub.docker.com/u/binhex/arch-flexget/ let me know how you get on.
July 22, 201411 yr Author Can't pull it down root@tdm:/mnt/cache/docker# docker pull binhex/arch-flexget Pulling repository binhex/arch-flexget a7a348eba40c: Error pulling image (latest) from binhex/arch-flexget, endpoint: https://cdn-registry-1.docker.io/v1/, a7a348eba40c: Error pulling image (latest) from binhex/arch-flexget, read tcp 54.230.73.75:443: connection reset by peer ef585917: Download complete 55b6e2923920: Error downloading dependent layers 2014/07/22 10:30:03 Could not find repository on any of the indexed registries. root@tdm:/mnt/cache/docker#
July 22, 201411 yr Can't pull it down root@tdm:/mnt/cache/docker# docker pull binhex/arch-flexget Pulling repository binhex/arch-flexget a7a348eba40c: Error pulling image (latest) from binhex/arch-flexget, endpoint: https://cdn-registry-1.docker.io/v1/, a7a348eba40c: Error pulling image (latest) from binhex/arch-flexget, read tcp 54.230.73.75:443: connection reset by peer ef585917: Download complete 55b6e2923920: Error downloading dependent layers 2014/07/22 10:30:03 Could not find repository on any of the indexed registries. root@tdm:/mnt/cache/docker# hi dalben, thats odd!, i can successfully pull the image down here (22nd july 9.14am gmt), although i have the base already pulled down (binhex/arch-base) so cant do a 100% proof test without deleting all my dockers :-(. can you please try pulling it down again, i have seen issues with dockers registry where images didnt pull down and ive even see btrfs errors reported back, so it is possible the issue is at the docker end.
July 22, 201411 yr Author same mate. Dunno what the poroblem is root@tdm:/mnt/cache/docker# docker run -d --name=FlexGet -v /mnt/user/videos/:/media -v /mnt/cache/downloads/:/data -v /mnt/cache/apps/headphones/:/config -v /etc/localtime:/etc/localtime:ro binhex/arch-flexget Unable to find image 'binhex/arch-flexget' locally Pulling repository binhex/arch-flexget a7a348eba40c: Error pulling image (latest) from binhex/arch-flexget, endpoint: https://cdn-registry-1.docker.io/v1/, a7a348eba40c: Error pulling image (latest) from binhex/arch-flexget, read tcp 54.230.72.42:443: connection reset by peer ef585917: Download complete 55b6e2923920: Error downloading dependent layers 2014/07/22 19:52:10 Could not find repository on any of the indexed registries.
July 22, 201411 yr This is just a draft, and I will not support it. https://github.com/gfjardim/docker-flexget The configuration is in the /config volume. The beta webUI on port 5050. Feel free do develop it.
July 23, 201411 yr hey dalben, this has been niggling me so i forced a build on my base image and a build for flexget again to be on the safe side, then spun up a test vm with docker installed and did a pull and it was successful and i could create a container and start it, so it should work for you.
July 23, 201411 yr Author hey dalben, this has been niggling me so i forced a build on my base image and a build for flexget again to be on the safe side, then spun up a test vm with docker installed and did a pull and it was successful and i could create a container and start it, so it should work for you. I appreciate the help but I really don't know what to tell you. Where can I look ? I just tried it again. Same result. root@tdm:/mnt/cache/docker# docker pull binhex/arch-flexget Pulling repository binhex/arch-flexget 0bb0d1eb2b57: Error pulling image (latest) from binhex/arch-flexget, endpoint: https://cdn-registry-1.docker.io/v1/, 0bb0d1eb2b57: Error pulling image (latest) from binhex/arch-flexget, read tcp 54.230.74.43:443: connection reset by peer 16337e5a: Download complete dce0559daa1b: Error downloading dependent layers 2014/07/23 20:24:28 Could not find repository on any of the indexed registries. So I tried pulling another one down just for the hell of it. docker pull cptactionhank/flexget Surprise surpirse, same error as yours. I then tried another random container docker pull rednut/unifi-controller and everything was donwloading fine then bang, same error: "Could not find repository on any of the indexed registries." A google search shows a few people with the error but no clear fix. It's obviously my end, I'll keep searching. This is just a draft, and I will not support it. https://github.com/gfjardim/docker-flexget The configuration is in the /config volume. The beta webUI on port 5050. Feel free do develop it. Thanks gfjardim, before I can use it I need to learn how to gitpull and build the container myself........
July 23, 201411 yr OK that's good that it's not my docker image but not so good for you :-) if I were you I would remove all docker images and containers and pull again, that should fix it. There is a quick way of doing this via CLI will see if I can dig it out for you shortly. Found it http://techoverflow.net/blog/2013/10/22/docker-remove-all-images-and-containers/
July 23, 201411 yr Author I looked around before killing everything and found a _tmp directory in the /docker/volumes directory that was a couple of days old. Had a stab in the dark, deleted that tmp directory and bingo itr all started working. Attached is the XML file I made up for gfjardim dockerman if anyone wants to use it. A couple of differences from the flexget plugin phaze built: 1) config.ym,l is now flexget.yml. just rename your old one. 2) to retain your settings of what's been downloaded, rename db-config.sqlite to db-flexget.sqlite /downloads maps to where you want flexget to download the nzb file too. /media I don't use /config maps to where the flexget config files are. I really don't know much so support is very limited. Thanks binhex and gfjardim for getting this together. FlexGet.xml.txt
November 10, 201411 yr How does this get added to the templates in the docker config for beta10a? simply put the address below in the "templates repositories" text field in dockerman (unraid docker webui section), then click on the "reload info" link at the top right of the docker page and you should then be able to select any of my dockers and pull them down. https://github.com/binhex/docker-templates
January 5, 201511 yr I'm making a version of this docker based on phusion to match most of the dockers here instead of the arch one binhex made. Once again, like the Beets docker, I made this is not software I use. A few questions for the users: 1. Do you usually want this run as a cron job or as a daemon 2. Is the WebUI good and worth installing
January 5, 201511 yr Last year the WEBUI was a rubbish so unless they working in a lot I would skip it. The only time I have ever used flexget I used cron but daemonizd may be better.
January 5, 201511 yr Author I used to run it as a cron job but now it's solely a daemon. But I don't see much difference in functionality. The webgui is close to useless imho. I've never used it and I believe it's still beta.
January 5, 201511 yr I have a build in my beta repo.... not at home so I can't see how it installs. Let me know
January 5, 201511 yr can you build a docker to stop a 4 year old little madam from taking over the whole sofa ? aside from that, i've never used flexget. but i may give it a go.
January 5, 201511 yr can you build a docker to stop a 4 year old little madam from taking over the whole sofa ? aside from that, i've never used flexget. but i may give it a go. I don't think phusion has the dependencies for that....
January 5, 201511 yr Author I have a build in my beta repo.... not at home so I can't see how it installs. Let me know Thanks. Just off to work so I'll give it a shot when I get home.
January 6, 201511 yr Author Fired it up and got the following errors flooding the log file (the container log file, not the one where I told it my /config was) 2015-01-06 20:21 CRITICAL manager Failed to find configuration file config.yml 2015-01-06 20:21 INFO manager Tried to read from: /etc/service/flexget, /root/.flexget, /root/.config/flexget Could not instantiate manager: No configuration file found. Here's the xml file I am using. Yours plus some directory paths <?xml version="1.0" encoding="utf-8"?> <Container> <Name>FlexGet</Name> <Description> This is a Dockerfile for "FlexGet" - (http://flexget.com/)[br][br] [b][span style='color: #E80000;']Directions:[/span][/b][br] [b]/config[/b] : Where the config file will be created.[br] </Description> <Registry>https://registry.hub.docker.com/u/smdion/docker-flexget/</Registry> <Repository>smdion/docker-flexget</Repository> <BindTime>true</BindTime> <Privileged>false</Privileged> <Networking> <Mode>bridge</Mode> <Publish> <Port> <HostPort></HostPort> <ContainerPort></ContainerPort> <Protocol></Protocol> </Port> </Publish> </Networking> <Environment> <Variable> <Name></Name> <Value></Value> </Variable> </Environment> <Data> <Volume> <HostDir>/mnt/user/videos/</HostDir> <ContainerDir>/media</ContainerDir> <Mode>rw</Mode> </Volume> <Volume> <HostDir>/mnt/cache/apps/flexget/</HostDir> <ContainerDir>/config</ContainerDir> <Mode>rw</Mode> </Volume> <Volume> <HostDir>/mnt/cache/downloads/</HostDir> <ContainerDir>/downloads</ContainerDir> <Mode>rw</Mode> </Volume> <Volume> <HostDir>/etc/localtime</HostDir> <ContainerDir>/etc/localtime</ContainerDir> <Mode>ro</Mode> </Volume> </Data> <Icon>http://i.imgur.com/KXTg4bO.jpg</Icon> <Banner>http://i.imgur.com/Qx23K8K.png</Banner> </Container>
January 6, 201511 yr Fired it up and got the following errors flooding the log file (the container log file, not the one where I told it my /config was) 2015-01-06 20:21 CRITICAL manager Failed to find configuration file config.yml 2015-01-06 20:21 INFO manager Tried to read from: /etc/service/flexget, /root/.flexget, /root/.config/flexget Could not instantiate manager: No configuration file found. Here's the xml file I am using. Yours plus some directory paths <?xml version="1.0" encoding="utf-8"?> <Container> <Name>FlexGet</Name> <Description> This is a Dockerfile for "FlexGet" - (http://flexget.com/)[br][br] [b][span style='color: #E80000;']Directions:[/span][/b][br] [b]/config[/b] : Where the config file will be created.[br] </Description> <Registry>https://registry.hub.docker.com/u/smdion/docker-flexget/</Registry> <Repository>smdion/docker-flexget</Repository> <BindTime>true</BindTime> <Privileged>false</Privileged> <Networking> <Mode>bridge</Mode> <Publish> <Port> <HostPort></HostPort> <ContainerPort></ContainerPort> <Protocol></Protocol> </Port> </Publish> </Networking> <Environment> <Variable> <Name></Name> <Value></Value> </Variable> </Environment> <Data> <Volume> <HostDir>/mnt/user/videos/</HostDir> <ContainerDir>/media</ContainerDir> <Mode>rw</Mode> </Volume> <Volume> <HostDir>/mnt/cache/apps/flexget/</HostDir> <ContainerDir>/config</ContainerDir> <Mode>rw</Mode> </Volume> <Volume> <HostDir>/mnt/cache/downloads/</HostDir> <ContainerDir>/downloads</ContainerDir> <Mode>rw</Mode> </Volume> <Volume> <HostDir>/etc/localtime</HostDir> <ContainerDir>/etc/localtime</ContainerDir> <Mode>ro</Mode> </Volume> </Data> <Icon>http://i.imgur.com/KXTg4bO.jpg</Icon> <Banner>http://i.imgur.com/Qx23K8K.png</Banner> </Container> I couldn't find a default config.yaml anywhere.. is there one?
January 6, 201511 yr 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
Archived
This topic is now archived and is closed to further replies.