LinHES Forums
http://forums.linhes.org/

Upgrade linhes 8.0
http://forums.linhes.org/viewtopic.php?f=22&t=24758
Page 2 of 2

Author:  stinga [ Fri May 18, 2018 2:42 am ]
Post subject:  Re: Upgrade linhes 8.0

[All removed, as I was on the wrong backend]

Author:  stinga [ Fri May 18, 2018 2:58 am ]
Post subject:  Re: Upgrade linhes 8.0

and...

I have fixed system time
Code:
[root@mythtv ~]# date
Fri May 18 09:48:01 BST 2018


and db time is correct:
Code:
mythtv Fri May 18 09:49:29 2018 [(none)]: select now();
+---------------------+
| now()               |
+---------------------+
| 2018-05-18 09:49:34 |
+---------------------+


but web time is incorrect:

Code:
 MythWeb: Thu May 17, 2018, 09:47 PM


I have tried a reboot (just in case) and all times have stuck, system and DB but the web is 24 hours behind, very strange...

Author:  stinga [ Fri May 18, 2018 4:39 am ]
Post subject:  Re: Upgrade linhes 8.0

More on date time:

Code:
[root@mythtv ~]# date
Fri May 18 11:17:34 BST 2018


Code:
Upcoming Recordings (Next 12 Scheduled):
----------------------------------------
    Fri May 18 02:10PM - mythtv - 1 (BBC 1) (BBC 1)
    Sat May 19 06:00AM - mythtv - BBC News at Six (BBC 1)
    Sat May 19 06:00AM - mythtv - Bones (Your TV)
    Sat May 19 06:30AM - mythtv - Spotlight (BBC 1)
    Sat May 19 07:00AM - mythtv - Channel 4 News (Channel 4)
    Sat May 19 07:00AM - mythtv - The Gadget Show (FIVE)
    Sat May 19 07:00AM - mythtv - Bones (Your TV)
    Sat May 19 09:00AM - mythtv - Have I Got News for You (BBC 1)
    Sat May 19 09:00AM - mythtv - Gogglebox (Channel 4)
    Sat May 19 10:00AM - mythtv - Bones (Your TV)
    Sat May 19 11:00AM - mythtv - Bones (Your TV)
    Sat May 19 12:10PM - mythtv - Gogglebox (4Seven)


web is still showing
Quote:
MythWeb: Thu May 17, 2018, 11:18 PM


and upcoming recording on mythweb:

Code:
        Sat 1   1 (BBC 1): 2018-05-18 14:10:00         101 - BBC 1       Fri May 18, 2018 (02:10 AM)     10 mins         
        Sat 1   BBC News at Six                        101 - BBC 1       Fri May 18, 2018 (05:58 PM)     37 mins         
        Sat 2   Bones: The Wannabe in the Weeds        156 - Your TV     Fri May 18, 2018 (06:00 PM)     1 hr   
        Sat 1   Spotlight                              101 - BBC 1       Fri May 18, 2018 (06:28 PM)     37 mins         
        Sat 4   Bones: The Pain in the Heart           156 - Your TV     Fri May 18, 2018 (07:00 PM)     1 hr   
        Sat 3   Channel 4 News                         104 - Channel 4   Fri May 18, 2018 (07:00 PM)     30 mins         
        Sat 2   HDThe Gadget Show                      105 - FIVE        Fri May 18, 2018 (07:00 PM)     1 hr   
        Sat 2   Gogglebox                              104 - Channel 4   Fri May 18, 2018 (09:00 PM)     1 hr   
        Sat 1   Have I Got News for You                101 - BBC 1       Fri May 18, 2018 (08:58 PM)     37 mins         
        Sat 1   Bones: The Man in the Mud              156 - Your TV     Fri May 18, 2018 (10:00 PM)     1 hr
        Sat 1   Bones: Player Under Pressure           156 - Your TV     Fri May 18, 2018 (11:00 PM)     1 hr
Sat May 19, 2018
        Sat 1   Gogglebox                              127 - 4Seven      Sat May 19, 2018 (12:10 AM)     1 hr
        Sat 2   Gogglebox                              122 - E4          Sat May 19, 2018 (01:15 AM)     1 hr 10 mins
        Sat 1   1 (BBC 1): 2018-05-19 14:10:00         101 - BBC 1       Sat May 19, 2018 (02:10 AM)     10 mins                 
        Sat 1   Humans                                 104 - Channel 4   Sat May 19, 2018 (02:30 AM)     55 mins                                 
        Sat 1   Rebus: Let It Bleed                    158 - Drama       Sat May 19, 2018 (08:58 PM)     1 hr 42 mins


as you can see the date times are different.

I have a datetime/timezone mismatch somewhere but %$^£ if I can find it.

Author:  stinga [ Fri May 18, 2018 5:45 am ]
Post subject:  Re: Upgrade linhes 8.0

So it seems that something changed (I may have rebooted, but now the webpage is showing the correct date time.
I have scheduled a recording and will see it if records.


/usr/LH/bin/myth_status.py still show wrong times:

Code:
Upcoming Recordings (Next 12 Scheduled):
----------------------------------------
    Fri May 18 02:10PM - mythtv - 1 (BBC 1) (BBC 1)
    Sat May 19 06:00AM - mythtv - BBC News at Six (BBC 1)
    Sat May 19 06:00AM - mythtv - Bones (Your TV)
    Sat May 19 06:30AM - mythtv - Spotlight (BBC 1)
    Sat May 19 07:00AM - mythtv - Channel 4 News (Channel 4)
    Sat May 19 07:00AM - mythtv - The Gadget Show (FIVE)
    Sat May 19 07:00AM - mythtv - Bones (Your TV)
    Sat May 19 09:00AM - mythtv - Have I Got News for You (BBC 1)
    Sat May 19 09:00AM - mythtv - Gogglebox (Channel 4)
    Sat May 19 10:00AM - mythtv - Bones (Your TV)
    Sat May 19 11:00AM - mythtv - Bones (Your TV)
    Sat May 19 12:10PM - mythtv - Gogglebox (4Seven)

It like 12 hours in the future.

Author:  stinga [ Mon May 21, 2018 5:30 am ]
Post subject:  Re: Upgrade linhes 8.0

I may have fixed the issue. Not sure what I did and maybe it just took time to work, but it seems that things have moved to the correct time - wierd.

Author:  tscholl [ Mon May 21, 2018 7:57 am ]
Post subject:  Re: Upgrade linhes 8.0

I had a similar problem with the wrong timezone in Mythweb. This explained and fixed it.
https://forum.mythtv.org/viewtopic.php?t=1558
Code:
Re: Mythweb using wrong time/timezone

Post by Deuce » Wed Nov 15, 2017 2:38 am
For posterity, I experienced the same issue, and it was caused by stale data in the mythweb_sessions table. Truncating the table and refreshing solved the problem.

Code: Select all
mysql -umythtv -p mythconverg -e 'TRUNCATE TABLE mythweb_sessions;'

How did it get that way?
I had restored an older database while working on a totally different issue.

Author:  stinga [ Mon May 21, 2018 9:02 am ]
Post subject:  Re: Upgrade linhes 8.0

OK, that could make sense for the web portion as the timezone is included in there.

"Europe/London"

Which I assume it was not before.
Still does not explain why the recording were ~12 hours out but I will put that down to me fiddling and eventually doing something correctly.

Only have deinterlace issues and jerkyness when panning now.
Oh and xscreensaver does not work until 8.3 and it looks like smartlctl is foobar'd

And it seem to have lost a random selection of recording rules. IE the news it used record every day now thinks it has been recorded already <grrr>
And it does not want to shutdown when there are no recordings to do.
And I need to remove that annoying xymon stuff that pops up (disk removed, I know they are full!)
And the annoying putting logs in a date directory (gah! I hate that) They never seem to be deleted (fixed!)

This spam:
[code2018-05-21T15:50:01.092555+01:00 mythtv postfix/postfix-script[30634]: error: unknown command: ''
2018-05-21T15:50:01.095373+01:00 mythtv postfix/postfix-script[30635]: fatal: usage: postfix start (or stop, reload, abort, flush, check, status, set-permissions, upgrade-configuration)
][/code]
and this:
[code2018-05-21T15:51:36.542149+01:00 mythtv ntpd[961]: ntpd 4.2.6p5@1.2349-o Wed Aug 1 19:32:53 UTC 2012 (1)
2018-05-21T15:51:36.542303+01:00 mythtv ntpd[961]: proto: precision = 0.101 usec
2018-05-21T15:51:36.542604+01:00 mythtv ntpd[961]: unable to bind to wildcard address 0.0.0.0 - another process may be running - EXITING
][/code]

I will upgrade a bit more, that will fix some of the issues! :-)
Onwards and upwards.

Page 2 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/