// switch to degraded mode with safe_mode only if errors on a first install