Mailing List Archive

Error downloading theme package from master backend
all my frontends are having intermittent issues downloading themes. maybe 95% failure rate. When it suceeds it does not appear to be getting the desired git commit (cached/old theme version?). When it suceeds and i then delete the theme on the FE to retry, it will fail.

What can i do to figure out whats going wrong?
i cant see much in the FE output using the '-v most' option hoping to see something about a service or hostname being unavailable, but nothing obvious. I'm at a bit of a loss figuring out how start figuring out where the issue is.



anyone able to help out?
Re: Error downloading theme package from master backend [ In reply to ]
On 30/07/2020 13:18, Tim Draper wrote:
> all my frontends are having intermittent issues downloading themes.
> maybe 95% failure rate. When it suceeds it does not appear to be getting
> the desired git commit (cached/old theme version?). When it suceeds and
> i then delete the theme on the FE to retry, it will fail.
>
> What can i do to figure out whats going wrong?
> i cant see much in the FE output using the '-v most' option hoping to
> see something about a service or hostname being unavailable, but nothing
> obvious. I'm at a bit of a loss figuring out how start figuring out
> where the issue is.
>
> anyone able to help out?
>

Has this been happening for a while, or has it only started recently?


Regards
Stuart
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Error downloading theme package from master backend [ In reply to ]
---- On Mon, 03 Aug 2020 14:18:35 +0100 Stuart Auchterlonie <stuarta@squashedfrog.net> wrote ----
> On 30/07/2020 13:18, Tim Draper wrote:
> > all my frontends are having intermittent issues downloading themes.
> > maybe 95% failure rate. When it suceeds it does not appear to be getting
> > the desired git commit (cached/old theme version?). When it suceeds and
> > i then delete the theme on the FE to retry, it will fail.
> >
> > What can i do to figure out whats going wrong?
> > i cant see much in the FE output using the '-v most' option hoping to
> > see something about a service or hostname being unavailable, but nothing
> > obvious. I'm at a bit of a loss figuring out how start figuring out
> > where the issue is.
> >
> > anyone able to help out?
> >
>
> Has this been happening for a while, or has it only started recently?
>
>
> Regards
> Stuart
>

it's been happening for a while. Not sure when it started but i'd say a few months but only had a bit of time recently to start to poke around and take a look at it.
since posting i've been having issues with my BE - looked like the boot SSD was having issues so new ssd, reinstall i hoped might fix - no luck, issue still occuring.

any pointers for debugging this? cant find a way manually trigger or configuring logging options to investigate whats going on. theme download failure seems to happen early in the process so i'm thinking a corrupt file, unmet dependancy, DNS or firewall type issue.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Error downloading theme package from master backend [ In reply to ]
On Thu, 2020-08-06 at 13:05 +0100, Tim Draper wrote:
>
>
> ---- On Mon, 03 Aug 2020 14:18:35 +0100 Stuart Auchterlonie <
> stuarta@squashedfrog.net> wrote ----
> > On 30/07/2020 13:18, Tim Draper wrote:
> > > all my frontends are having intermittent issues downloading
> themes.
> > > maybe 95% failure rate. When it suceeds it does not appear to be
> getting
> > > the desired git commit (cached/old theme version?). When it
> suceeds and
> > > i then delete the theme on the FE to retry, it will fail.
> > >
> > > What can i do to figure out whats going wrong?
> > > i cant see much in the FE output using the '-v most' option
> hoping to
> > > see something about a service or hostname being unavailable, but
> nothing
> > > obvious. I'm at a bit of a loss figuring out how start figuring
> out
> > > where the issue is.
> > >
> > > anyone able to help out?
> > >
> >
> > Has this been happening for a while, or has it only started
> recently?
> >
> >
> > Regards
> > Stuart
> >
>
> it's been happening for a while. Not sure when it started but i'd say
> a few months but only had a bit of time recently to start to poke
> around and take a look at it.
> since posting i've been having issues with my BE - looked like the
> boot SSD was having issues so new ssd, reinstall i hoped might fix -
> no luck, issue still occuring.
>
> any pointers for debugging this? cant find a way manually trigger or
> configuring logging options to investigate whats going on. theme
> download failure seems to happen early in the process so i'm thinking
> a corrupt file, unmet dependancy, DNS or firewall type issue.

It looks like all the theme related messages are gui:info so you need
to start mythfrontend with '-v gui'. You can force a download of the
themes by removing the directory ~/.mythtv/cache/themechooser on the
frontend, and then going into Setup->Theme Chooser.

You can test for network issues by trying to download the themes file
by hand. Try this:

wget http://themes.mythtv.org/themes/repository/31/themes.zip

David


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Error downloading theme package from master backend [ In reply to ]
---- On Mon, 10 Aug 2020 17:04:15 +0100 David Hampton <mythtv@love2code.net> wrote ----
> On Thu, 2020-08-06 at 13:05 +0100, Tim Draper wrote:
> >
> >
> > ---- On Mon, 03 Aug 2020 14:18:35 +0100 Stuart Auchterlonie <
> > stuarta@squashedfrog.net> wrote ----
> > > On 30/07/2020 13:18, Tim Draper wrote:
> > > > all my frontends are having intermittent issues downloading
> > themes.
> > > > maybe 95% failure rate. When it suceeds it does not appear to be
> > getting
> > > > the desired git commit (cached/old theme version?). When it
> > suceeds and
> > > > i then delete the theme on the FE to retry, it will fail.
> > > >
> > > > What can i do to figure out whats going wrong?
> > > > i cant see much in the FE output using the '-v most' option
> > hoping to
> > > > see something about a service or hostname being unavailable, but
> > nothing
> > > > obvious. I'm at a bit of a loss figuring out how start figuring
> > out
> > > > where the issue is.
> > > >
> > > > anyone able to help out?
> > > >
> > >
> > > Has this been happening for a while, or has it only started
> > recently?
> > >
> > >
> > > Regards
> > > Stuart
> > >
> >
> > it's been happening for a while. Not sure when it started but i'd say
> > a few months but only had a bit of time recently to start to poke
> > around and take a look at it.
> > since posting i've been having issues with my BE - looked like the
> > boot SSD was having issues so new ssd, reinstall i hoped might fix -
> > no luck, issue still occuring.
> >
> > any pointers for debugging this? cant find a way manually trigger or
> > configuring logging options to investigate whats going on. theme
> > download failure seems to happen early in the process so i'm thinking
> > a corrupt file, unmet dependancy, DNS or firewall type issue.
>
> It looks like all the theme related messages are gui:info so you need
> to start mythfrontend with '-v gui'. You can force a download of the
> themes by removing the directory ~/.mythtv/cache/themechooser on the
> frontend, and then going into Setup->Theme Chooser.
>
> You can test for network issues by trying to download the themes file
> by hand. Try this:
>
> wget http://themes.mythtv.org/themes/repository/31/themes.zip
>
> David


tried the '-v gui' but no output when it fails from master backend.
wget obtains the themes.zip ok. extract and wget at the url within the themeinfo.xml also works. i think that safely eliminates any network issue.
tried deleting the theme files via both the FE menu interface and via ssh but no difference.

it's now raised more questions than answers with how themes work and the github.com/MythTV-Themes repo. I submitted patches for mythbuntu theme in June for the new 31 deinterlacing playback info and to fix a videos.xml font issue. just realised that i only submitted to master and not 31/fixes branch (my mythtv deployment runs 31/fixes).
could there be something funky going on between the github repo and the themeinfo.xml download url?

Mythbuntu (my prefered theme) and Readability (2nd choice, not even in github mythtv-themes) both exhibiting the issue.

genuinely confused on what the issue could be. while the SQL db files were kept, the BE was rebuilt fresh a few weeks ago, and FE's are also pretty new.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Error downloading theme package from master backend [ In reply to ]
On 14/08/2020 12:02, Tim Draper wrote:
>
>
>
> ---- On Mon, 10 Aug 2020 17:04:15 +0100 David Hampton <mythtv@love2code.net> wrote ----
> > On Thu, 2020-08-06 at 13:05 +0100, Tim Draper wrote:
> > >
> > >
> > > ---- On Mon, 03 Aug 2020 14:18:35 +0100 Stuart Auchterlonie <
> > > stuarta@squashedfrog.net> wrote ----
> > > > On 30/07/2020 13:18, Tim Draper wrote:
> > > > > all my frontends are having intermittent issues downloading
> > > themes.
> > > > > maybe 95% failure rate. When it suceeds it does not appear to be
> > > getting
> > > > > the desired git commit (cached/old theme version?). When it
> > > suceeds and
> > > > > i then delete the theme on the FE to retry, it will fail.
> > > > >
> > > > > What can i do to figure out whats going wrong?
> > > > > i cant see much in the FE output using the '-v most' option
> > > hoping to
> > > > > see something about a service or hostname being unavailable, but
> > > nothing
> > > > > obvious. I'm at a bit of a loss figuring out how start figuring
> > > out
> > > > > where the issue is.
> > > > >
> > > > > anyone able to help out?
> > > > >
> > > >
> > > > Has this been happening for a while, or has it only started
> > > recently?
> > > >
> > > >
> > > > Regards
> > > > Stuart
> > > >
> > >
> > > it's been happening for a while. Not sure when it started but i'd say
> > > a few months but only had a bit of time recently to start to poke
> > > around and take a look at it.
> > > since posting i've been having issues with my BE - looked like the
> > > boot SSD was having issues so new ssd, reinstall i hoped might fix -
> > > no luck, issue still occuring.
> > >
> > > any pointers for debugging this? cant find a way manually trigger or
> > > configuring logging options to investigate whats going on. theme
> > > download failure seems to happen early in the process so i'm thinking
> > > a corrupt file, unmet dependancy, DNS or firewall type issue.
> >
> > It looks like all the theme related messages are gui:info so you need
> > to start mythfrontend with '-v gui'. You can force a download of the
> > themes by removing the directory ~/.mythtv/cache/themechooser on the
> > frontend, and then going into Setup->Theme Chooser.
> >
> > You can test for network issues by trying to download the themes file
> > by hand. Try this:
> >
> > wget http://themes.mythtv.org/themes/repository/31/themes.zip
> >
> > David
>
>
> tried the '-v gui' but no output when it fails from master backend.
> wget obtains the themes.zip ok. extract and wget at the url within the themeinfo.xml also works. i think that safely eliminates any network issue.
> tried deleting the theme files via both the FE menu interface and via ssh but no difference.
>
> it's now raised more questions than answers with how themes work and the github.com/MythTV-Themes repo. I submitted patches for mythbuntu theme in June for the new 31 deinterlacing playback info and to fix a videos.xml font issue. just realised that i only submitted to master and not 31/fixes branch (my mythtv deployment runs 31/fixes).
> could there be something funky going on between the github repo and the themeinfo.xml download url?
>

For the fix to be available for fixes/31 frontends, then it needs to be
committed to that branch in the theme repo.

There is a twice daily build that packages the themes from their source
repository before they are sync'd to the osuosl mirror, which is where
the frontend will ultimately pull the theme package from.

Maybe try downloading the relevant theme package from
http://ftp.osuosl.org/pub/mythtv/themes/31/ ????

Regards
Stuart

> Mythbuntu (my prefered theme) and Readability (2nd choice, not even in github mythtv-themes) both exhibiting the issue.
>
> genuinely confused on what the issue could be. while the SQL db files were kept, the BE was rebuilt fresh a few weeks ago, and FE's are also pretty new.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org