seaf-import.sh failed to import some folders with the following errors;
[ 3.5% ]^M[02/05/21 12:40:07] seaf-import.c(102): Failed to stat /storage-old/foobar/Pictures/iChat Icons. [02/05/21 12:40:07] seaf-import.c(188): Failed to import dir /storage-old/foobar to repo d147fa11, import failed. run done
Turns out it’s symlinks pointing to non-existant files;
lrwxrwx--- 1 seafile seafile 47 Aug 28 2014 '/storage-old/foobar/Pictures/iChat Icons' -> '/Library/Application Support/Apple/iChat Icons/'
Maybe it should handle these more gracefully? In our case, it stopped a several days long import of 15+TB at 93%…
Give a warning (that could also be printed at the summary after completion), skip the import of the file, but don’t stop the import.