Error removing workdir - unRAID

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
jubei
Release Testers
Release Testers
Posts: 53
Joined: January 28th, 2009, 11:49 am

Error removing workdir - unRAID

Post by jubei »

I've been having an issue, that I suspect is a permissions issue, on unRAID with removing a working directory. Has anyone seen anything like this before?

Code: Select all

2011-08-18 12:41:40,821::INFO::[postproc:317] unpack_magic finished on <downloadfolder>
2011-08-18 12:41:40,861::DEBUG::[misc:732] Moving. Old path:/mnt/cache/.sabnzbd/downloads/incomplete/<downloadfolder>/.AppleDouble/.Parent new path:/mnt/user/TV/_intake/_UNPACK_<downloadfolder>/.AppleDouble/.Parent unique?:False
2011-08-18 12:41:40,862::INFO::[misc:718] Creating directories: /mnt/user/TV/_intake/_UNPACK_<downloadfolder>/.AppleDouble
2011-08-18 12:41:40,892::INFO::[urlgrabber:110] Removing nzbmatrix bookmark 688791
2011-08-18 12:41:40,988::INFO::[postproc:473] Cleaning up <downloadfolder> (keep_basic=False)
2011-08-18 12:41:41,018::INFO::[__init__:822] /mnt/cache/.sabnzbd/downloads/incomplete/<downloadfolder>/__ADMIN__/SABnzbd_nzf_t1d3Ne removed
2011-08-18 12:41:41,030::INFO::[__init__:822] /mnt/cache/.sabnzbd/downloads/incomplete/<downloadfolder>/__ADMIN__/SABnzbd_nzf_p9RM85 removed
2011-08-18 12:41:41,030::INFO::[__init__:822] /mnt/cache/.sabnzbd/downloads/incomplete/<downloadfolder>/__ADMIN__/SABnzbd_nzf_a2u4xS removed
2011-08-18 12:41:41,030::INFO::[__init__:822] /mnt/cache/.sabnzbd/downloads/incomplete/<downloadfolder>/__ADMIN__/SABnzbd_nzf_1rNGMl removed
2011-08-18 12:41:41,039::DEBUG::[postproc:483] Removing workdir /mnt/cache/.sabnzbd/downloads/incomplete/<downloadfolder>
2011-08-18 12:41:41,040::ERROR::[postproc:487] Error removing workdir (/mnt/cache/.sabnzbd/downloads/incomplete/<downloadfolder>)
2011-08-18 12:41:41,040::INFO::[postproc:488] Traceback: 
Traceback (most recent call last):
  File "/mnt/cache/.sabnzbd/sabnzbd/postproc.py", line 485, in process_job
    remove_dir(workdir)
  File "/mnt/cache/.sabnzbd/sabnzbd/misc.py", line 1144, in remove_dir
    os.rmdir(path)
OSError: [Errno 39] Directory not empty: '/mnt/cache/.sabnzbd/downloads/incomplete/<downloadfolder>'
2011-08-18 12:41:41,073::INFO::[postproc:83] Saving postproc queue
2011-08-18 12:41:41,074::INFO::[__init__:833] Saving data for postproc1.sab in /mnt/cache/.sabnzbd/admin/postproc1.sab
2011-08-18 12:41:41,074::INFO::[downloader:229] Post-processing finished, resuming download
armless
Newbie
Newbie
Posts: 1
Joined: August 29th, 2011, 9:12 pm

Re: Error removing workdir - unRAID

Post by armless »

Same problem. Netatalk is creating the .AppleDouble folder automatically. Sabnzbd can't do a rmdir unless the folder is empty. My permissions seem to be correct, but the .AppleDouble file isn't being moved/deleted with the rest of the files.

Any ideas?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Error removing workdir - unRAID

Post by shypike »

I've seen complaints like this before.
Our policy is that SABnzbd only ever removes files that it creates itself.
Nothing else should create content in the temporary folders, but the reality is different.
Maybe the policy should be dropped for anything in the "temporary download" folders.
I'll look into it.
Post Reply