AltMount reported a download as completed and exposed it to Sonarr through the SABnzbd-compatible history API before the file was actually readable. Sonarr then attempted to import the file and failed because the path no longer existed or was no longer accessible through the AltMount mount.
Sonarr queue showed:
Downloaded - Waiting to Import
Unexpected error processing file
And:
Could not find file '/mnt/remote/altmount/complete/tv/foo.bar.mkv'
When clicking the import button.
However in Altmount, the item showed as completed in the queue as if it was ready to go.
AltMount logs show:
- AltMount processed the NZB and created metadata for the virtual file:
Created metadata for RAR extracted file
virtual_path=/complete/tv/foo.../bar....mkv
size=2613095172
- AltMount marked the queue item as successfully processed and triggered Sonarr:
Successfully processed queue item
Triggered RefreshMonitoredDownloads
- Immediately after, reading the file failed:
[createUsenetReader] No segments to download
available_bytes=1879048192
expected_file_size=2613095172
- AltMount then detected corruption:
Streaming failure detected, triggering immediate ARR repair
File corrupted
error="missmatched segments for file size"
- Later, AltMount removed the item from its view:
File no longer tracked by ARR during re-trigger, removing from AltMount
- From inside the Sonarr container, the exact path did not exist:
/mnt/remote/altmount/complete/tv/foo.../bar....mkv
AltMount should not expose a download as Completed to Sonarr until the virtual file is confirmed readable/importable.
If the file fails segment validation, health validation, or read validation, AltMount should either:
- keep it out of SABnzbd completed history, or
- report it as failed/warning, not completed, or
- hide it consistently from fuse/webdav and ARR clients in unison.
AltMount reported a download as completed and exposed it to Sonarr through the SABnzbd-compatible history API before the file was actually readable. Sonarr then attempted to import the file and failed because the path no longer existed or was no longer accessible through the AltMount mount.
Sonarr queue showed:
Downloaded - Waiting to ImportUnexpected error processing fileAnd:
Could not find file '/mnt/remote/altmount/complete/tv/foo.bar.mkv'When clicking the import button.
However in Altmount, the item showed as completed in the queue as if it was ready to go.
AltMount logs show:
Created metadata for RAR extracted file
virtual_path=/complete/tv/foo.../bar....mkv
size=2613095172
Successfully processed queue item
Triggered RefreshMonitoredDownloads
[createUsenetReader] No segments to download
available_bytes=1879048192
expected_file_size=2613095172
Streaming failure detected, triggering immediate ARR repair
File corrupted
error="missmatched segments for file size"
File no longer tracked by ARR during re-trigger, removing from AltMount
/mnt/remote/altmount/complete/tv/foo.../bar....mkv
AltMount should not expose a download as Completed to Sonarr until the virtual file is confirmed readable/importable.
If the file fails segment validation, health validation, or read validation, AltMount should either: