LibreSource does support only Postgresql and when the database is on a remote computer, a shared network directory should be done between the database computer and the libresource computer for the file storing in the DB.
Regarding your locking error, I have no idea…