rsync error: (code 23)

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
Fabio
Posts: 38
Joined: Fri Dec 18, 2020 2:43 pm

rsync error: (code 23)

Post by Fabio »

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:

Code: Select all

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!
User avatar
Joulinar
Posts: 4830
Joined: Sat Nov 16, 2019 12:49 am

Re: rsync error: (code 23)

Post by Joulinar »

hmm error 23 means that thinks are done partially.

Code: Select all

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?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Fabio
Posts: 38
Joined: Fri Dec 18, 2020 2:43 pm

Re: rsync error: (code 23)

Post by Fabio »

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

Code: Select all

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? :?
User avatar
Joulinar
Posts: 4830
Joined: Sat Nov 16, 2019 12:49 am

Re: rsync error: (code 23)

Post by Joulinar »

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?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Fabio
Posts: 38
Joined: Fri Dec 18, 2020 2:43 pm

Re: rsync error: (code 23)

Post by Fabio »

The problem is that inside the bin i don't have nothing :cry:
User avatar
Joulinar
Posts: 4830
Joined: Sat Nov 16, 2019 12:49 am

Re: rsync error: (code 23)

Post by Joulinar »

are you able to move (not delete) to a different place ?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Fabio
Posts: 38
Joined: Fri Dec 18, 2020 2:43 pm

Re: rsync error: (code 23)

Post by Fabio »

Sorry but i' haven't understand...
What i have to move? Inside the files trash bin there is nothing...
User avatar
Joulinar
Posts: 4830
Joined: Sat Nov 16, 2019 12:49 am

Re: rsync error: (code 23)

Post by Joulinar »

your system has an issue with following file

Code: Select all

/mnt/HD1T/dietpi_userdata/owncloud_data/XXXX/files_trashbin/files/XXXX.d1609495540
So you would need to check what it is
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply