error after upgrading Bugzilla from 3.2.2 to 3.2.3

Hi,

I have two Windows Server 2003 machines running Bugzilla 3.2.2 +
Testopia 2.2, one is production and the other is for test, both have
same configuration. I tried to upgrade it with patch file
bugzilla-3.2.2-to-3.2.3.diff.gz, and my steps are:
1) Shut down your Bugzilla installation by putting some HTML or text
in the shutdownhtml parameter
2) untar the .diff file and use unix2dos.exe to  replace Unix line
feed characters with Windows carriage returns
3) run the command: path -p1 < bugzilla-3.2.2-to-3.2.3.diff
4) run the command: perl checksetup.pl
5) remove the text of shutdownhtml parameter from \data\params file

The weird is it was fine on my test machine but it failed on my
production one. I got the following error when connect to Bugzilla in
browser:
[[[
Software error:
Can't locate Bugzilla/Constants.pm in @INC (@INC contains: . lib C:/
perl/site/lib C:/perl/lib) at Bugzilla/Config.pm line 36.
BEGIN failed--compilation aborted at Bugzilla/Config.pm line 36.
Compilation failed in require at Bugzilla.pm line 38.
BEGIN failed--compilation aborted at Bugzilla.pm line 38.
Compilation failed in require at C:\Inetpub\wwwroot
\bugzilla-3.2.2\index.cgi line 34.
BEGIN failed--compilation aborted at C:\Inetpub\wwwroot
\bugzilla-3.2.2\index.cgi line 34.
]]]

Could anybody help me how to solve this problem? The Bugzilla/
Constants.pm file is phsically there but seems can't be load.
0
J
7/16/2009 12:42:09 AM
mozilla.support.bugzilla 10182 articles. 0 followers. Post Follow

4 Replies
1223 Views

Similar Articles

[PageSpeed] 57
Get it on Google Play
Get it on Apple App Store

J X wrote:
> Software error:
> Can't locate Bugzilla/Constants.pm in @INC (@INC contains: . lib C:/
> perl/site/lib C:/perl/lib) at Bugzilla/Config.pm line 36.

	That means that the webserver doesn't have permission to read the file. 
Perhaps its permissions got reset when you did the "patch" command 
(which you specified as "path" above, but I assume that was a typo).

	-Max
-- 
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.
0
Max
7/16/2009 12:51:55 AM
J,

2009/7/16 J X <yummytester@gmail.com>:
> Can't locate Bugzilla/Constants.pm in @INC (@INC contains: . lib C:/

do you use Cygwin? Cygwin's patch.exe does evil things to Windows
permissions which checksetup.pl is unable to fix. Compare permissions
on patched files to those on unpatched files and repair the broken
ones.

   Kind regards
      Marc
0
Marc
7/16/2009 6:21:32 AM
On Jul 15, 11:21=A0pm, Marc Schumann <wurbl...@gmail.com> wrote:
> J,
>
> 2009/7/16 J X <yummytes...@gmail.com>:
>
> > Can't locate Bugzilla/Constants.pm in @INC (@INC contains: . lib C:/
>
> do you use Cygwin? Cygwin's patch.exe does evil things to Windows
> permissions which checksetup.pl is unable to fix. Compare permissions
> on patched files to those on unpatched files and repair the broken
> ones.
>
> =A0 =A0Kind regards
> =A0 =A0 =A0 Marc

I think I used GnuWin32 patch.exe to do the patch. I would examine the
file permissions as you suggested to see if any clue. The weird is I
used same version of utility tools doing the same procedure twice, one
successful and another fail.
0
J
7/16/2009 5:10:04 PM
On Jul 16, 10:10=A0am, J X <yummytes...@gmail.com> wrote:
> On Jul 15, 11:21=A0pm, Marc Schumann <wurbl...@gmail.com> wrote:
>
> > J,
>
> > 2009/7/16 J X <yummytes...@gmail.com>:
>
> > > Can't locate Bugzilla/Constants.pm in @INC (@INC contains: . lib C:/
>
> > do you use Cygwin? Cygwin's patch.exe does evil things to Windows
> > permissions which checksetup.pl is unable to fix. Compare permissions
> > on patched files to those on unpatched files and repair the broken
> > ones.
>
> > =A0 =A0Kind regards
> > =A0 =A0 =A0 Marc
>
> I think I used GnuWin32 patch.exe to do the patch. I would examine the
> file permissions as you suggested to see if any clue. The weird is I
> used same version of utility tools doing the same procedure twice, one
> successful and another fail.

Hi Marc,

I've fixed my problem! You are right, the actual cause is the Windows
permissions of those patched files. I did upgrading on my test machine
with a local account, but upgraded production server with a Remote
Desktop account. I noticed the patched files have different
permissions with the rest, and I then manually fixed them, and it
works!

Thank you for your helpful advice!
JX
0
J
7/16/2009 6:40:03 PM
Reply:

Similar Artilces:

Bugzilla Upgrade
Hi Support Team, =20 I plan to upgrade from Bugzilla 3.0.3 to 3.2.2 . Our bugzilla setup has a lot of "Custom fileds" .=20 I went thro' the upgrade notes but that does not explicitly=20 mention about the steps that I need to follow with "Custom Fields".=20 Do I need to copy some files from template/en/custom to the new location ? Please let me know the steps that I need to follow for the upgrade with custom fields.=20 =20 Thanks for your help! -J ...

Bugzilla upgrade from ver 3.2 to 3.2.2 (tarball upgrade issue)
Dear Sir, I read upgrade guide (http://www.bugzilla.org/docs/3.2/en/html/upgrade.html#upgrade-tarball) and do upgrade with tarball(from ver 3.2 to 3.2.2) I followed steps in this guide: [daniel@palfocus www]$ tar -zxvf bugzilla-3.2.2.tar.gz bugzilla-3.2.2/ bugzilla-3.2.2/CVS/ bugzilla-3.2.2/CVS/Root bugzilla-3.2.2/CVS/Repository ........ [daniel@palfocus www]$ cd bugzilla-3.2.2 [daniel@palfocus bugzilla-3.2.2]$ cp ../bugzilla/localconfig* . [daniel@palfocus bugzilla-3.2.2]$ cp -r ../bugzilla/data . [daniel@palfocus bugzilla-3.2.2]$ cd .. [daniel@palfocus www]$ mv bugzilla bug...

Bugzilla 3.2 to 3.2.2 upgrade via patch
How do I know whether or not I have correctly completed the patch upgrade process? =20 Thanks,=20 =20 Peter -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- This message is for the named person's use only. This communication is for informational purposes only and has been obtained from sources believed to be reliable, but it is not necessarily complete and its accuracy cannot be guaranteed. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Mo...

[ANN] Release of Bugzilla 3.2.2, 3.0.8, and 3.3.3
Bugzilla 3.2.1, 3.0.7, and 3.3.2 contained a bug that was critical for any installation running under mod_perl, due to an unintentional interaction between the various security fixes in those releases. We are releasing three new releases today to fix the critical issue: 3.2.2, 3.0.8, and 3.3.3. They are identical to the previous release except that they have this one fix for installations running under mod_perl. Download -------- Bugzilla is available at: http://www.bugzilla.org/download/ Security Advisory ----------------- Details of the fix are in the Security Adviso...

Error when upgrading Bugzilla and Testopia to 3.2 and 2.2 respectively #2
Hello, I upgraded testopia and Bugzilla to 2.2 and 3.2 respectively. Previous versions are Bugzilla 3.0.2 and Testopia 2.2. It seems that when I am clicking the "Do some testing" link, error shown below is occuring. Also after I restored the database, test runs doesn't appear anymore. Software error: DBD::mysql::db selectrow_hashref failed: Unknown column 'target_pass' in 'field list' [for Statement " SELECT run_id,plan_id,environment_id,product_version,build_id,plan_text_version,manager_id,start_date,stop_date,summary,notes,target_...

Testopia 2.2 and Bugzilla 3.2.3
Hi All, Currently I am using bugzilla 2.22.2 and testopia 1.2.2. Now I want to upgrade to Bugzilla 3.2.3 and Testopia 2.2. I have gone through the upgradation process, but i didn't understand what I am doing is correct way or not. Can you please let me know is it right or wrong? Here my steps: --------------------- 1. Currently bugzilla 2.22.2 and testopia is running. 2. went to /usr/local/www/data/bugzilla/ folder.. 3. un the following command patch -p2 -R testopia/patch-2.22 4. Then untar the bugzilla-3.2.3 tar file. 5. rename the bugzilla folder to bugzilla.bak 6....

[ANN] Release of Bugzilla 3.2.1, 3.0.7, 2.22.7, and 3.3.2
Today we have some major security improvements for Bugzilla in the form of four releases. We strongly recommend that all Bugzilla administrators read the Security Advisory for these releases, which is linked below in this email. Bugzilla 3.2.1 is our latest stable release. It contains various useful bug fixes in addition to major security improvements. Bugzilla 3.0.7 and Bugzilla 2.22.7 are security updates for their branches. Bugzilla 3.3.2 is an unstable development release. In addition to the security fixes that all the other releases contain, this release contains n...

Error after upgrade from 3.2 to 3.2.2 (win2003)
Hello I am still a newbie here and have been trying to figure out how to do an upgrade from 3.2 to 3.2.2 on our windows 2003 server. Here is my configuration: Win2003, Apache 2.2, MySQL5.1, Perl 5.8.9, Bugzilla 3.2 I followed instructions found on: https://wiki.mozilla.org/Bugzilla:Win32Install#Installing_Bugzilla_From_CVS. I did following command since I could not figure out how to run the 'patch' with CVSNT: S:\bugzilla-3.2>cvs update -R -d -rBugzilla_Stable Empty password used - try 'cvs login' with a real password and got following errors when accessin...

Upgrade Bugzilla 2.22.3 to Bugzilla 3.4.6 under Windows-XP. #2
This is a multi-part message in MIME format. ------=_NextPart_000_0043_01CB059F.E89B4560 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hello, =20 * I=92m using the Bugzilla-2.22.3 under Windows-XP and would like upgrading to new release of Bugzilla-3.4.6 (also under Windows-XP).=20 =20 * I have followed the instructions of the following (correspondingly to Windows-XP): http://www.bugzilla.org/docs/3.4/en/html/upgrade.html.=20 =20 * I have installed the full required Perl-modules regarding the output of checks...

Security Advisory for Bugzilla 3.0.3, 3.1.3, 2.22.3, and 2.20.5
--Sig_/7+QS=YT68me2o8pI2lL1LPd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Summary =3D=3D=3D=3D=3D=3D=3D Bugzilla is a Web-based bug-tracking system, used by a large number of software projects. This advisory covers three security issues that have recently been fixed in the Bugzilla code: * Users without the "canconfirm" privilege could enter a bug as NEW or ASSIGNED by using the XML-RPC interface. * When viewing several bugs at once, there was a Cross-Site Scripting hole. * The inbound email interface allowed you t...

[ANN] Release of Bugzilla 3.2.8, 3.4.8, 3.6.2, and 3.7.3
Today we have four new releases. One new development snapshot (3.7.3), one new stable release (3.6.2) and two security updates for the old stable releases (3.4.8 and 3.2.8). Bugzilla 3.6.2 is our latest stable release. It contains various useful bug fixes and security improvements for the 3.6 branch. Bugzilla 3.4.8 and 3.2.8 are security updates for the 3.4 branch and the 3.2 branch, respectively. Bugzilla 3.7.3 is our third unstable development release leading to Bugzilla 4.0. We have done a fair amount of QA on this release. However, QA found many bugs that have not ye...

[ANN] Security Advisory for Bugzilla 3.2.8, 3.4.8, 3.6.2, and 3.7.3
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Summary ======= Bugzilla is a Web-based bug-tracking system used by a large number of software projects. The following security issues have been discovered in Bugzilla: * There is a way to inject both headers and content to users, causing a serious Cross-Site Scripting vulnerability. * It was possible to see graphs from Old Charts even if you did not have access to a particular product, and you could browse a particular URL to see all product names. * YUI 2.8.1, which shipped with Bugzilla starting with 3.7.x, contain...

Testopia 1.3 (Bugzilla 3.0) and Testopia 1.2.2 (Bugzilla 2.22.x) Released
Testopia 1.3 has been released.=20 This Testopia is compatible with Bugzilla 3.0 and mod_perl and provides Postgres support. For those of you still running Bugzilla 2.22.x, I am also releasing 1.2.2 which is a (major) bug fix release. They are available from the project home page at http://www.mozilla.org/projects/testopia Thanks for all the feedback. Keep it coming. Greg Hendricks ...

Error when upgrading Bugzilla and Testopia to 3.2 and 2.2 respectively
Checking for DBD-mysql (v4.00) ok: found v4.005 Checking for MySQL (v4.1.2) ok: found v5.0.45-community-nt Building Schema object from database... Adding new table bz_schema ... Initializing the new Schema storage... Adding new table attach_data ... Adding new table attachments ... Adding new table bug_group_map ... Adding new table bug_severity ... Adding new table bug_status ... Adding new table bugs ... Adding new table bugs_activity ... Adding new table bugs_fulltext ... Adding new table category_group_map ... Adding new table cc ... Adding new table...

Web resources about - error after upgrading Bugzilla from 3.2.2 to 3.2.3 - mozilla.support.bugzilla

Facebook Starts Upgrading Profiles To Timeline
A couple of readers told us that timeline previews have kicked in on their profiles without their having initiated the change themselves. A welcome ...

Facebook Upgrading “Insights” Metrics Dashboard for Page Managers Tonight
Facebook has just begun pushing an upgrade to its “Insights” metrics dashboard for Facebook Pages that gives administrators more visibility into ...

Flickr: Help: Free Accounts, Upgrading and Gifts
Flickr is almost certainly the best online photo management and sharing application in the world. Show off your favorite photos and videos to ...

Mac Spoofed: Upgrading [Low Quality]
PC teaches Mac about the benefits of upgradability.

Coalition's NBN will need ongoing, costly upgrading, experts warn
The Coalition's planned broadband infrastructure will "freeze" broadband speeds, and need ongoing and expensive upgrading to resemble the system ...

Beware of unintended and costly consequences when upgrading houses
Meeting the Building Code measures on energy efficiency is a potentially tricky business, even if you are upgrading or extending only one part ...

Nuclear states still upgrading stocks
Nuclear armed states continue to upgrade their stockpiles despite s trend towards global disarmament.

Looks like Labor's upgrading from Tarago to minibus
The people of Stafford have done the rest of Queensland a favour by electing Dr Anthony Lynham.

Promise check: $16m towards upgrading Hobart's Cadbury factory
Keep track of the Coalition's promise to spend $16 million on upgrading Hobart's Cadbury chocolate factory.

Upgrading IOIO to Bluetooth - YouTube
An instructional video showing how to upgrade IOIO's firmware in order to make it Bluetooth capable. Downloads are at: https://github.com/yt ...

Resources last updated: 1/20/2016 9:49:44 PM