Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error running Bugzilla after install on old database
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
kbjorn
n00b
n00b


Joined: 15 Apr 2005
Posts: 10

PostPosted: Sun Nov 12, 2006 5:11 pm    Post subject: Error running Bugzilla after install on old database Reply with quote

We ahave a bugzilla running and recently made an upgrade to bugzilla-2.18.6. and mysql-5. Before the upgrade I took a dump on the database that I put back into mysql after upgrade. Made an uninstallation of both bugzilla and mysql before the upgrade. When now running bugzilla I get errors like:

DBD::mysql::st execute failed: Unknown column 'bugs.bug_id' in 'on clause' [for Statement "SELECT bugs.bug_id, bugs.bug_severity, bugs.priority, bugs.bug_status, bugs.resolution, bugs.bug_severity, bugs.priority, bugs.rep_platform, map_assigned_to.login_name, bugs.bug_status, bugs.resolution, bugs.short_desc FROM bugs, profiles AS map_assigned_to LEFT JOIN bug_group_map ON bug_group_map.bug_id = bugs.bug_id AND bug_group_map.group_id NOT IN (6,3,9,4,1,7,2,5,8) LEFT JOIN cc ON cc.bug_id = bugs.bug_id AND cc.who = 1 WHERE bugs.assigned_to = map_assigned_to.userid AND (bugs.bug_status IN ('UNCONFIRMED','NEW','ASSIGNED','REOPENED')) AND bugs.creation_ts IS NOT NULL AND ((bug_group_map.group_id IS NULL) OR (bugs.reporter_accessible = 1 AND bugs.reporter = 1) OR (bugs.cclist_accessible = 1 AND cc.who IS NOT NULL) OR (bugs.assigned_to = 1) ) GROUP BY bugs.bug_id"] at Bugzilla/DB.pm line 65
Bugzilla::DB::SendSQL('SELECT bugs.bug_id, bugs.bug_severity, bugs.priority, bugs.bu...') called at /var/www/bugzilla/htdocs/buglist.cgi line 774

When looking in the table the 'bugs.bug_id' is there alright. Dunno what to do right now.
Back to top
View user's profile Send private message
wpetya
n00b
n00b


Joined: 16 Aug 2006
Posts: 9

PostPosted: Thu Nov 16, 2006 10:51 am    Post subject: bugzilla 2.18 does not work with mysql5 Reply with quote

I had the same problem. I upgraded bugzilla to 2.22.

https://bugs.gentoo.org/show_bug.cgi?id=155340

You can downgrade your mysql or upgrade bugzilla to 2.20 or 2.22 (unstable).
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Wed Feb 14, 2007 5:57 pm    Post subject: Reply with quote

I can't believe this problem as been known for this long and hasn't been fixed. I needed to upgrade to mysql-5 today, and of course bugzilla broke. Now it seems like I'm stuck with an unstable version of bugzila and dev-perl/DBD-mysql on a highly critical server.

At least things are working now :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum