Disk error on creating file
Posted: August 26th, 2024, 5:54 am
I'm running Windows 11, with SABnzbd version 4.3.3.
I keep getting "Disk error on creating file C:\SABnzbd\Incomplete\[folder-name]\[file-name]
It was driving me crazy on trying to figure out what's going on. I did all the normal troubleshooting: making sure all updates were run on both the OS and SABnzbd, making sure that the C:\SABnzbd\Incomplete folder has security set to be able to write to it . . .
While I was checking things, I was extremely lucky in catch what was happening. It looks like SABnzbd is deleting the [folder-name] and then trying to write a file to it. I happened to be looking in the C:\SABnzbd\Incomplete folder, and saw a folder get deleted, then immediately SABnzbd paused and threw the "Disk error on creating file" message trying to write a file to the folder it had just deleted.
Is there any way to add a line of code to SABnzbd so that it checks to see if a folder exists before trying to write to it, and if it doesn't exist then it creates it? Or, to just not delete folders until it's actually done with writing to them?
It honestly doesn't bother me that it's getting the errors since I can always just retry the download if when it happens. The pain is that I have to constantly babysit SABnzbd because it's throwing the error and pausing itself about every 10 to 15 minutes. It's making what used to be a fully automated set-it-and-forget-it system into a full-time job of watching for it to pause itself so that I can resume it when it happens.
I keep getting "Disk error on creating file C:\SABnzbd\Incomplete\[folder-name]\[file-name]
It was driving me crazy on trying to figure out what's going on. I did all the normal troubleshooting: making sure all updates were run on both the OS and SABnzbd, making sure that the C:\SABnzbd\Incomplete folder has security set to be able to write to it . . .
While I was checking things, I was extremely lucky in catch what was happening. It looks like SABnzbd is deleting the [folder-name] and then trying to write a file to it. I happened to be looking in the C:\SABnzbd\Incomplete folder, and saw a folder get deleted, then immediately SABnzbd paused and threw the "Disk error on creating file" message trying to write a file to the folder it had just deleted.
Is there any way to add a line of code to SABnzbd so that it checks to see if a folder exists before trying to write to it, and if it doesn't exist then it creates it? Or, to just not delete folders until it's actually done with writing to them?
It honestly doesn't bother me that it's getting the errors since I can always just retry the download if when it happens. The pain is that I have to constantly babysit SABnzbd because it's throwing the error and pausing itself about every 10 to 15 minutes. It's making what used to be a fully automated set-it-and-forget-it system into a full-time job of watching for it to pause itself so that I can resume it when it happens.