Hazel deleted files during a failed "copy"

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Hazel deleted files during a failed "copy" Wed Mar 20, 2024 4:10 pm • by chpstx
I was setting up rules to auto backup my SD cards. During one of my tests, I noticed that Hazel attempted to copy a folder but failed. However, I also noticed the folder on the original SD card was deleted. I did NOT have a delete rule running. I made the mistake of removing the SD card and reinserting it which most likely made recovery chances worse. I'm currently running DiskDrill to try to recover what was on the cards. I have included a screenshot of the rule set and the error log. I was running into issues with permissions so I changed the /Volume folder to allow me to Read and Write. After I changed it, I noticed that Hazel Helper was writing to my disk but I didn't see any folders being created. Once it stopped, I checked again and the folders were moved but the contents within the folder (4 MP4 files) were all missing. The entire folder was deleted from the original source (SD Card) even though I did not set any rule to delete. This is very concerning to me as unless Disk Drill can recover these files, I'm at a complete loss. I see in the log that Hazel was operating in the trash.
https://imgur.com/a/I6FNi9m

UPDATE: Disk Drill was NOT able to recover the video files but did at least find them. This a huge red flag for me as this was a project for a client that I now have to re-record. While I shouldn't of tested on an actual project, Hazel deleting the files without any notification or permission was not on my list of worries.

Code: Select all
2024-03-20 12:45:37.595 hazelworker[47456] Running worker (v5.3.2) for folder with identifier: 16777231-26284.
2024-03-20 12:45:37.600 hazelworker[47456] ###Arch: arm64
2024-03-20 12:45:37.601 hazelworker[47456] ###main load address: 0x104568000
2024-03-20 12:45:37.601 hazelworker[47456] ###Hazel Core load address: 0x104b7c000
2024-03-20 12:45:37.601 hazelworker[47456] ###Noodle load address: 0x104e6c000
2024-03-20 12:45:37.601 hazelworker[47456] ###CK load address: 0x104a70000
2024-03-20 12:45:37.641 hazelworker[47456] Processing folder Volumes (forced)
2024-03-20 12:45:39.711 hazelworker[47456] LUMIX: Rule Autobackup matched.
2024-03-20 12:45:39.735 hazelworker[47456] Hazel Alert: Autobackup Started
2024-03-20 12:45:39.739 hazelworker[47456] [Custom Message] Hazel Alert: Autobackup Started
2024-03-20 12:45:39.919 hazelworker[47456] [File Event] File copied: LUMIX copied from folder /Volumes to folder /Volumes/RAID0/AUTOBACK SD CARDS.
2024-03-20 12:45:39.920 hazelworker[47456] [File Event] File moved into subfolder: /Volumes/RAID0/AUTOBACK SD CARDS/1969-12-31/LUMIX sorted from folder /Volumes/RAID0/AUTOBACK SD CARDS to subfolder 1969-12-31.
2024-03-20 12:45:39.920 hazelworker[47456] Hazel Alert: Backup Complete
2024-03-20 12:45:39.920 hazelworker[47456] [Custom Message] Hazel Alert: Backup Complete
2024-03-20 12:45:41.994 hazelworker[47456] LUMIX: Rule Autobackup matched.
2024-03-20 12:45:44.151 hazelworker[47456] Done processing folder Volumes
2024-03-20 12:46:25.394 hazelworker[47481] Running worker (v5.3.2) for folder with identifier: 16777231-26284.
2024-03-20 12:46:25.395 hazelworker[47481] ###Arch: arm64
2024-03-20 12:46:25.396 hazelworker[47481] ###main load address: 0x1042f0000
2024-03-20 12:46:25.396 hazelworker[47481] ###Hazel Core load address: 0x104904000
2024-03-20 12:46:25.396 hazelworker[47481] ###Noodle load address: 0x104bf4000
2024-03-20 12:46:25.396 hazelworker[47481] ###CK load address: 0x1047f8000
2024-03-20 12:46:25.468 hazelworker[47481] Processing folder Volumes
2024-03-20 12:46:27.589 hazelworker[47481] Done processing folder Volumes
2024-03-20 12:46:29.393 hazelworker[47482] Running worker (v5.3.2) for folder with identifier: 16777231-26284.
2024-03-20 12:46:29.397 hazelworker[47482] ###Arch: arm64
2024-03-20 12:46:29.397 hazelworker[47482] ###main load address: 0x1041cc000
2024-03-20 12:46:29.397 hazelworker[47482] ###Hazel Core load address: 0x1047e0000
2024-03-20 12:46:29.397 hazelworker[47482] ###Noodle load address: 0x104ad0000
2024-03-20 12:46:29.398 hazelworker[47482] ###CK load address: 0x1046d4000
2024-03-20 12:46:29.594 hazelworker[47482] Processing folder Volumes
2024-03-20 12:46:31.678 hazelworker[47482] Done processing folder Volumes
2024-03-20 12:46:57.412 hazelworker[47499] Running worker (v5.3.2) for folder with identifier: 16777231-26284.
2024-03-20 12:46:57.412 hazelworker[47500] Running worker (v5.3.2) for folder with identifier: trash.
2024-03-20 12:46:57.414 hazelworker[47500] ###Arch: arm64
2024-03-20 12:46:57.414 hazelworker[47499] ###Arch: arm64
2024-03-20 12:46:57.415 hazelworker[47500] ###main load address: 0x100d6c000
2024-03-20 12:46:57.415 hazelworker[47500] ###Hazel Core load address: 0x101380000
2024-03-20 12:46:57.415 hazelworker[47500] ###Noodle load address: 0x101670000
2024-03-20 12:46:57.415 hazelworker[47500] ###CK load address: 0x101274000
2024-03-20 12:46:57.415 hazelworker[47499] ###main load address: 0x104890000
2024-03-20 12:46:57.415 hazelworker[47499] ###Hazel Core load address: 0x104ea4000
2024-03-20 12:46:57.415 hazelworker[47499] ###Noodle load address: 0x105194000
2024-03-20 12:46:57.415 hazelworker[47499] ###CK load address: 0x104d98000
2024-03-20 12:46:57.430 hazelworker[47500] Processing folder Trash
2024-03-20 12:46:57.441 hazelworker[47499] Processing folder Volumes
2024-03-20 12:46:58.691 hazelworker[47500] Error while checking uninstall log date: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
2024-03-20 12:46:58.778 hazelworker[47500] Done processing folder Trash
2024-03-20 12:46:59.546 hazelworker[47499] Done processing folder Volumes
2024-03-20 12:47:08.589 hazelworker[47505] Running worker (v5.3.2) for folder with identifier: 16777231-26284.
2024-03-20 12:47:08.589 hazelworker[47508] Running worker (v5.3.2) for folder with identifier: trash.
2024-03-20 12:47:08.597 hazelworker[47508] ###Arch: arm64
2024-03-20 12:47:08.597 hazelworker[47508] ###main load address: 0x1047c0000
2024-03-20 12:47:08.597 hazelworker[47508] ###Hazel Core load address: 0x104dd4000
2024-03-20 12:47:08.597 hazelworker[47508] ###Noodle load address: 0x1050c4000
2024-03-20 12:47:08.597 hazelworker[47508] ###CK load address: 0x104cc8000
2024-03-20 12:47:08.597 hazelworker[47505] ###Arch: arm64
2024-03-20 12:47:08.597 hazelworker[47505] ###main load address: 0x102cc4000
2024-03-20 12:47:08.598 hazelworker[47505] ###Hazel Core load address: 0x1032d8000
2024-03-20 12:47:08.598 hazelworker[47505] ###Noodle load address: 0x1035c8000
2024-03-20 12:47:08.598 hazelworker[47505] ###CK load address: 0x1031cc000
2024-03-20 12:47:08.623 hazelworker[47508] Processing folder Trash
2024-03-20 12:47:08.632 hazelworker[47505] Processing folder Volumes
2024-03-20 12:47:09.974 hazelworker[47508] Error while checking uninstall log date: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
2024-03-20 12:47:10.204 hazelworker[47508] Done processing folder Trash
2024-03-20 12:47:10.716 hazelworker[47505] Done processing folder Volumes
2024-03-20 12:47:36.048 hazelworker[47546] Running worker (v5.3.2) for folder with identifier: 16777231-26284.
2024-03-20 12:47:36.050 hazelworker[47546] ###Arch: arm64
2024-03-20 12:47:36.050 hazelworker[47546] ###main load address: 0x1022cc000
2024-03-20 12:47:36.050 hazelworker[47546] ###Hazel Core load address: 0x1028e0000
2024-03-20 12:47:36.050 hazelworker[47546] ###Noodle load address: 0x102bd0000
2024-03-20 12:47:36.050 hazelworker[47546] ###CK load address: 0x1027d4000
2024-03-20 12:47:36.104 hazelworker[47546] Processing folder Volumes
2024-03-20 12:47:38.313 hazelworker[47546] Done processing folder Volumes
2024-03-20 12:47:41.731 hazelworker[47554] Running worker (v5.3.2) for folder with identifier: 16777231-26284.
2024-03-20 12:47:41.765 hazelworker[47554] ###Arch: arm64
2024-03-20 12:47:41.765 hazelworker[47554] ###main load address: 0x1048f4000
2024-03-20 12:47:41.766 hazelworker[47554] ###Hazel Core load address: 0x104f08000
2024-03-20 12:47:41.766 hazelworker[47554] ###Noodle load address: 0x1051f8000
2024-03-20 12:47:41.766 hazelworker[47554] ###CK load address: 0x104dfc000
2024-03-20 12:47:41.946 hazelworker[47554] Processing folder Volumes
2024-03-20 12:47:44.158 hazelworker[47554] Done processing folder Volumes
2024-03-20 12:47:45.435 hazelworker[47557] Running worker (v5.3.2) for folder with identifier: 16777231-26284.
2024-03-20 12:47:45.437 hazelworker[47557] ###Arch: arm64
2024-03-20 12:47:45.437 hazelworker[47557] ###main load address: 0x10227c000
2024-03-20 12:47:45.437 hazelworker[47557] ###Hazel Core load address: 0x102890000
2024-03-20 12:47:45.437 hazelworker[47557] ###Noodle load address: 0x102b80000
2024-03-20 12:47:45.437 hazelworker[47557] ###CK load address: 0x102784000
2024-03-20 12:47:45.458 hazelworker[47557] Processing folder Volumes
2024-03-20 12:47:46.487 hazelworker[47558] Running worker (v5.3.2) for folder with identifier: trash.
2024-03-20 12:47:46.518 hazelworker[47558] ###Arch: arm64
2024-03-20 12:47:46.520 hazelworker[47558] ###main load address: 0x100b84000
2024-03-20 12:47:46.520 hazelworker[47558] ###Hazel Core load address: 0x101198000
2024-03-20 12:47:46.520 hazelworker[47558] ###Noodle load address: 0x101488000
2024-03-20 12:47:46.520 hazelworker[47558] ###CK load address: 0x10108c000
2024-03-20 12:47:46.592 hazelworker[47558] Processing folder Trash
2024-03-20 12:47:47.594 hazelworker[47557] Done processing folder Volumes
2024-03-20 12:47:47.922 hazelworker[47558] Error while checking uninstall log date: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
2024-03-20 12:47:48.029 hazelworker[47558] Done processing folder Trash
2024-03-20 12:47:48.098 hazelworker[47561] Running worker (v5.3.2) for folder with identifier: 16777231-26284.
2024-03-20 12:47:48.099 hazelworker[47561] ###Arch: arm64
2024-03-20 12:47:48.099 hazelworker[47561] ###main load address: 0x10403c000
2024-03-20 12:47:48.099 hazelworker[47561] ###Hazel Core load address: 0x104650000
2024-03-20 12:47:48.099 hazelworker[47561] ###Noodle load address: 0x104940000
2024-03-20 12:47:48.099 hazelworker[47561] ###CK load address: 0x104544000
2024-03-20 12:47:48.121 hazelworker[47561] Processing folder Volumes
2024-03-20 12:47:50.238 hazelworker[47561] Done processing folder Volumes
2024-03-20 12:48:12.120 hazelworker[47578] Running worker (v5.3.2) for folder with identifier: 16777231-26284.
2024-03-20 12:48:12.122 hazelworker[47578] ###Arch: arm64
2024-03-20 12:48:12.122 hazelworker[47578] ###main load address: 0x100084000
2024-03-20 12:48:12.122 hazelworker[47578] ###Hazel Core load address: 0x100698000
2024-03-20 12:48:12.122 hazelworker[47578] ###Noodle load address: 0x100988000
2024-03-20 12:48:12.122 hazelworker[47578] ###CK load address: 0x10058c000
2024-03-20 12:48:12.174 hazelworker[47578] Processing folder Volumes
2024-03-20 12:48:14.334 hazelworker[47578] Done processing folder Volumes
2024-03-20 12:48:15.469 hazelworker[47583] Running worker (v5.3.2) for folder with identifier: 16777231-26284.
2024-03-20 12:48:15.471 hazelworker[47583] ###Arch: arm64
2024-03-20 12:48:15.471 hazelworker[47583] ###main load address: 0x102954000
2024-03-20 12:48:15.471 hazelworker[47583] ###Hazel Core load address: 0x102f68000
2024-03-20 12:48:15.471 hazelworker[47583] ###Noodle load address: 0x103258000
2024-03-20 12:48:15.471 hazelworker[47583] ###CK load address: 0x102e5c000
2024-03-20 12:48:15.763 hazelworker[47583] Processing folder Volumes
2024-03-20 12:48:17.918 hazelworker[47583] File LUMIX is busy. Skipping for now.
2024-03-20 12:48:20.192 hazelworker[47583] Done processing folder Volumes
2024-03-20 12:49:42.626 hazelworker[47810] Running worker (v5.3.2) for folder with identifier: trash.
2024-03-20 12:49:42.634 hazelworker[47810] ###Arch: arm64
2024-03-20 12:49:42.634 hazelworker[47810] ###main load address: 0x104f9c000
2024-03-20 12:49:42.634 hazelworker[47810] ###Hazel Core load address: 0x1055b0000
2024-03-20 12:49:42.634 hazelworker[47810] ###Noodle load address: 0x1058a0000
2024-03-20 12:49:42.634 hazelworker[47810] ###CK load address: 0x1054a4000
2024-03-20 12:49:42.659 hazelworker[47810] Processing folder Trash
2024-03-20 12:49:43.804 hazelworker[47810] Error while checking uninstall log date: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
2024-03-20 12:49:43.855 hazelworker[47810] Done processing folder Trash
2024-03-20 12:49:50.852 hazelworker[47815] Running worker (v5.3.2) for folder with identifier: trash.
2024-03-20 12:49:50.855 hazelworker[47815] ###Arch: arm64
2024-03-20 12:49:50.855 hazelworker[47815] ###main load address: 0x100900000
2024-03-20 12:49:50.855 hazelworker[47815] ###Hazel Core load address: 0x100f14000
2024-03-20 12:49:50.855 hazelworker[47815] ###Noodle load address: 0x101204000
2024-03-20 12:49:50.855 hazelworker[47815] ###CK load address: 0x100e08000
2024-03-20 12:49:50.870 hazelworker[47815] Processing folder Trash
2024-03-20 12:49:52.086 hazelworker[47815] Error while checking uninstall log date: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
2024-03-20 12:49:52.174 hazelworker[47815] Done processing folder Trash
2024-03-20 12:49:53.378 hazelworker[47820] Running worker (v5.3.2) for folder with identifier: trash.
2024-03-20 12:49:53.379 hazelworker[47820] ###Arch: arm64
2024-03-20 12:49:53.380 hazelworker[47820] ###main load address: 0x102700000
2024-03-20 12:49:53.380 hazelworker[47820] ###Hazel Core load address: 0x102d14000
2024-03-20 12:49:53.380 hazelworker[47820] ###Noodle load address: 0x103004000
2024-03-20 12:49:53.380 hazelworker[47820] ###CK load address: 0x102c08000
2024-03-20 12:49:53.391 hazelworker[47820] Processing folder Trash
2024-03-20 12:49:54.611 hazelworker[47820] Error while checking uninstall log date: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
2024-03-20 12:49:54.746 hazelworker[47820] Done processing folder Trash
2024-03-20 12:52:58.685 hazelworker[47934] Running worker (v5.3.2) for folder with identifier: 16777231-310289.
2024-03-20 12:52:58.687 hazelworker[47934] ###Arch: arm64
2024-03-20 12:52:58.687 hazelworker[47934] ###main load address: 0x104934000
2024-03-20 12:52:58.687 hazelworker[47934] ###Hazel Core load address: 0x104f48000
2024-03-20 12:52:58.687 hazelworker[47934] ###Noodle load address: 0x105238000
2024-03-20 12:52:58.687 hazelworker[47934] ###CK load address: 0x104e3c000
2024-03-20 12:52:58.712 hazelworker[47934] Processing folder Downloads
2024-03-20 12:53:01.050 hazelworker[47934] Done processing folder Downloads
chpstx
 
Posts: 8
Joined: Tue Apr 11, 2023 6:05 pm

I'm not seeing anything here that would result in anything being deleted. Can you post your rules?
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Hazel deleted files during a failed "copy" Fri Mar 22, 2024 1:55 pm • by chpstx
I updated the image link to include both rules I had: https://imgur.com/a/I6FNi9m

The only other thing I changed was checking the box for an "App Sweep" in settings. I have turned it back off in case that was the issue. I don't have the Trash settings on.

I do know for sure that the files were deleted by Hazel and were not done by hand as they did not show up in the trash and my trash has been uncleared. It's also very odd that Hazel reported the rule to be completed even though it only transferred the folders and not the contents. The total size was at least 5GB but the rule reported it was finished after only .2 seconds.
chpstx
 
Posts: 8
Joined: Tue Apr 11, 2023 6:05 pm

For one, your rule is incorrect in terms of processing items in subfolders. Please read the chapter in the manual dedicated to this topic.

Can you replicate this consistently? If so, can you try this on a test setup and turn on debug logging as described here: https://www.noodlesoft.com/kb/hazel-debug-mode/

Send me updated logs along with the name of a file that was deleted.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron