!Friendica Admins
Ich habe im log täglich einmal folgende Meldung:
2025-11-29T01:00:15Z worker [ERROR]: DB Error {"code":1452,"error":"Cannot add or update a child row: a foreign key constraint fails (`dus1db_friendicade`.`contact`, CONSTRAINT `contact_ibfk
_2` FOREIGN KEY (`uri-id`) REFERENCES `item-uri` (`id`) ON DELETE CASCADE)","params":"INSERT INTO `contact` (`uid`, `created`, `updated`, `network`, `name`, `nick`, `location`, `xmpp`, `matr
ix`, `avatar`, `url`, `nurl`, `uri-id`, `addr`, `alias`, `batch`, `last-update`, `success_update`, `failure_update`, `term-date`, `last-item`, `last-discovery`, `readonly`, `contact-type`, `
archive`, `unsearchable`, `sensitive`, `baseurl`, `bd`, `photo`, `thumb`, `micro`, `name-date`, `uri-date`, `avatar-date`, `writable`, `forum`, `prv`, `bdyear`) VALUES (0, '0001-01-01 00:00:
00', '0001-01-01 00:00:00', '', '', '', '', '', '', '', '', '', 0, '', '', '', '0001-01-01 00:00:00', '0001-01-01 00:00:00', '0001-01-01 00:00:00', '0001-01-01 00:00:00', '0001-01-01 00:00:0
0', '0001-01-01 00:00:00', 0, 0, 0, 0, 0, '', '0001-01-01', '', '', '', '0001-01-01 00:00:00', '0001-01-01 00:00:00', '0001-01-01 00:00:00', 0, 0, 0, '')","worker_id":"aa80bc2","worker_cmd":
null} - {"file":"Database.php","line":786,"function":"e","request-id":"692a4591e7a07","stack":"DBA::insert (171), Contact::insert (220), Contact::createPublicContactFromUserContact (194), Co
ntact::selectAccountUserById (166), Worker::execFunction (570), Worker::execute (378), Worker::processQueue (112), Worker::doExecute (91), Console::execute (86), Console::doExecute (177), Co
nsole::execute (86), App::processConsole (233)","uid":"8e3b02","process_id":496559}In der Datenbank Tabelle contact ist die erste Zeile diese:
id uid created updated
0 0 0001-01-01 00:00:00 0001-01-01 00:00:00
Frage: Kann ich diesen Tabellenzeile einfach löschen, damit der Fehler im log verschwindet?
Friendica Admins hat dies geteilt.
Michael 🇺🇦
Als Antwort auf Steffen 🦉🇪🇺 • • •Steffen 🦉🇪🇺
Als Antwort auf Michael 🇺🇦 • •Friendica Admins hat dies geteilt.