Bugzilla: Software error: cannot determine local timezone

I just finished installing BugZilla but I am not prompted to set up an admin and admin account. The database indicates that there is a user created with email admin@mydomain.com

, so I am trying to reset the password. When I try to reset the password, I get the following error:

Software error:

Unable to determine local timezone

Timezone set:

$ dpkg-reconfigure tzdata

Current default time zone: 'America/New_York'
Local time is now:      Tue Oct 14 21:14:12 EDT 2014.
Universal Time is now:  Wed Oct 15 01:14:12 UTC 2014.

      

I can't follow instructions like this one as I don't have access to the admin panel yet, as I don't have access because there is no admin account. What should I do?

+3


source to share


4 answers


I just did sudo cpan DateTime::TimeZone

and fixed the problem.



+3


source


I had the same problem. I resolved this by putting BEGIN {$ ENV {TZ} = 'America / Denver'} in the Bugzilla / Util.pm file. See the code snippet below and insert "BEGIN {$ ENV {TZ} = 'America / Denver'}" as shown

`use Date::Parse; 
use Date::Format; 
BEGIN { $ENV{TZ} = 'America/Denver' } 
use DateTime; 
use DateTime::TimeZone; `

      



Hope this helps. -

+1


source


I had the same error with perl on Windows, which was fixed by installing the DateTime :: TimeZone :: Local :: Win32 module

+1


source


Same problem. I eventually traced it back to an old version List::Util

in the Bugzilla lib after updating Bugzilla. I fixed this using:

$ ./install-module.pl List::Util

      

0


source







All Articles