Plex database corruption

Hi,

Using plex container from linuxserver.io gives me an error after few hours of use:
Database corruption: sqlite3_statement_backend::prepare: database disk image is malformed for SQL: PRAGMA cache_size=2000

media folder and config folder is mounted to the host with nfs v4 using host fstab to TrueNAS

Appreciate any help to solve this problem
Thanks

This is due to how NFS works with SQLite, there’s no simple way to fix it, but you can tune NFS to play nicer with SQLite.

Your best bet is to move /config to a local filesystem

Is there any nfs parameters you can suggest to try to fix this?

I thought about moving /config to local fs but that won’t be backed up like my nas i’ll have to set another point to backup