File not Found for all subfolders
I use Immich go on Windows. If I want to upload a folder with the corresponding images and videos directly in this folder, everything works. However, if I specify a folder that has subfolders with files, I always get “File not found”: Any ideas?
Looks like a problem with the current version (v.0.27.0). If I use an older version (v.0.26.3) everything works
I have the same problem you should reopen the issue
Got the same issue with version 0.27.0.
Edit: Fortunatly going back to v.0.26.3 worked for me, too.
I got the same problem, but when I specify the top level folder with '\*' at the end it works. Example: 'd:\pictures' does not work if it contains subfolders. 'd:\pictures\*' works with all subfolders.
I think this is a windows-only issue to do with how the new VirtualGlobFS is using the windows-style ("a\b\c") folder names as keys when building its cache, BUT using posix ("/") style when reading; causing a cache miss.
This hacky patch works on my windows box. Not tested on other OS. It breaks some tests. Ran out of time to submit proper PR, but hopefully points in the right direction...
diff --git a/internal/fshelper/virtualglobfs.go b/internal/fshelper/virtualglobfs.go
index 97178de..e81b9f1 100644
--- a/internal/fshelper/virtualglobfs.go
+++ b/internal/fshelper/virtualglobfs.go
@@ -50,6 +50,7 @@ func NewVirtualGlobFS(pattern string) (fs.FS, error) {
// directories should always be added
parentDir := filepath.Dir(path)
+ parentDir = strings.Replace(parentDir, "\\", "/", -1)
if parentDir != path {
vfs.dirs[parentDir] = append(vfs.dirs[parentDir], path)
vfs.files[path] = d
I also have the same issue, everything I have is on a SMB share so going back to [v0.26.3] works but makes the process very long ...
I am having the same issue and it looks like [v0.26.3] works also
Thanks, a fix is on the go