Update OC 9.1.1 to 9.1.3 SQLSTATE[23000]

help

#1

I have upgraded my OC server from 9.1.1 to 9.1.3. I run OC server on raspian with sqlite as my database.
As result of my command: 'sudo -u www-data php occ upgrade' I receive the following error:

Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing 'INSERT INTO oc_cards (id, addressbookid, carddata, uri, lastmodified, etag, size) SELECT id, addressbookid, carddata, uri, lastmodified, etag, size FROM tempoc_cards':

SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: oc_cards.size
Update failed
Maintenance mode is kept active

I have checked my db for records with size NULL like this:
sqlite> select * FROM oc_cards WHERE size IS NULL;
0|0|||||

Can anybody help?

Regards, Lothar


#2

Similar errors were already reported to the bugtracker: