OpenATV 6.3 changed Time Setting from GMT +0 UK to GMT -11 American Samoa!

panorama93

Registered
Yesterday I did Software Updates on two Zgemma boxes (H.2H and H5) running OpenATV 6.3 only (no builds), and on a Zgemma H5 running OpenATV 6.3 with WooshBuild Infinity. After rebooting, all three boxes that were previously set to GMT +0 UK now showed GMT -11 American Samoa, so I had to go into Menu/Setup/System/Time settings and change them back to GMT +0 UK. Looks like a coding error in the Software Update but no big deal.
 
Last edited:

grog68

VIP Member
Forum Supporter
Yes I flashed grogbuild today had to change it as well.
was that just from flashing or doing a software update?

Can you load openwebif in the browser on your computer and then click on 'terminal' link on the left, now log in by entering username 'root' (without quotes) and then enter the code below and let me know what the results are as Grogbuild FreeRange sets the timezone to GMT by default.

Code:
cat /etc/enigma2/settings |grep -i gmt
 

rapidwrinkly

Forum Supporter
Sorry mate I can't get to the box just yet, it was a simple fix I just changed it manually.
Thanks for the image(y) it was a full reflash.
 
Last edited:

grog68

VIP Member
Forum Supporter
Sorry mate I can't get to the box just yet, it was a simple fix I just changed it manually.
Thanks for the image(y) it was a full reflash.
ok mate no worries, was just checking if they have changed the settings. ATV have a habbit of messing things up
 

Abu Baniaz

TK Veteran
It wasn't ATV who updated the timezone.xml file. It is done now, so might as well change zones manually.
 
Last edited:

grog68

VIP Member
Forum Supporter
It wasn't ATV who updated the timezone.xml file. Damage is done now.
its wouldn't be the timezone.xml that is updated as that just lists timezones, it's the timezone setting. Grogbuild has that set to GMT in the settings file. So if that is being ignored on a fresh flash of the build then it would suggest something in ATV has changed, ie change of variable name.

It's no biggy but if it's effecting plain ATV flash and both Wooshbuild Infinity and Grogbuild FreeRange builds then it MUST be something in ATV that is changing timezone from GMT to GMT -11
 

Abu Baniaz

TK Veteran
Merge pull request #88 from IanSav/patch-1 · oe-alliance/[email protected]

It is the xml file being updated that is causing the issue. On ATV you get the time location options from that file. The variables as you call them.

You cant flash what people call a "build".

The "build" makes a settings backup, you flash an "image" after which which you add feeds and fast restore the settings/plugins. You are trying to restore what is no longer a valid entry in the xml file and that falls back to something else.

Old GMT entries in old xml file
Code:
<zone name="(GMT) Casablanca, Monrovia" zone="Africa/Casablanca" />
<zone name="(GMT) Greenwich Mean Time : Dublin, Lisbon, London" zone="Europe/Dublin" />
Entry in settings file was
Code:
config.timezone.val=(GMT) Greenwich Mean Time : Dublin, Lisbon, London

New GMT entries in new xml file
Code:
    <zone name="(GMT) Antarctica: Troll" zone="Antarctica/Troll" />
    <zone name="(GMT) Burkina Faso" zone="Africa/Ouagadougou" />
    <zone name="(GMT) Faroe Islands" zone="Atlantic/Faroe" />
    <zone name="(GMT) Gambia" zone="Africa/Banjul" />
    <zone name="(GMT) Ghana" zone="Africa/Accra" />
    <zone name="(GMT) Greenland: Danmarkshavn" zone="America/Danmarkshavn" />
    <zone name="(GMT) Guernsey" zone="Europe/Guernsey" />
    <zone name="(GMT) Guinea" zone="Africa/Conakry" />
    <zone name="(GMT) Guinea-Bissau" zone="Africa/Bissau" />
    <zone name="(GMT) Iceland" zone="Atlantic/Reykjavik" />
    <zone name="(GMT) Isle of Man" zone="Europe/Isle_of_Man" />
    <zone name="(GMT) Ivory Coast" zone="Africa/Abidjan" />
    <zone name="(GMT) Jersey" zone="Europe/Jersey" />
    <zone name="(GMT) Liberia" zone="Africa/Monrovia" />
    <zone name="(GMT) Mali" zone="Africa/Bamako" />
    <zone name="(GMT) Mauritania" zone="Africa/Nouakchott" />
    <zone name="(GMT) Portugal: Lisbon" zone="Europe/Lisbon" />
    <zone name="(GMT) Portugal: Madeira" zone="Atlantic/Madeira" />
    <zone name="(GMT) Saint Helena" zone="Atlantic/St_Helena" />
    <zone name="(GMT) Sao Tome and Principe" zone="Africa/Sao_Tome" />
    <zone name="(GMT) Senegal" zone="Africa/Dakar" />
    <zone name="(GMT) Sierra Leone" zone="Africa/Freetown" />
    <zone name="(GMT) Spain: Canary" zone="Atlantic/Canary" />
    <zone name="(GMT) Togo" zone="Africa/Lome" />
    <zone name="(GMT) United Kingdom" zone="Europe/London" />
Europe/Dublin does not exist any more so it defaults to the first one (I think). You then have to seelct a valid one. Pressing the movies/recordings button allows for quicker selection using page jumps. Just like in ABM for selecting areas.

Entry in settings file ends up being this if you select UK
Code:
config.timezone.val=(GMT) United Kingdom
You will have to change your script. Hope that helps

There is a change being proposed which should make selection easier.
 

grog68

VIP Member
Forum Supporter
Merge pull request #88 from IanSav/patch-1 · oe-alliance/[email protected]

It is the xml file being updated that is causing the issue. On ATV you get the time location options from that file. The variables as you call them.

You cant flash what people call a "build".

The "build" makes a settings backup, you flash an "image" after which which you add feeds and fast restore the settings/plugins. You are trying to restore what is no longer a valid entry in the xml file and that falls back to something else.

Old GMT entries in old xml file
Code:
<zone name="(GMT) Casablanca, Monrovia" zone="Africa/Casablanca" />
<zone name="(GMT) Greenwich Mean Time : Dublin, Lisbon, London" zone="Europe/Dublin" />
Entry in settings file was
Code:
config.timezone.val=(GMT) Greenwich Mean Time : Dublin, Lisbon, London

New GMT entries in new xml file
Code:
    <zone name="(GMT) Antarctica: Troll" zone="Antarctica/Troll" />
    <zone name="(GMT) Burkina Faso" zone="Africa/Ouagadougou" />
    <zone name="(GMT) Faroe Islands" zone="Atlantic/Faroe" />
    <zone name="(GMT) Gambia" zone="Africa/Banjul" />
    <zone name="(GMT) Ghana" zone="Africa/Accra" />
    <zone name="(GMT) Greenland: Danmarkshavn" zone="America/Danmarkshavn" />
    <zone name="(GMT) Guernsey" zone="Europe/Guernsey" />
    <zone name="(GMT) Guinea" zone="Africa/Conakry" />
    <zone name="(GMT) Guinea-Bissau" zone="Africa/Bissau" />
    <zone name="(GMT) Iceland" zone="Atlantic/Reykjavik" />
    <zone name="(GMT) Isle of Man" zone="Europe/Isle_of_Man" />
    <zone name="(GMT) Ivory Coast" zone="Africa/Abidjan" />
    <zone name="(GMT) Jersey" zone="Europe/Jersey" />
    <zone name="(GMT) Liberia" zone="Africa/Monrovia" />
    <zone name="(GMT) Mali" zone="Africa/Bamako" />
    <zone name="(GMT) Mauritania" zone="Africa/Nouakchott" />
    <zone name="(GMT) Portugal: Lisbon" zone="Europe/Lisbon" />
    <zone name="(GMT) Portugal: Madeira" zone="Atlantic/Madeira" />
    <zone name="(GMT) Saint Helena" zone="Atlantic/St_Helena" />
    <zone name="(GMT) Sao Tome and Principe" zone="Africa/Sao_Tome" />
    <zone name="(GMT) Senegal" zone="Africa/Dakar" />
    <zone name="(GMT) Sierra Leone" zone="Africa/Freetown" />
    <zone name="(GMT) Spain: Canary" zone="Atlantic/Canary" />
    <zone name="(GMT) Togo" zone="Africa/Lome" />
    <zone name="(GMT) United Kingdom" zone="Europe/London" />
Europe/Dublin does not exist any more so it defaults to the first one (I think). You then have to seelct a valid one. Pressing the movies/recordings button allows for quicker selection using page jumps. Just like in ABM for selecting areas.

Entry in settings file ends up being this if you select UK
Code:
config.timezone.val=(GMT) United Kingdom
You will have to change your script. Hope that helps

There is a change being proposed which should make selection easier.
Ah I see, that makes sense, I thought it was due to the settings variable being changed some how, now I understand what has changed.


GBFR updated, just got to test it in the morning LOL

Thanks @Abu Baniaz
 

rapidwrinkly

Forum Supporter
Sorry Grog late back to the party, when I got home from last nights quiz I wasn't feeling well (must have been a bad sandwich)
I got up this morning intending to change the time back and run your script to see if it changed it but can see it's too late now.
Maybe next time.
 

pdw

Registered
Hi,

I did a software update yesterday and today have noticed that the timezone was set to GMT +1 (forget which region) so I tried to change it manually back to UK but the UK option is no longer available - I opted for GMT Jersey. I dont think it matters but Im using Infinity.

Does anybody know if this is a permanent thing and we'll have to change timezone manually after each update ?

(It looks as if theyve got rid of UK option completely - I knew we were unpopular around the rest of the world, especially after Brexit, but thats going to extremes :laughing: )
 

Abu Baniaz

TK Veteran
United Kingdom is still there. Best you change it.

A new feature is that if you are connected to the Internet, your IP address is used to prefill the timezone after a new flash. So most people will not need to set timezone anyway.
 

Attachments

pdw

Registered
Ah, interesting - but its not after a new flash - its after a software update.

I wonder if I was connected to VPN at the time could have had an affect.
Ive just made sure VPN is not connected, done another software update and it shows timezone still as Jersey - I live in Oxfordshire, UK. ??
Ive checked again and there is no UK option for me. After Togo it goes to GMT +1 - could it be something that Wooshbuild Infinity is doing (im on ATV 6.3)
 

Abu Baniaz

TK Veteran
A software update updates E2. I don't know when your last update was. So if it was before the list of timezones was updated, teh previous entry was no longer available and changed.

I deliberately put the section about IP address in a separet pargraph becuase its is a different feature. It only applies after first flash, so should not apply to you when performing a software update. Nonetheless, concerns about VPN were raised and the person who made these changes said it would be fine. If the issue persists for you, can I request that you flash ATV 6.4 (he did not send changes to 6.3, so avoids tangent/dismissive comments), do not use any "builds" and report the exact error to Iansav
 
  • Like
Reactions: pdw
Top