Lama
Lama
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
not a priority anyhow^^
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
that's why find is much faster
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
readdir returns that information without needing to stat
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
Would switching to fs.readdir be a possiblity for you?
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
Ah yeah that's probably the bottleneck
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
Should be a single syscall to list an entire directory including name and type
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
IIRC
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
muuuuch faster
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
readdir
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
no
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
But just reading their names should only take some milliseconds, even for thousands of files
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
Why does it take so long though?
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
&>/dev/null
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
Is there mabe some form of concurrency going on?
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
I just wanted to check whether you had explicitly configured something. I don't think any default setups should interfere with that.
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
Do you have a firewall that could interrupt connections?
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
The error seems to occur before anything is uploaded, that's why I think the server log might be more interesting here
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
Can you see any error in the server log?
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
When you get EPIPE it usually means that the other end closed the connection
247 replies
IImmich
Created by orbit on 7/24/2023 in #help-desk-support
Unable to import many pictures: "Error getting device's uploaded assets"
Ignore that, apparently I can't read 😅
247 replies