Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Support required for Bugzilla

10 views
Skip to first unread message

Sameer Atharkar

unread,
Feb 26, 2021, 6:01:24 AM2/26/21
to support-...@lists.mozilla.org
Getting the following error while migrating the database of
bugzilla4.0.4 to bugzilla5.0.6

DBD::mysql::db do failed: BLOB, TEXT, GEOMETRY or JSON column
'bug_file_loc' can't have a default value [for Statement "ALTER TABLE
bugs CHANGE COLUMN bug_file_loc bug_file_loc mediumtext DEFAULT '' NOT
NULL"] at Bugzilla/DB.pm line 754.
Bugzilla::DB::bz_alter_column_raw('Bugzilla::DB::Mysql=HASH(0x2983548)',
'bugs', 'bug_file_loc', 'HASH(0x68cbbb0)', 'HASH(0x68c79c0)', '')
called at Bugzilla/DB.pm line 713
Bugzilla::DB::bz_alter_column('Bugzilla::DB::Mysql=HASH(0x2983548)',
'bugs', 'bug_file_loc', 'HASH(0x68cbbb0)', '') called at
Bugzilla/Install/DB.pm line 4020
Bugzilla::Install::DB::_fix_notnull_defaults() called at
Bugzilla/Install/DB.pm line 654
Bugzilla::Install::DB::update_table_definitions('HASH(0x19cd9d8)')
called at ./checksetup.pl line 175

Thorsten Schöning

unread,
Feb 26, 2021, 7:18:23 AM2/26/21
to support-...@lists.mozilla.org
Guten Tag Sameer Atharkar,
am Freitag, 26. Februar 2021 um 12:01 schrieben Sie:

> DBD::mysql::db do failed: BLOB, TEXT, GEOMETRY or JSON column
> 'bug_file_loc' can't have a default value [for Statement "ALTER TABLE
> bugs CHANGE COLUMN bug_file_loc bug_file_loc mediumtext DEFAULT '' NOT
> NULL"] at Bugzilla/DB.pm line 754.

You need to disable strict mode in MySQL most likely:

https://bugzilla.mozilla.org/show_bug.cgi?id=321645#c17
https://stackoverflow.com/questions/3466872/why-cant-a-text-column-have-a-default-value-in-mysql

Mit freundlichen Grüßen

Thorsten Schöning

--
AM-SoFT IT-Service - Bitstore Hameln GmbH i.G.
Mitglied der Bitstore Gruppe - Ihr Full-Service-Dienstleister für IT und TK

E-Mail: Thorsten....@AM-SoFT.de
Web: http://www.AM-SoFT.de/

Tel: 05151- 9468- 0
Tel: 05151- 9468-55
Fax: 05151- 9468-88
Mobil: 0178-8 9468-04

AM-SoFT IT-Service - Bitstore Hameln GmbH i.G., Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB neu - Geschäftsführer: Janine Galonska


Für Rückfragen stehe ich Ihnen sehr gerne zur Verfügung.

Mit freundlichen Grüßen

Thorsten Schöning


Tel: 05151 9468 0
Fax: 05151 9468 88
Mobil:
Webseite: https://www.am-soft.de

AM-Soft IT-Service - Bitstore Hameln GmbH i.G. ist ein Mitglied der Bitstore Gruppe - Ihr Full-Service-Dienstleister für IT und TK

AM-Soft IT-Service - Bitstore Hameln GmbH i.G.
Brandenburger Str. 7c
31789 Hameln
Tel: 05151 9468 0

Bitstore IT-Consulting GmbH
Zentrale - Berlin Lichtenberg
Frankfurter Allee 285
10317 Berlin
Tel: 030 453 087 80

CBS IT-Service - Bitstore Kaulsdorf UG
Tel: 030 453 087 880 1

Büro Dallgow-Döberitz
Tel: 03322 507 020

Büro Kloster Lehnin
Tel: 033207 566 530

PCE IT-Service - Bitstore Darmstadt UG
Darmstadt
Tel: 06151 392 973 0

Büro Neuruppin
Tel: 033932 606 090

ACI EDV Systemhaus Dresden GmbH
Dresden
Tel: 0351 254 410

Das Systemhaus - Bitstore Magdeburg GmbH
Magdeburg
Tel: 0391 636 651 0

Allerdata.IT - Bitstore Wittenberg GmbH
Wittenberg
Tel: 03491 876 735 7

Büro Liebenwalde
Tel: 033054 810 00

HSA - das Büro - Bitstore Altenburg UG
Altenburg
Tel: 0344 784 390 97

Bitstore IT – Consulting GmbH
NL Piesteritz
Piesteritz
Tel: 03491 644 868 6

Solltec IT-Services - Bitstore Braunschweig UG
Braunschweig
Tel: 0531 206 068 0

MF Computer Service - Bitstore Gütersloh GmbH
Gütersloh
Tel: 05245 920 809 3

Firmensitz: AM-Soft IT-Service - Bitstore Hameln GmbH i.G. , Brandenburger Str. 7c , 31789 Hameln
Geschäftsführer Janine Galonska






0 new messages