I have an ubuntu server 22.04.3 running on a raspberry pi which I am using for jellyfin server. I have an external usb drive attached to it. If I ty to sync files across with -avz I get errors but with -rvz it works fine. I understand using -a is considered best practice. I did try generic duck duck going it and it seems to be something with permissions but I couldn’t quite follow what was being said. If someone understands it could they ELI5 what I have to do
Blockquote
rsync -avz --progress ~/Downloads/test_folder/ user@192.168.1.88:/mnt/BlackBox/TV/test_folder/
sending incremental file list
rsync: [generator] chgrp “/mnt/BlackBox/TV/test_folder/.” failed: Operation not permitted (1)
./
test file.txt
2 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/2)
rsync: [receiver] mkstemp “/mnt/BlackBox/TV/test_folder/.test file.txt.EV1Lcr” failed: Operation not permitted (1)
sent 143 bytes received 38 bytes 120.67 bytes/sec
total size is 2 speedup is 0.01
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.2.7]
Are you syncing from a Linux machine to the external drive? If so, what file format is on that external drive? Is it new? You might be able to reformat it to Fat32: How to Format USB Drives in Linux {3 Methods Explained}
it’s ntfs, I’m rsyncing from a tuxedo os (ubuntu base) laptop. I used to have the external usb drive connected to an ubuntu mate desktop box and could rsync to it with -avz no problem. So not sure what has changed. I did look at that article and tried a couple of the suggestions but to no avail, but I didn’t really understand what I was doing I might research into permissions and see what I can find.
Which pi are you using for Jellyfin server, what file formats do you have, and how many simultaneous streams? My old desktop ‘server’ is about full and I’m thinking about moving to another pi I have when I upgrade the storage.
I’m using a PI4, I’ve had two on it, it’s just me and my partner really. Plus I never have files over 1080p, in mix of formats, even though we have a 4k TV, saves disk space and I’m not sure I am enough of an audio visual aficionado to notice! I believe you can get hardware encoding done on it too to boost performance, but I haven’t quite figured out how to do it yet!
It’s a hard drive of shows and movies and tv shows collected over the years, so probably a bit of everything, .avi, .mp4 and .mkv I’ve seen, .avi I think tend to get transcoded or a bit temperemental, but I think it’s the older ones tend to be in the that format!!