Incomplete file when using SFTP
I noticed intermittently an issue where files are reporting as incomplete (file size reporting much smaller than system file size).
This means only part of the media can be watched.
To resolve I need to restart the Serviio process.
I found out this only occurs when I use SFTP to upload media to the serving system directly to the directory. Normally I use rsync which changes the filename once the full media file has transferred.
It seems that Serviio detects the new file partway through the transfer, but does not update the library when the transfer has completed.
Mounted at /dev/md127 on /mnt/media type xfs (rw,nosuid,nodev,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota,x-gvfs-show)
5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 x86_64 x86_64
Serviio version 2.2.1