spacedriveapp/spacedrive · error
Conduit is disabled
Error message
Conduit is disabled
What it means
Error "Conduit is disabled" thrown in spacedriveapp/spacedrive.
Source
Thrown at core/src/service/file_sync/mod.rs:80
let db = Arc::new(library.db().conn().clone());
let conduit_manager = Arc::new(ConduitManager::new(db.clone()));
let resolver = Arc::new(SyncResolver::new(db.clone()));
Self {
library,
conduit_manager,
resolver,
active_syncs: Arc::new(RwLock::new(HashMap::new())),
}
}
/// Trigger sync for a conduit
pub async fn sync_now(&self, conduit_id: i32) -> Result<SyncHandle> {
// Load conduit
let conduit = self.conduit_manager.get_conduit(conduit_id).await?;
if !conduit.enabled {
return Err(anyhow::anyhow!("Conduit is disabled"));
}
// Check if already syncing
if self.active_syncs.read().await.contains_key(&conduit_id) {
return Err(anyhow::anyhow!("Sync already in progress for this conduit"));
}
// Calculate sync operations
info!("Calculating sync operations for conduit {}", conduit_id);
let operations = self.resolver.calculate_operations(&conduit).await?;
let mode = sync_conduit::SyncMode::from_str(&conduit.sync_mode)
.ok_or_else(|| anyhow::anyhow!("Invalid sync mode"))?;
let copy_count = operations.source_to_target.to_copy.len()
+ operations
.target_to_source
.as_ref()View on GitHub (pinned to 6dfeccf211)
When it happens
Trigger: Thrown at core/src/service/file_sync/mod.rs:80 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of spacedriveapp/spacedrive@6dfeccf211 (2026-08-16).
Data as JSON: /api/errors/6db8aee76829894c.
Report an issue: GitHub.