Hallo Zusammen,
seit etwa einer Woche wird das OTRS Systemprotokoll mit folgender Meldung vollgespammt:
[Error][Kernel::System::Ticket::ArticleStorageFS::ArticleDelete][158] Cannot delete or update a parent row: a foreign key constraint fails (`otrs_msc`.`article_data_mime`, CONSTRAINT `FK_article_data_mime_article_id_id` FOREIGN KEY (`article_id`) REFERENCES `article` (`id`)), SQL: 'DELETE FROM article WHERE id = ?'
Leider haben Threads, die ich hierzu gefunden habe, keine Abhilfe geschaffen.
Weiß jemand wie man das beheben kann?
Vielen Dank im Voraus
Cannot delete or update a parent row: a foreign key constraint fails
Cannot delete or update a parent row: a foreign key constraint fails
OTRS 6.0.22
Debian 9.12
Cluster: 2xWeb(Apache), 2xDB(MySQL), 1xData(GlusterFS), 2xLB(HAproxy)
Debian 9.12
Cluster: 2xWeb(Apache), 2xDB(MySQL), 1xData(GlusterFS), 2xLB(HAproxy)
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Cannot delete or update a parent row: a foreign key constraint fails
Was habt ihr vor einer Woche denn gemacht?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Cannot delete or update a parent row: a foreign key constraint fails
Es wurde versucht ein Upgrade auf 6 durchzuführen.
Das Upgrade der Datenbank lief auch schon durch.
Kurz vor Vollendung wurde bemerkt, dass ein Abschluss des Upgrades auf V6.x nicht möglich ist, aufgrund zu vieler Eigenbauten innerhalb der Config.
Danach wurde der Dump vor dem DB Upgrade wiederhergestellt.
Und seitdem kommt diese Log Meldung.
Das Upgrade der Datenbank lief auch schon durch.
Kurz vor Vollendung wurde bemerkt, dass ein Abschluss des Upgrades auf V6.x nicht möglich ist, aufgrund zu vieler Eigenbauten innerhalb der Config.
Danach wurde der Dump vor dem DB Upgrade wiederhergestellt.
Und seitdem kommt diese Log Meldung.
OTRS 6.0.22
Debian 9.12
Cluster: 2xWeb(Apache), 2xDB(MySQL), 1xData(GlusterFS), 2xLB(HAproxy)
Debian 9.12
Cluster: 2xWeb(Apache), 2xDB(MySQL), 1xData(GlusterFS), 2xLB(HAproxy)
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Cannot delete or update a parent row: a foreign key constraint fails
Das Rollback war wohl nicht sauber (anscheinend nicht die DB gelöscht und komplettes Backup (Tabellendefinitionen und Daten) eingespielt)
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Cannot delete or update a parent row: a foreign key constraint fails
Kann man das irgendwie gerade ziehen oder warten bis Upgrade auf 6 funktioniert?
OTRS 6.0.22
Debian 9.12
Cluster: 2xWeb(Apache), 2xDB(MySQL), 1xData(GlusterFS), 2xLB(HAproxy)
Debian 9.12
Cluster: 2xWeb(Apache), 2xDB(MySQL), 1xData(GlusterFS), 2xLB(HAproxy)