server will be crashed if the db's directory doesn't exist