Strapi deletes my collections and singles when restarting the server

Are you sure that it’s using this, because by seen the errors you are doing it sounds to me like it’s running in development mode and not production also then executing sqlite hence why you loose data.