AlistGo/alist · error
can't find remote storage: %w
Error message
can't find remote storage: %w
What it means
Error "can't find remote storage: %w" thrown in AlistGo/alist.
Source
Thrown at drivers/chunker/driver.go:65
}
if err := d.validateOptions(); err != nil {
return err
}
targetPaths := d.configuredRemotePaths()
d.remoteTargets = make([]remoteTarget, 0, len(targetPaths))
for _, targetPath := range targetPaths {
storage, err := fs.GetStorage(targetPath, &fs.GetStoragesArgs{})
if err != nil {
return fmt.Errorf("can't find remote storage %q: %w", targetPath, err)
}
d.remoteTargets = append(d.remoteTargets, remoteTarget{
MountPath: targetPath,
Storage: storage,
})
}
if len(d.remoteTargets) == 0 {
return fmt.Errorf("can't find remote storage: %w", errs.ObjectNotFound)
}
d.remoteStorage = d.remoteTargets[0].Storage
return nil
}
func (d *Chunker) Drop(ctx context.Context) error {
d.remoteStorage = nil
d.remoteTargets = nil
return nil
}
func (d *Chunker) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error) {
return d.listDirObjects(ctx, dir.GetPath(), args.Refresh)
}
func (d *Chunker) Get(ctx context.Context, pathStr string) (model.Obj, error) {
if utils.PathEqual(pathStr, "/") {
return &model.Object{View on GitHub (pinned to 843d9dc814)
Solutions
- Inspect the underlying error details in the message, fix the indicated cause (credentials, network, or provider-side failure), and retry.
When it happens
Trigger: Thrown at drivers/chunker/driver.go:65 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of AlistGo/alist@843d9dc814 (2026-08-15).
Data as JSON: /api/errors/36f6a5931563a8c7.
Report an issue: GitHub.