Instructions for use at the docker hub page, also works under Docker for Windows (see the instructions attached) .Install docker for windows.zip (177.2 KB)
Hi, thanks for the work in putting together this shepherd docker.
Iâm interested in running this docker on my unRaid server. Not sure if youâre familiar with it, but unRaid uses templates to setup Docker containers parameters etc.
I am able to install the shepherd docker on my unRaid server, but I am unable to configure or edit the container - Iâm pretty sure this is because the variables/associations are incorrect for my setup.
Do you have any experience with unRaid and itâs docker template system? Or any ideas how I can convert across the appropriate shepherd docker configs?
Here is the command output from my shepherd docker config if it helps:
I donât have any experience with unRaid, but we need some way to open an interactive console to the container so the Shepherd configuration script can run. Do you have command line access to the system, and can you run docker commands that way?
Thanks for the quick replyâŠ
Yeah, I tried to bash into the container (there is actually already a console/terminal link pre-configured in unRaid as part of the install) but I get the following error
Error response from daemon: Container d5c1c28944201492259495c92f6aa870430222214150c771b3d6a99709eb6b18 is not running
then after about 10 sec the connection is closed.
Iâm pretty sure it is an issue with the container interface not being properly configured (by me!) to see all the container contents (if that makes sense). On the rare occasion I do get a command prompt in the console window, if I enter the âperl shepherdâ command to start the program, I get the following error:
Can't locate LWP/Protocol/http.pm in @INC (you may need to install the LWP::Protocol::http module) (@INC contains: references /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at shepherd line 5308.
BEGIN failed--compilation aborted at shepherd line 5308.
I fear this may be beyond my expertise level and/or unRaid is not really intended for this purpose.
Iâve noticed that the docker stops automatically after running, which is a good idea. How do I reconfigure it? I need to update the icons -> which icon âserviceâ do you recommend?
to re-set up channels etc, or ( @rich110 could you run the --check and post me the output, there seems to be some component missing for you which isnât happening on my version)
./shepherd --check
to check if all the components seem to be working
At the moment the abc_website scraper is failing for me which is a shame, as it had the best data for the abc channels. If the issue is with the scraper Shepherd will automatically update itself when the issue is resolved by the Shepherd maintainers.
@markcs unfortunately I havenât worked out how to get the icons working for plex yet, the icon feature in Shepherd is written for MythTV, but adding links to the xmltv file to the channel icons would give the icons to Plex. The MythTV icon feature downloads the icons and then installs them in the MythTV database, so the code is completely different to what we need.
Thanks - I am giving this a go in Docker for OS X. Not sure if this will be an issue for me, as I answered yes to symlinks by mistake⊠although seems to be grabbing shows slowly.
At this stage I can only see the output.xmltv file (0 bytes), I assume the merged.xmltv will come later on - > 4hrs?
After the initial setup is completed, does this auto run in the docker for new grabs & updates?
@ncsa, the output.xmltv file should fill up when the first run finishes. The container stops when the Shepherd run is finished, so youâll need to schedule the container to start every so often (the instructions show how to set up a cron job in linux to run the container every hour - so three times it will just exit after checking for component updates, the fourth time it will do a partial or full update).
I think in OS X it should just be a matter of running the crontab command like in the linux instructions ( Scheduling Commands With Cron On Your Mac - Onyx Mueller implies that it should all just work ), so just add the following line to your crontab:
Sorry for the late replyâŠ
Unfortunately, it still doesnât work. There is something really wrong with the way/location the docker installs on unRaid. The behaviour is really erratic too, sometimes the bash console for the container shows a prompt and other times (most of the time) it has the above listed daemon error. Regardless though, the console connection usually closes within about 10sec. On the rare occasion I can enter the commands you listed (e.g. --check) I get an error saying another instance of the docker is already running.
Either way, Iâve installed shepherd as a docker on my Win10 laptop - not really ideal as the laptop (unlike the server) is not on 24/7 so I have to give some thought to the grabbing schedule.
Two questionsâŠ
Is there a way to choose the download location of the xmltv file shepherd creates from the grab? In particular, can I save the output directly to my network plex folder to avoid having to make a Windows scheduled task to copy the file over?
Can I config shepherd to rename the created âoutput.xmltvâ to something different (e.g. VIC_Melb.xml)?
Working a treat on my Synology NAS with docker and a scheduled task, thanks!!!
Is there anyway to get the icons for the channels? I notice you explicitly state to enter ânoâ when running through the initial setup, is there a reason for this?