Ensure db_prefix is a directory and has correct permissions, UID/GID.