[solved] Unpacking failed, write error or disk is full

Report & discuss bugs found in 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
will83
Newbie
Newbie
Posts: 2
Joined: November 15th, 2014, 10:36 pm

[solved] Unpacking failed, write error or disk is full

Post by will83 »

I am running this on QNAP TS-459.
Everything seemed to be running fine, but since a few days ago, nothing wants to unpack anymore.
I can successfully unrar the affected files via SSH.

One odd thing that is going on is that in config > folders I will set my completed download folder to "/share/Download/sabnzbd/complete", but the system will automatically change this to "/share/CACHEDEV1_DATA/Download/sabnzbd/complete". The same override happens on the incomplete folder. I
think it's OK though, because it seems that the download folder really just is symlink to the CACHEDEV1_DAATA/Download folder:

Code: Select all

drwxrwxrwx   27 admin    administ      4.0k Nov 11 19:55 CACHEDEV1_DATA/
lrwxrwxrwx    1 admin    administ        23 Nov 13 22:44 Download -> CACHEDEV1_DATA/Download/
My log file shows the following:

Code: Select all

2014-11-15 20:18:24,440::INFO::[newsunpack:425] Extracting rarfile /share/CACHEDEV1_DATA/Download/sabnzbd/incomplete/The.Walking.Dead.S05E03.720p.WEB-DL.DD5.1.H.264-CYPHANIX-NZBgeek/bd9d4ffad1088d9377a34b7247e7c80e5481f804.part001.rar (belonging to bd9d4ffad1088d9377a34b7247e7c80e5481f804) to /tv/_UNPACK_The.Walking.Dead.S05E03.720p.WEB-DL.DD5.1.H.264-CYPHANIX-NZBgeek
2014-11-15 20:18:24,440::DEBUG::[newsunpack:528] rar_extract(): Extractionpath: /tv/_UNPACK_The.Walking.Dead.S05E03.720p.WEB-DL.DD5.1.H.264-CYPHANIX-NZBgeek
2014-11-15 20:18:27,077::DEBUG::[newsunpack:573] Running unrar ['/share/CACHEDEV1_DATA/.qpkg/SABnzbdplus/x86/bin-utils/unrar', 'x', '-idp', '-o-', '-or', '-p-', '/share/CACHEDEV1_DATA/Download/sabnzbd/incomplete/The.Walking.Dead.S05E03.720p.WEB-DL.DD5.1.H.264-CYPHANIX-NZBgeek/bd9d4ffad1088d9377a34b7247e7c80e5481f804.part001.rar', '/tv/_UNPACK_The.Walking.Dead.S05E03.720p.WEB-DL.DD5.1.H.264-CYPHANIX-NZBgeek/']
2014-11-15 20:18:27,700::ERROR::[newsunpack:624] ERROR: write error ( in the file /tv/_UNPACK_The.Walking.Dead.S05E03.720p.WEB-DL.DD5.1.H.264-CYPHANIX-NZBgeek/bd9d4ffad1088d9377a34b7247e7c80e5481f804.mkv [R]etry, [A]bort)
Looking at my completed folder (which I'm assuming the above error relates to) I can see the following permissions:

Code: Select all

drwxrwxrwx  102 admin    administ     16.0k Nov 12 17:34 movies/
drwxrwxrwx   45 admin    administ      4.0k Nov 15 20:45 tv/
I'm at a loss here. Any thoughts?
Last edited by will83 on November 16th, 2014, 2:52 pm, edited 1 time in total.
will83
Newbie
Newbie
Posts: 2
Joined: November 15th, 2014, 10:36 pm

Re: Unpacking failed, write error or disk is full in 0.7.19

Post by will83 »

Well, this is embarrassing... It turns out that I made a very simple error myself in the settings, by referencing "/tv" in my completed path in config > categories, instead of "tv".
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [solved] Unpacking failed, write error or disk is full

Post by shypike »

Glad that it's solved now and that you took the trouble to report back.
rk360
Newbie
Newbie
Posts: 6
Joined: December 21st, 2012, 6:40 am

Re: [solved] Unpacking failed, write error or disk is full

Post by rk360 »

I was just searching for a solution to my problem, I do seem to have a similar problem (write error or disk is full) except mein says error 627

Running sabnzbd 0.7.2 on a QNAP TVS-463

I get

Code: Select all

2015-03-13 14:41:19,563::ERROR::[newsunpack:627] Fehler beim Schreiben:  in the file /Multimedia/UNSORTED/_UNPACK_DEMO_UBUNTO_14_1 [R]etry, [A]bort
2015-03-13 14:42:42,628::ERROR::[newsunpack:627] Fehler beim Schreiben:  in the file /Multimedia/UNSORTED/_UNPACK_DEMO_UBUNTO_14_2 [R]etry, [A]bort
2015-03-13 14:44:11,177::ERROR::[newsunpack:627] Fehler beim Schreiben:  in the file /Multimedia/UNSORTED/_UNPACK_DEMO_UBUNTO_14_3 [R]etry, [A]bort
2015-03-13 14:45:41,166::ERROR::[newsunpack:627] Fehler beim Schreiben:  in the file /Multimedia/UNSORTED/_UNPACK_DEMO_UBUNTO_14_4 [R]etry, [A]bort
2015-03-13 14:46:56,440::ERROR::[newsunpack:627] Fehler beim Schreiben:  in the file /Multimedia/UNSORTED/_UNPACK_DEMO_UBUNTO_14_5 [R]etry, [A]bort
Basically sabnbzd tells me that the disk is full (which is not) If I go to the incomplete folder on the NAS and extract it on my Mac it works just fine, writing to the same folder etc.

I did check to see if the folders are correct and they are:

Code: Select all

Temp: /share/CACHEDEV1_DATA/Download/sabnzbd/incomplete 
Complete: /share/CACHEDEV1_DATA/Download/UNSORTED
My Permissions

Code: Select all

drwxrwxrwx    8 admin    administ      4096 Mar 11 17:22 ./
drwxrwxrwx    7 admin    administ      4096 Mar 13 14:47 ../
drwxrwxrwx    2 admin    administ      4096 Mar 11 17:22 cache/
drwxrwxrwx    2 admin    administ      4096 Mar 11 17:22 complete/
drwxrwxrwx    2 admin    administ      4096 Mar 13 14:47 incomplete/
drwxrwxrwx    2 admin    administ      4096 Mar 11 17:41 logs/
drwxrwxrwx    3 admin    administ      4096 Mar 11 17:22 nzb/
drwxrwxrwx    2 admin    administ      4096 Mar 11 17:22 temp/

drwxrwxrwx    2 admin    administ      4096 Mar 13 09:38 UNSORTED/
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [solved] Unpacking failed, write error or disk is full

Post by shypike »

SABnzbd can do no more than report what it gets
as error message from the operating system.
I don't know what that message means.
rk360
Newbie
Newbie
Posts: 6
Joined: December 21st, 2012, 6:40 am

Re: [solved] Unpacking failed, write error or disk is full

Post by rk360 »

Basically "Fehler beim Schreiben" says "Error writing file" I hoped that the error code "newsunpack:627" would be an indicator of what is wrong.
It also states the error write error or disk is full in the list view of the downloads as reported by the original post author.

:-(
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [solved] Unpacking failed, write error or disk is full

Post by shypike »

OK, 627 is the actual code line in SABnzbd that logs the error.
This means that SABnzbd has discovered that the UNRAR tool stopped
with the error message "Write error".
So that doesn't solve the problem, it only puts the blame on UNRAR.
Or rather, it's UNRAR that reports the bad news coming from the operating system.

One other option is to enable Debug logging on the Status page.
This means that more diagnostic info is logged, which could possibly help.
After the error occurs again, pause SABnzbd and get the log file from the Status page.
rk360
Newbie
Newbie
Posts: 6
Joined: December 21st, 2012, 6:40 am

Re: [solved] Unpacking failed, write error or disk is full

Post by rk360 »

Just wanted to give some feedback...

I uninstalled sabnzbd again. I then installed

A special GIT from the QNAP Forums
A wrapper for sabnzbd from the QNAP Forums
Restarted and everything is fine now.

I have no idea why and what went different but I now have no more errors.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [solved] Unpacking failed, write error or disk is full

Post by shypike »

Possibly the wrapper solves access rights problems.
Can you send me the URL's of the special git and the wrapper?
rk360
Newbie
Newbie
Posts: 6
Joined: December 21st, 2012, 6:40 am

Re: [solved] Unpacking failed, write error or disk is full

Post by rk360 »

Post Reply