Fix db error running server