Social: Error on upgrade to 0.2.100 on PostgreSQL

Created on 27 Jul 2019  路  6Comments  路  Source: nextcloud/social

Got an error when upgrading to 0.2.100 from 0.2.6 on PostgreSQL.

Doctrine\DBAL\Exception\NotNullConstraintViolationException:
An exception occurred while executing 'ALTER TABLE oc_social_a2_cache_documts ADD resized_copy TEXT NOT NULL':
SQLSTATE[23502]: Not null violation: 7 ERROR: column "resized_copy" contains null values

I can add more info about my server if it is needed.

bug

Most helpful comment

I had the same problem and yes DELETE FROM oc_social_a2_cache_documts; did clear the problem for me.

All 6 comments

can you empty the entries from the table oc_social_a2_cache_documts ?

I had the same problem and yes DELETE FROM oc_social_a2_cache_documts; did clear the problem for me.

Had the same problem : DELETE FROM oc_social_a2_cache_documts; inside psql made the trick.
Hope it will be modified soon for a fix on the next version.

should be fixed with 0.2.101

On an other installation with PostgreSQL the update from 0.2.6 to 0.2.101 works without Problem for me.
Thanks for the quick fix;)

Upgrade to 0.2.101 works well, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

juliushaertl picture juliushaertl  路  6Comments

jancborchardt picture jancborchardt  路  5Comments

jancborchardt picture jancborchardt  路  3Comments

bernd-wechner picture bernd-wechner  路  5Comments

poVoq picture poVoq  路  5Comments