← Back to team overview

ubuntuforums-unanswered team mailing list archive

[Question #77916]: Upgrade Bugzilla on Hardy

 

Question #77916 on bugzilla in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/bugzilla/+question/77916

Description changed to:
I download bugzilla3_3.2.0.1-1~hardy2_all.deb  from Rolf Leggewie's PPA.
After install, configure I got following error when access to the
bugzilla. Thanks you for any help.

======
ERROR
======
"Bugzilla has suffered an internal error. Please save this page and send it to health.istmhelpdesk@xxxxxxxxxxxxxxx with details of what you were doing at the time this message appeared.

URL: http://mybugs/

Template->process() failed twice.
First error: undef error - DBD::mysql::st execute failed: Unknown column 'subclass' in 'field list' [for Statement "SELECT name, default_value, is_enabled, subclass FROM setting ORDER BY name"] at /usr/share/perl5/Bugzilla/User/Setting.pm line 211 Bugzilla::User::Setting::get_defaults() called at /usr/share/perl5/Bugzilla/User.pm line 349 Bugzilla::User::settings('Bugzilla::User=HASH(0x85d4c40)') called at /var/lib/bugzilla3/mybugs/data/template//var/lib/bugzilla3/template/en/default/global/header.html.tmpl line 50 eval {...} called at /var/lib/bugzilla3/mybugs/data/template//var/lib/bugzilla3/template/en/default/global/header.html.tmpl line 50 eval {...} called at /var/lib/bugzilla3/mybugs/data/template//var/lib/bugzilla3/template/en/default/global/header.html.tmpl line 16 Template::Provider::__ANON__('Template::Context=HASH(0x9093f64)') called at /usr/lib/perl5/Template/Document.pm line 155 eval {...} called at /usr/lib/perl5/Template/Document.pm line 153 Template::Document::process('Template::Document=HASH(0x910969c)', 'Template::Context=HASH(0x9093f64)') called at /usr/lib/perl5/Template/Context.pm line 349 eval {...} called at /usr/lib/perl5/Template/Context.pm line 319 Template::Context::process('Template::Context=HASH(0x9093f64)', 'global/header.html.tmpl', 'HASH(0x90d89d0)') called at /var/lib/bugzilla3/mybugs/data/template//var/lib/bugzilla3/template/en/default/index.html.tmpl line 24 eval {...} called at /var/lib/bugzilla3/mybugs/data/template//var/lib/bugzilla3/template/en/default/index.html.tmpl line 16 Template::Provider::__ANON__('Template::Context=HASH(0x9093f64)') called at /usr/lib/perl5/Template/Document.pm line 155 eval {...} called at /usr/lib/perl5/Template/Document.pm line 153 Template::Document::process('Template::Document=HASH(0x90bcbb8)', 'Template::Context=HASH(0x9093f64)') called at /usr/lib/perl5/Template/Context.pm line 349 eval {...} called at /usr/lib/perl5/Template/Context.pm line 319 Template::Context::process('Template::Context=HASH(0x9093f64)', 'Template::Document=HASH(0x90bcbb8)') called at /usr/lib/perl5/Template/Service.pm line 94 eval {...} called at /usr/lib/perl5/Template/Service.pm line 91 Template::Service::process('Template::Service=HASH(0x9093eb0)', 'index.html.tmpl', 'HASH(0x8fb0820)') called at /usr/lib/perl5/Template.pm line 68 Template::process('Bugzilla::Template=HASH(0x90368c0)', 'index.html.tmpl', 'HASH(0x8fb0820)') called at /usr/lib/cgi-bin/bugzilla3/index.cgi line 73
Second error: undef error - DBD::mysql::st execute failed: Unknown column 'subclass' in 'field list' [for Statement "SELECT name, default_value, is_enabled, subclass FROM setting ORDER BY name"] at /usr/share/perl5/Bugzilla/User/Setting.pm line 211 Bugzilla::User::Setting::get_defaults() called at /usr/share/perl5/Bugzilla/User.pm line 349 Bugzilla::User::settings('Bugzilla::User=HASH(0x85d4c40)') called at /var/lib/bugzilla3/mybugs/data/template//var/lib/bugzilla3/template/en/default/global/header.html.tmpl line 50 eval {...} called at /var/lib/bugzilla3/mybugs/data/template//var/lib/bugzilla3/template/en/default/global/header.html.tmpl line 50 eval {...} called at /var/lib/bugzilla3/mybugs/data/template//var/lib/bugzilla3/template/en/default/global/header.html.tmpl line 16 Template::Provider::__ANON__('Template::Context=HASH(0x9093f64)') called at /usr/lib/perl5/Template/Document.pm line 155 eval {...} called at /usr/lib/perl5/Template/Document.pm line 153 Template::Document::process('Template::Document=HASH(0x910969c)', 'Template::Context=HASH(0x9093f64)') called at /usr/lib/perl5/Template/Context.pm line 349 eval {...} called at /usr/lib/perl5/Template/Context.pm line 319 Template::Context::process('Template::Context=HASH(0x9093f64)', 'global/header.html.tmpl') called at /var/lib/bugzilla3/mybugs/data/template//var/lib/bugzilla3/template/en/default/global/code-error.html.tmpl line 1789 eval {...} called at /var/lib/bugzilla3/mybugs/data/template//var/lib/bugzilla3/template/en/default/global/code-error.html.tmpl line 16 Template::Provider::__ANON__('Template::Context=HASH(0x9093f64)') called at /usr/lib/perl5/Template/Document.pm line 155 eval {...} called at /usr/lib/perl5/Template/Document.pm line 153 Template::Document::process('Template::Document=HASH(0x91c31b4)', 'Template::Context=HASH(0x9093f64)') called at /usr/lib/perl5/Template/Context.pm line 349 eval {...} called at /usr/lib/perl5/Template/Context.pm line 319 Template::Context::process('Template::Context=HASH(0x9093f64)', 'Template::Document=HASH(0x91c31b4)') called at /usr/lib/perl5/Template/Service.pm line 94 eval {...} called at /usr/lib/perl5/Template/Service.pm line 91 Template::Service::process('Template::Service=HASH(0x9093eb0)', 'global/code-error.html.tmpl', 'HASH(0x914728c)') called at /usr/lib/perl5/Template.pm line 68 Template::process('Bugzilla::Template=HASH(0x90368c0)', 'global/code-error.html.tmpl', 'HASH(0x914728c)') called at /usr/share/perl5/Bugzilla/Error.pm line 148 Bugzilla::Error::ThrowTemplateError('Template::Exception=ARRAY(0x91365f0)') called at /usr/lib/cgi-bin/bugzilla3/index.cgi line 73 
"
==============================
The output when run sudo ./checksetup.pl
==============================

run-parts --exit-on-error --lsbsysinit /usr/share/bugzilla3/debian//pre-checksetup.d
run-parts: executing /usr/share/bugzilla3/debian//pre-checksetup.d/10fixtemplates
* This is Bugzilla 3.2.0.1-1~hardy2 on perl 5.8.8
* Running on Linux 2.6.24-23-xen #1 SMP Wed Apr 1 23:47:10 UTC 2009

Checking perl modules...
Checking for              CGI.pm (v3.21)    found v3.15
Checking for            TimeDate (v2.21)   ok: found v2.22
Checking for           PathTools (v0.84)   ok: found v3.12
Checking for                 DBI (v1.41)   ok: found v1.601
Checking for    Template-Toolkit (v2.15)   ok: found v2.19
Checking for          Email-Send (v2.00)   ok: found v2.192
Checking for          Email-MIME (v1.861)  ok: found v1.861
Checking for Email-MIME-Modifier (v1.442)  ok: found v1.442

Checking available perl DBD modules...
Checking for              DBD-Pg (v1.45)    not found
Checking for           DBD-mysql (v4.00)   ok: found v4.005
Checking for          DBD-Oracle (v1.19)    not found

The following Perl modules are optional:
Checking for                  GD (v1.20)   ok: found v2.35
Checking for               Chart (v1.0)    ok: found v2.4.1
Checking for         Template-GD (any)     ok: found v1.56
Checking for          GDTextUtil (any)     ok: found v0.86
Checking for             GDGraph (any)     ok: found v1.44
Checking for            XML-Twig (any)     ok: found v3.32
Checking for          MIME-tools (v5.406)  ok: found v5.425
Checking for         libwww-perl (any)     ok: found v2.036
Checking for         PatchReader (v0.9.4)   not found
Checking for          PerlMagick (any)     ok: found v6.3.7
Checking for           perl-ldap (any)     ok: found v0.34
Checking for         Authen-SASL (any)     ok: found v2.10
Checking for          RadiusPerl (any)      not found
Checking for           SOAP-Lite (any)     ok: found v0.69
Checking for         HTML-Parser (v3.40)   ok: found v3.56
Checking for       HTML-Scrubber (any)     ok: found v0.08
Checking for Email-MIME-Attachment-Stripper (any)      not found
Checking for         Email-Reply (any)      not found
Checking for            mod_perl (v1.999022) ok: found v2.000003
Checking for              CGI.pm (v3.11)   ok: found v3.15
***********************************************************************
* REQUIRED MODULES                                                    *
***********************************************************************
* Bugzilla requires you to install some Perl modules which are either *
* missing from your system, or the version on your system is too old. *
*                                                                     *
* The latest versions of each module can be installed by running the  *
* commands below.                                                     *
***********************************************************************
COMMANDS:

    apt-get install libcgi-pm-perl

**********************************************************************
* OPTIONAL MODULES                                                   *
**********************************************************************
* Certain Perl modules are not required by Bugzilla, but by          *
* installing the latest version you gain access to additional        *
* features.                                                          *
*                                                                    *
* The optional modules you do not have installed are listed below,   *
* with the name of the feature they enable. If you want to install   *
* one of these modules, just run the appropriate command in the      *
* "COMMANDS TO INSTALL" section.                                     *
**********************************************************************

***********************************************************************
*                    MODULE NAME * ENABLES FEATURE(S)                 *
***********************************************************************
*                    PatchReader * Patch Viewer                       *
*                     RadiusPerl * RADIUS Authentication              *
* Email-MIME-Attachment-Stripper * Inbound Email                      *
*                    Email-Reply * Inbound Email                      *
***********************************************************************
COMMANDS TO INSTALL:

    PatchReader: /usr/bin/perl install-module.pl PatchReader
     RadiusPerl: /usr/bin/perl install-module.pl Authen::Radius
Email-MIME-Attachment-Stripper: /usr/bin/perl install-module.pl Email::MIME::Attachment::Stripper
    Email-Reply: /usr/bin/perl install-module.pl Email::Reply

To attempt an automatic install of every required and optional module
with one command, do:

  /usr/bin/perl install-module.pl --all

Running checksetup.pl for site: mybugs
* This is Bugzilla 3.2.0.1-1~hardy2 on perl 5.8.8
* Running on Linux 2.6.24-23-xen #1 SMP Wed Apr 1 23:47:10 UTC 2009

Checking perl modules...
Checking for              CGI.pm (v3.21)    found v3.15
Checking for            TimeDate (v2.21)   ok: found v2.22
Checking for           PathTools (v0.84)   ok: found v3.12
Checking for                 DBI (v1.41)   ok: found v1.601
Checking for    Template-Toolkit (v2.15)   ok: found v2.19
Checking for          Email-Send (v2.00)   ok: found v2.192
Checking for          Email-MIME (v1.861)  ok: found v1.861
Checking for Email-MIME-Modifier (v1.442)  ok: found v1.442

Checking available perl DBD modules...
Checking for              DBD-Pg (v1.45)    not found
Checking for           DBD-mysql (v4.00)   ok: found v4.005
Checking for          DBD-Oracle (v1.19)    not found

The following Perl modules are optional:
Checking for                  GD (v1.20)   ok: found v2.35
Checking for               Chart (v1.0)    ok: found v2.4.1
Checking for         Template-GD (any)     ok: found v1.56
Checking for          GDTextUtil (any)     ok: found v0.86
Checking for             GDGraph (any)     ok: found v1.44
Checking for            XML-Twig (any)     ok: found v3.32
Checking for          MIME-tools (v5.406)  ok: found v5.425
Checking for         libwww-perl (any)     ok: found v2.036
Checking for         PatchReader (v0.9.4)   not found
Checking for          PerlMagick (any)     ok: found v6.3.7
Checking for           perl-ldap (any)     ok: found v0.34
Checking for         Authen-SASL (any)     ok: found v2.10
Checking for          RadiusPerl (any)      not found
Checking for           SOAP-Lite (any)     ok: found v0.69
Checking for         HTML-Parser (v3.40)   ok: found v3.56
Checking for       HTML-Scrubber (any)     ok: found v0.08
Checking for Email-MIME-Attachment-Stripper (any)      not found
Checking for         Email-Reply (any)      not found
Checking for            mod_perl (v1.999022) ok: found v2.000003
Checking for              CGI.pm (v3.11)   ok: found v3.15
***********************************************************************
* REQUIRED MODULES                                                    *
***********************************************************************
* Bugzilla requires you to install some Perl modules which are either *
* missing from your system, or the version on your system is too old. *
*                                                                     *
* The latest versions of each module can be installed by running the  *
* commands below.                                                     *
***********************************************************************
COMMANDS:

    /usr/bin/perl install-module.pl CGI

**********************************************************************
* OPTIONAL MODULES                                                   *
**********************************************************************
* Certain Perl modules are not required by Bugzilla, but by          *
* installing the latest version you gain access to additional        *
* features.                                                          *
*                                                                    *
* The optional modules you do not have installed are listed below,   *
* with the name of the feature they enable. If you want to install   *
* one of these modules, just run the appropriate command in the      *
* "COMMANDS TO INSTALL" section.                                     *
**********************************************************************

***********************************************************************
*                    MODULE NAME * ENABLES FEATURE(S)                 *
***********************************************************************
*                    PatchReader * Patch Viewer                       *
*                     RadiusPerl * RADIUS Authentication              *
* Email-MIME-Attachment-Stripper * Inbound Email                      *
*                    Email-Reply * Inbound Email                      *
***********************************************************************
COMMANDS TO INSTALL:

    PatchReader: /usr/bin/perl install-module.pl PatchReader
     RadiusPerl: /usr/bin/perl install-module.pl Authen::Radius
Email-MIME-Attachment-Stripper: /usr/bin/perl install-module.pl Email::MIME::Attachment::Stripper
    Email-Reply: /usr/bin/perl install-module.pl Email::Reply

To attempt an automatic install of every required and optional module
with one command, do:

  /usr/bin/perl install-module.pl --all

run-parts --exit-on-error --lsbsysinit /usr/share/bugzilla3/debian//post-checksetup.d
run-parts: executing /usr/share/bugzilla3/debian//post-checksetup.d/10permissions
run-parts: executing /usr/share/bugzilla3/debian//post-checksetup.d/90checkwebdot

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.