Page 1 of 1

Refresh Crash 83%

Posted: 02 Feb 2019, 15:01
by Danedeath
Hi there,

I was performing a run of the refresh script it the process failed at 83%. Here is the following error I have received:

Job ID: 22757

Code: Select all

exception 'Exception' with message 'A MySQL query failed!
Error 1451: Cannot delete or update a parent row: a foreign key constraint fails (`lif_1`.`movable_objects`, CONSTRAINT `FK_movable_objects_custom_text` FOREIGN KEY (`CustomNameID`) REFERENCES `custom_texts` (`ID`))' in /var/www/terratool_shared/mysql.class.php:255
Any advice on a fix?

Thanks, Dane

Re: Refresh Crash 83%

Posted: 02 Feb 2019, 16:14
by Nyuton
Hi,
same issue as this basically: viewtopic.php?f=17&t=419
It's caused by outposts.

Re: Refresh Crash 83%

Posted: 02 Feb 2019, 17:49
by Nyuton
Today's fix should skip undeletable buildings instead of a crash. I hope this will prevent this issue in the future.