Tdb(/var/cache/samba/gencache.tdb): tdb_transaction_recover: attempt to recover read only database

The cron job php -f /var/www/nextcloud/cron.php often results in the following errors:

tdb(/var/cache/samba/gencache.tdb): tdb_transaction_recover: attempt to recover read only database

I’m not sure if it is somehow related to NC but it just started recently, so it could be related to the 13 upgrade. This is especially ennoying as I’m receiving emails for failed cron executions… :neutral_face:

Experiencing the same issue. For me it started after the upgrade of Ubuntu from 16.04 LTS to18.04 LTS. This also upgraded the PHP version from 7.0 fpm to 7.2 fpm.

I tried to change the minimum required samba protocol version from “core” to “SMB2” in my samba server and it seems like this reduced the message frequency by roughly the factor of 2.

Nevertheless the messages keep appearing.

Would be cool if you could also share your efforts to fix this.

Changed from dedicated installation to docker containers and the issue is gone.