Eddited some errors

Now the server restarts correctly
BBDD update correct when admin