rsync error: (code 23)

Hello All!
I’ve some problem with the sync function.
It was working since some weeks ago, but now if i try to start it manually, i get the error in the object…
This is the end of the log, after the list of the files:

2021/02/09 16:33:18 [8269] Number of files: 4,732 (reg: 4,409, dir: 323)                                                                           
                             │ 2021/02/09 16:33:18 [8269] Number of created files: 4,731 (reg: 4,409, dir: 322)                                                                   
                             │ 2021/02/09 16:33:18 [8269] Number of deleted files: 0                                                                                              
                             │ 2021/02/09 16:33:18 [8269] Number of regular files transferred: 4,409                                                                              
                             │ 2021/02/09 16:33:18 [8269] Total file size: 82,200,720,256 bytes                                                                                   
                             │ 2021/02/09 16:33:18 [8269] Total transferred file size: 82,200,720,256 bytes                                                                       
                             │ 2021/02/09 16:33:18 [8269] Literal data: 0 bytes                                                                                                   
                             │ 2021/02/09 16:33:18 [8269] Matched data: 0 bytes                                                                                                   
                             │ 2021/02/09 16:33:18 [8269] File list size: 0                                                                                                       
                             │ 2021/02/09 16:33:18 [8269] File list generation time: 0.002 seconds                                                                                
                             │ 2021/02/09 16:33:18 [8269] File list transfer time: 0.000 seconds                                                                                  
                             │ 2021/02/09 16:33:18 [8269] Total bytes sent: 125,808                                                                                               
                             │ 2021/02/09 16:33:18 [8269] Total bytes received: 14,566                                                                                            
                             │ 2021/02/09 16:33:18 [8269] sent 125,808 bytes  received 14,566 bytes  56,149.60 bytes/sec                                                          
                             │ 2021/02/09 16:33:18 [8269] total size is 82,200,720,256  speedup is 585,583.66 (DRY RUN)                                                           
                             │ 2021/02/09 16:33:18 [8269] rsync error: some files/attrs were not transferred (see previous errors) (code 23) at                                   
                             │ main.c(1207) [sender=3.1.3]                                                                                                                        
                             │ 2021-02-09_16:33:18 [FAILED] Please see the log file for more information: /mnt/HD_500/dietpi-sync/.dietpi-sync.log

The .dietpi-sync.log shows exatly the same…
Any ideas on how to fix it?

Thanks in advance!

hmm error 23 means that thinks are done partially.

rsync error: some files/attrs were not transferred

There is nothing in /mnt/HD_500/dietpi-sync/.dietpi-sync.log giving a hint which files are not transferred?

The only “differrent” line in the file from the other is this one:

2021/02/10 07:54:17 [13671] rsync: readlink_stat("/mnt/HD1T/dietpi_userdata/owncloud_data/XXXX/files_trashbin/files/XXXX.d1609495540") failed: Stru$

How i can fix it? :thinking:

looks like the file is located inside a trash bin as the path contain files_trashbin

Can you check if you can clear trash bin. Or maybe try to have it moved somewhere else?

The problem is that inside the bin i don’t have nothing :cry:

are you able to move (not delete) to a different place ?

Sorry but i’ haven’t understand…
What i have to move? Inside the files trash bin there is nothing…

your system has an issue with following file

/mnt/HD1T/dietpi_userdata/owncloud_data/XXXX/files_trashbin/files/XXXX.d1609495540

So you would need to check what it is