[mythtv-users] How to tell mythtv to change the time zone

Michael T. Dean mtdean at thirdcontact.com
Sat Nov 14 05:52:22 UTC 2009


On 11/13/2009 10:38 PM, Laura Conrad wrote:
>>>>>> "Michael" == Michael T Dean writes:
>>>>>>             
>     Michael> Have you restarted mythbackend since changing the time zone?  Also,
>     Michael> depending on your distro's startup/scripts, you may need to restart
>     Michael> (reboot) the system for the changes to be "finished."
>     >> 
>     >> I've rebooted several times.
>
>     Michael> Then check your (text file called) /etc/timezone file
>
> America/New_York
>
>     Michael> (and--though it should not be used on a *buntu system,
>     Michael> /etc/sysconfig/clock file). 
>
> /etc/sysconfig/clock: No such file or directory
>
>     Michael> If you don't have an /etc/timezone file or an
>     Michael> /etc/sysconfig/clock file, Myth should be identifying the
>     Michael> time zone based on /etc/localtime.
>
> This is gibberish.  Is that a problem?
>   

No, that's good.  It's a binary file.

>     Michael> What instructions did you follow for changing your time
>     Michael> zone settings on your system?
>
> I think I did:
>
>   dpkg-reconfigure tzdata

OK, in that case, I'm confident that Myth knows what time zone it's in.  
I take it when you say Myth isn't changing the time zone, is that just 
based on the fact that your listings still show the wrong times?

I think the problem is that you just need to re-get your listings data.  
Run the following (as the user who runs the backend):

mysql -umythtv -p mythconverg -e 'TRUNCATE TABLE program;'
mythfilldatabase

Mike



More information about the mythtv-users mailing list