map refresh crash
Posted: 19 Nov 2018, 12:05
Hello,
i started a map refresh today and it was aborted with the message: The process crashed.
The Job ID is: 17096
Here still the last log entries:
2018-11-19 12:53:38 | Cleared a total of 1639 objects from movable_objects table.
2018-11-19 12:53:38 | Cleared a total of 14 containers from working_containers table.
2018-11-19 12:53:38 | +++ END CLEARING MOVABLE OBJECTS +++
2018-11-19 12:53:38 | +++ START CLEARING UNMOVABLE OBJECTS +++
2018-11-19 12:53:38 | 00.0 % | Unmovable object 0 of 7200 processed. 0 objects have been deleted.
2018-11-19 12:53:39 | 13.9 % | Unmovable object 1000 of 7200 processed. 0 objects have been deleted.
2018-11-19 12:53:39 | 27.8 % | Unmovable object 2000 of 7200 processed. 0 objects have been deleted.
2018-11-19 12:53:39 | 41.7 % | Unmovable object 3000 of 7200 processed. 0 objects have been deleted.
2018-11-19 12:53:39 | Fatal Exception
2018-11-19 12:53:39 | exception 'Exception' with message 'A MySQL query failed!
Error 1451: Cannot delete or update a parent row: a foreign key constraint fails (`lif_1`.`unmovable_objects_claims`, CONSTRAINT `FK_unmovable_objects_claims_unmovable_objects` FOREIGN KEY (`UnmovableObjectID`) REFERENCES `unmovable_objects` (`ID`))' in /var/www/terratool_shared/mysql.class.php:255
Stack trace:
#0 /var/www/terratool_shared/mysql.class.php(159): MySQL->handle_error('query', 'DELETE FROM unm...')
#1 /var/www/terratool_shared/mysql.class.php(104): MySQL->query_rs('DELETE FROM unm...')
#2 /var/www/terratool_worker/lib/libs.inc.php(490): MySQL->query('DELETE FROM unm...')
#3 /var/www/terratool_worker/lib/libs.inc.php(386): OperationsManager->flushObjQueue()
#4 /var/www/terratool_worker/refresh.php(541): OperationsManager->deleteObject(2, 19627)
#5 /var/www/terratool_worker/index.php(162): require_once('/var/www/terrat...')
#6 {main}
2018-11-19 12:53:39 | The process crashed.
I hope there's a simple solution to that.
Thank you for your help.
MfG Michl
i started a map refresh today and it was aborted with the message: The process crashed.
The Job ID is: 17096
Here still the last log entries:
2018-11-19 12:53:38 | Cleared a total of 1639 objects from movable_objects table.
2018-11-19 12:53:38 | Cleared a total of 14 containers from working_containers table.
2018-11-19 12:53:38 | +++ END CLEARING MOVABLE OBJECTS +++
2018-11-19 12:53:38 | +++ START CLEARING UNMOVABLE OBJECTS +++
2018-11-19 12:53:38 | 00.0 % | Unmovable object 0 of 7200 processed. 0 objects have been deleted.
2018-11-19 12:53:39 | 13.9 % | Unmovable object 1000 of 7200 processed. 0 objects have been deleted.
2018-11-19 12:53:39 | 27.8 % | Unmovable object 2000 of 7200 processed. 0 objects have been deleted.
2018-11-19 12:53:39 | 41.7 % | Unmovable object 3000 of 7200 processed. 0 objects have been deleted.
2018-11-19 12:53:39 | Fatal Exception
2018-11-19 12:53:39 | exception 'Exception' with message 'A MySQL query failed!
Error 1451: Cannot delete or update a parent row: a foreign key constraint fails (`lif_1`.`unmovable_objects_claims`, CONSTRAINT `FK_unmovable_objects_claims_unmovable_objects` FOREIGN KEY (`UnmovableObjectID`) REFERENCES `unmovable_objects` (`ID`))' in /var/www/terratool_shared/mysql.class.php:255
Stack trace:
#0 /var/www/terratool_shared/mysql.class.php(159): MySQL->handle_error('query', 'DELETE FROM unm...')
#1 /var/www/terratool_shared/mysql.class.php(104): MySQL->query_rs('DELETE FROM unm...')
#2 /var/www/terratool_worker/lib/libs.inc.php(490): MySQL->query('DELETE FROM unm...')
#3 /var/www/terratool_worker/lib/libs.inc.php(386): OperationsManager->flushObjQueue()
#4 /var/www/terratool_worker/refresh.php(541): OperationsManager->deleteObject(2, 19627)
#5 /var/www/terratool_worker/index.php(162): require_once('/var/www/terrat...')
#6 {main}
2018-11-19 12:53:39 | The process crashed.
I hope there's a simple solution to that.
Thank you for your help.
MfG Michl