Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
0013406: Crash when trying to upgrade database from 2017.02.05 to 2017.08.03 #6632
Reported by csvarer on 29 Aug 2017 21:08
Version: 2017.08.3 Community Edition
neuro:/home/srv/www/vhosts/tine # php setup.php --update
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (
do you have an idea of how to correct for that?
referenced this issue
Jun 10, 2018
Comment posted by csvarer on 11 Sep 2017 07:49
I got the idea that it perhpas helped deleting the files in the cache, session and tmp files before trying the update and it did. I don't know if it was because I did run the "php setup.php --update" as root where the apache server that normally uses these files is runned as the apache user "wwwrun", but it helped and vers 2017.08.3 is running åerfectly well