Page 1 of 1
Latest update can no longer upload files to server

Posted:
Fri Dec 29, 2023 2:41 am
by danmartyn
I have rules setup that moves files to a specific folder on my server (all on my internal network), which was working great for a while now. However, after the latest update, those files can no longer be moved, and now show an error notification saying they couldn't be moved. I can manually upload the files using a different app though, so I don't believe it's a file permission issue. Is there a way to downgrade to a previous version of Hazel to get things working again?
Re: Latest update can no longer upload files to server

Posted:
Fri Dec 29, 2023 9:47 am
by Mr_Noodle
Can you check the logs? First enable debug logging as described here:
https://www.noodlesoft.com/kb/hazel-debug-mode/Make sure to check Connection logging there.
After a failed upload, check the logs by going to Help->View Logs. Search for the last error pertaining to that file and post it.
Re: Latest update can no longer upload files to server

Posted:
Fri Dec 29, 2023 3:35 pm
by danmartyn
Here's what the log shows for a test file
- Code: Select all
2023-12-29 14:27:53.038 86Z3GCJ4MF.com.noodlesoft.HazelHelper[794] DEBUG: Thread 0x600002810040: Run worker for folder: /Volumes/Storage/YouTube
2023-12-29 14:27:53.149 hazelworker[6814] Running worker (v5.3.1) for folder with identifier: 16777262-402297.
2023-12-29 14:27:53.154 hazelworker[6814] ###Arch: arm64
2023-12-29 14:27:53.154 hazelworker[6814] ###main load address: 0x104fc4000
2023-12-29 14:27:53.154 hazelworker[6814] ###Hazel Core load address: 0x1055d8000
2023-12-29 14:27:53.154 hazelworker[6814] ###Noodle load address: 0x1058c8000
2023-12-29 14:27:53.154 hazelworker[6814] ###CK load address: 0x1054cc000
2023-12-29 14:27:53.165 hazelworker[6814] DEBUG: Program is licensed.
2023-12-29 14:27:53.177 hazelworker[6814] DEBUG: Error reading file /Users/danmartyn/Library/Application Support/Firefox/prefs.js: Error Domain=NSCocoaErrorDomain Code=260 "The file “prefs.js” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/danmartyn/Library/Application Support/Firefox/prefs.js, NSUnderlyingError=0x6000013dd440 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
2023-12-29 14:27:53.178 hazelworker[6814] Processing folder YouTube (forced)
2023-12-29 14:27:53.178 hazelworker[6814] DEBUG: Pausing to wait for things to settle down.
2023-12-29 14:27:55.197 hazelworker[6814] DEBUG: Processing directories: (
"/Volumes/Storage/YouTube"
)
2023-12-29 14:27:55.210 86Z3GCJ4MF.com.noodlesoft.HazelHelper[794] DEBUG: Checking events for path /Volumes/Storage/YouTube, folder YouTube
2023-12-29 14:27:55.211 hazelworker[6814] DEBUG: Received file event: {
date = "2023-12-29 19:27:53 +0000";
path = "<NoodlePathSet: 0x600001df9520>\n /Volumes/Storage/YouTube : 18446744073709551615\n";
}
2023-12-29 14:27:55.211 hazelworker[6814] DEBUG: About to process directory /Volumes/Storage/YouTube
2023-12-29 14:27:55.213 hazelworker[6814] DEBUG: .DS_Store: File is hidden/invisible. Skipping.
2023-12-29 14:27:55.642 hazelworker[6814] Test: Rule Check Subfolders matched.
2023-12-29 14:27:55.642 hazelworker[6814] DEBUG: Manual run. Forcing actions to be executed.
2023-12-29 14:27:55.642 hazelworker[6814] DEBUG: Rule executed. Updating match date for file /Volumes/Storage/YouTube/Test: 2023-12-29 19:27:55 +0000
2023-12-29 14:27:55.642 hazelworker[6814] DEBUG: Recursing into directory: /Volumes/Storage/YouTube/Test
2023-12-29 14:27:55.642 hazelworker[6814] DEBUG: .DS_Store: File is hidden/invisible. Skipping.
2023-12-29 14:27:55.664 hazelworker[6814] Test - Poster.jpg: Rule Move posters to Server matched.
2023-12-29 14:27:55.665 hazelworker[6814] DEBUG: Manual run. Forcing actions to be executed.
2023-12-29 14:27:55.862 hazelworker[6814] DEBUG: Error copying /Volumes/Storage/YouTube/Test/Test - Poster.jpg to temporary location /Volumes/Media/YouTube/(A Document Being Saved By hazelworker)/Test - Poster.jpg: Operation not permitted
2023-12-29 14:27:55.869 hazelworker[6814] DEBUG: Will fall back to copying without extended attributes.
2023-12-29 14:27:55.904 hazelworker[6814] DEBUG: Error with copying without extended attributes from /Volumes/Storage/YouTube/Test/Test - Poster.jpg to temporary location /Volumes/Media/YouTube/(A Document Being Saved By hazelworker)/Test - Poster.jpg: Operation not permitted
2023-12-29 14:27:55.912 hazelworker[6814] DEBUG: Will fall back to direct copy to destination.
2023-12-29 14:27:56.185 hazelworker[6814] DEBUG: Could not obtain lock on destination file /Volumes/Media/YouTube/video/Test - Poster.jpg: No such file or directory
2023-12-29 14:27:56.270 hazelworker[6814] DEBUG: Error setting HFS type on /Volumes/Media/YouTube/video/Test - Poster.jpg: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “Test - Poster.jpg” in the folder “video”." UserInfo={NSURL=file:///Volumes/Media/YouTube/video/Test%20-%20Poster.jpg, NSFilePath=/Volumes/Media/YouTube/video/Test - Poster.jpg, NSURLKeysOfUnsetValuesKey=(
"_NSURLFinderInfoKey"
), NSUnderlyingError=0x6000013ef300 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
2023-12-29 14:27:56.329 hazelworker[6814] DEBUG: Error with direct copying /Volumes/Storage/YouTube/Test/Test - Poster.jpg to location /Volumes/Media/YouTube/video/Test - Poster.jpg: Operation canceled
2023-12-29 14:27:56.365 hazelworker[6814] DEBUG: Will fall back to copying without extended attributes.
2023-12-29 14:27:56.688 hazelworker[6814] DEBUG: Error with copying without extended attributes from /Volumes/Storage/YouTube/Test/Test - Poster.jpg to location /Volumes/Media/YouTube/video/Test - Poster.jpg: (null)
2023-12-29 14:27:56.814 hazelworker[6814] DEBUG: Error copying /Volumes/Storage/YouTube/Test/Test - Poster.jpg to /Volumes/Media/YouTube/video/Test - Poster.jpg for move operation: Error Domain=NSPOSIXErrorDomain Code=89 "Operation canceled"
2023-12-29 14:27:56.814 hazelworker[6814] Error moving file from /Volumes/Storage/YouTube/Test/Test - Poster.jpg to /Volumes/Media/YouTube/video/Test - Poster.jpg: Error Domain=NSPOSIXErrorDomain Code=89 "Operation canceled"
2023-12-29 14:27:56.964 hazelworker[6814] [Error] Move failed: Could not move file Test - Poster.jpg from folder /Volumes/Storage/YouTube/Test to folder /Volumes/Media/YouTube/video/Test - Poster.jpg.
2023-12-29 14:27:56.964 hazelworker[6814] DEBUG: Tapping error retry sequence
2023-12-29 14:27:56.964 hazelworker[6814] DEBUG: Writing out DB file for /Volumes/Storage/YouTube to path: /Users/danmartyn/Library/Application Support/Hazel/16777262-402297.hazeldb
2023-12-29 14:27:56.978 hazelworker[6814] DEBUG: Directory /Volumes/Storage/YouTube processed in 1.766380 seconds
2023-12-29 14:27:56.978 86Z3GCJ4MF.com.noodlesoft.HazelHelper[794] DEBUG: Checking events for path /Volumes/Storage/YouTube, folder YouTube
2023-12-29 14:27:56.979 hazelworker[6814] DEBUG: Writing out DB file: /Volumes/Storage/YouTube
2023-12-29 14:27:57.005 hazelworker[6814] DEBUG: Sending metrics to scheduler. Next scheduled run: 2023-12-29 14:57:56.958
2023-12-29 14:27:57.005 hazelworker[6814] Done processing folder YouTube
2023-12-29 14:27:57.012 86Z3GCJ4MF.com.noodlesoft.HazelHelper[794] DEBUG: Received metrics for folder /Volumes/Storage/YouTube: {
directoryDepth = 18446744073709551615;
requestedSchedulingTime = "2023-12-29 19:57:56 +0000";
triggerPaths = "<NoodlePathSet: 0x600003d3f700>\n";
unavailablePaths = "{(\n)}";
}
2023-12-29 14:27:57.012 86Z3GCJ4MF.com.noodlesoft.HazelHelper[794] DEBUG: Timer scheduled for folder /Volumes/Storage/YouTube at 2023-12-29 19:57:56 +0000
2023-12-29 14:27:57.023 86Z3GCJ4MF.com.noodlesoft.HazelHelper[794] DEBUG: Thread 0x600002810040: Task removed: [6814]
It seems like it doesn't have permission to write after the update? The only thing that is different was updating to the latest version of Hazel. I also checked the folder and it should have the correct permissions set.
Re: Latest update can no longer upload files to server

Posted:
Mon Jan 01, 2024 12:39 pm
by danmartyn
I'm using Unraid on my server, and I tried making a new user, and then logging in as that user when connecting to Unraid from my Mac. But I still get the errors when trying to move the files. Is there a way to downgrade to the previous version of Hazel so I can get things working again?
Re: Latest update can no longer upload files to server

Posted:
Tue Jan 02, 2024 10:50 am
by Mr_Noodle
Have you given Hazel full disk access?
Re: Latest update can no longer upload files to server

Posted:
Tue Jan 02, 2024 5:45 pm
by danmartyn
Yes. Hazel has full disc access. It was just the most recent release where this started happening. Can I downgrade somehow to debug that it is indeed the newest version causing the issues?
Re: Latest update can no longer upload files to server

Posted:
Wed Jan 03, 2024 9:55 am
by Mr_Noodle
You can download older versions here:
http://www.noodlesoft.com/old-versions/Note that your problem will not be solved if you do that, though. Even if it works with the old version, without addressing the problem, you will be stuck on that version .
Re: Latest update can no longer upload files to server

Posted:
Wed Jan 03, 2024 4:57 pm
by danmartyn
Going back to 5.2.2 works again.
Re: Latest update can no longer upload files to server

Posted:
Thu Jan 04, 2024 10:34 am
by Mr_Noodle
I understand you needing things to work but until I can get more data on the issue, this won't be resolved going forward with future versions. If you can replicate this on another non-critical machine, that would be of some use.
Re: Latest update can no longer upload files to server

Posted:
Thu Jan 04, 2024 11:19 am
by danmartyn
I’ve only got the one Mac and one server.
Re: Latest update can no longer upload files to server

Posted:
Sat Oct 26, 2024 10:13 pm
by danmartyn
This is a problem in Version 6 as well

In the log, the error message is:
7 minutes ago : The operation couldn’t be completed. Operation not permitted
Also, downgrading to version 5.2.2 the rules are all broken since they came from a newer version. Upgrading has not been great.
Re: Latest update can no longer upload files to server

Posted:
Mon Oct 28, 2024 9:49 am
by Mr_Noodle
Can you post a larger excerpt from the logs? Make sure to enable connection logging.