Unserialize(): Error at offset 40 of 43 bytes at /config/www/nextcloud/apps/dav/lib/DAV/CustomPropertiesBackend.php#403

Since a long time (at least since I am running version 25 (now 27) I am seeing a large number of these in the log:

unserialize(): Error at offset 40 of 43 bytes at /config/www/nextcloud/apps/dav/lib/DAV/CustomPropertiesBackend.php#403

Any ideas what this is about and how to fix it?

1 Like


The issue is the following:

That’s not a big issue, but fixing it for all supported databases is hard (see Fix dav properties column types by tcitworld · Pull Request #39084 · nextcloud/server · GitHub ).

1 Like

I am reluctant to buy into it as I always used Postgres, never used Mysql/Maria

Yup, but the issue is actually not about converting from one database to another, but a database column not having the correct type.

it’s popping up about every 30 minutes in my log: