CMS error while upgrading Android


XIBO 1.8.11 in docker.

I’m trying to upgrade my Android DSCS9 devices the usual way, but I get an error.
I go in version information, select the new version that I did upload, click save and get the error “Unexpected Error, please contact support.”
In apache error logs there is nothing.

In the XIBO logs I get this:
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (cms.lktagmedia, CONSTRAINT lktagmedia_ibfk_1 FOREIGN KEY (mediaId) REFERENCES media (mediaID)) Exception Type: PDOExceptio


The error is inherent to this bug

I can’t remove tags, and devices without tags update correctly.


After applying the patches, I can update the device and remove tags.


I am having the same issue and would like to try this fix. How do you apply the patches?


I manually edited the TagFactory.php file as for this: