Error when try to c...
 
Notifications
Clear all

Error when try to change timezone during install

1 Posts
1 Users
0 Reactions
476 Views
(@jmurciay)
Joined: 1 year ago
Posts: 2
Topic starter  

I recently set up a lab to test the CE version and found that when I tried to change the time zone from America/Los Angeles to my time zone the wizard cancelled the installation and generated an error in the "/opt/zextras/libexec/zmsetup.pl" file.

The solution I found was:

vim /opt/zextras/libexec/zmsetup.pl

Search for line 2497 and replace the default time zone with my time zone like this:

....
 detail("Local timezone detected as $tzname\n");
my $tzdata = Zimbra::Util::Timezone->parse;
my $tz = $tzdata->gettzbyname($tzname);
$config{zimbraPrefTimeZoneId} = $tz->tzid if (defined $tz);
$config{zimbraPrefTimeZoneId} = 'America/Bogota'
if ($config{zimbraPrefTimeZoneId} eq "");
detail("Default Olson timezone name $config{zimbraPrefTimeZoneId}\n");

....

Then run: /opt/zextras/libexec/zmsetup.pl to continue the installation.

Translated with www.DeepL.com/Translator (free version)


   
Quote