pub(crate) fn before_starting_server( args: &Args, first_start: bool, ) -> Result<bool, Box<dyn Error + Send + Sync>>