Trouble unpacking downloaded tar files

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
mbinary
Newbie
Newbie
Posts: 2
Joined: May 19th, 2020, 9:46 am

Trouble unpacking downloaded tar files

Post by mbinary »

Hi all,

Recently added a new source for downloads and a lot of what is being downloaded is single-tar files. Usually, SABnzbd has no problems unpacking all of these files and ensuring they're in the right format for Sonarr/Radarr to pick up, but in this instance, it doesn't seem to be willing to unpack them.

I'm currently running on a Synology NAS, if that helps. Sanitized logs as follows, no error logs:

Code: Select all

2020-05-19 10:17:28,572::INFO::[__init__:681] Adding <download_name>.tar-xpost.nzb
2020-05-19 10:17:28,660::INFO::[misc:997] Creating directories: /volume1/file-swap/newsnet/Incomplete/<download_name>.tar-xpost
2020-05-19 10:17:28,822::INFO::[nzbstuff:530] File <file_name>.tar]-[1/2] - "" yEnc  492300800 (1/687) - SABnzbd_nzf_oeMCbl added to queue
2020-05-19 10:17:28,824::INFO::[__init__:624] Backing up /volume1/file-swap/newsnet/Incomplete/<download_name>.tar-xpost/__ADMIN__/<download_name>.tar-xpost.nzb.gz
2020-05-19 10:17:31,758::INFO::[assembler:91] Decoding /volume1/file-swap/newsnet/Incomplete/<download_name>.tar-xpost/WtF[nZb].nfo yenc
2020-05-19 10:17:31,779::INFO::[nzbstuff:1687] Detected filename from yenc: <file_name>.tar]-[1/2] - "" yEnc  492300800 (1/687) -> <file_name>.tar
2020-05-19 10:17:42,953::INFO::[nzbqueue:784] [N/A] Ending job <download_name>.tar-xpost
2020-05-19 10:17:42,957::INFO::[assembler:91] Decoding /volume1/file-swap/newsnet/Incomplete/<download_name>.tar-xpost/<file_name>.tar yenc
2020-05-19 10:17:45,228::INFO::[nzbqueue:418] [N/A] Removed job <download_name>.tar-xpost
2020-05-19 10:17:45,273::INFO::[postproc:340] Starting Post-Processing on <download_name>.tar-xpost => Repair:True, Unpack:True, Delete:True, Script:None, Cat:audio
2020-05-19 10:17:45,273::INFO::[postproc:660] Starting verification and repair of <download_name>.tar-xpost
2020-05-19 10:17:45,274::INFO::[__init__:920] [N/A] /volume1/file-swap/newsnet/Incomplete/<download_name>.tar-xpost/__ADMIN__/__verified__ missing
2020-05-19 10:17:45,275::INFO::[postproc:696] No par2 sets for <download_name>.tar-xpost
2020-05-19 10:17:45,305::INFO::[postproc:716] Verification and repair finished for <download_name>.tar-xpost
2020-05-19 10:17:45,311::INFO::[misc:997] Creating directories: /volume1/file-swap/newsnet/Complete/<download_name>.tar-xpost
2020-05-19 10:17:45,314::INFO::[postproc:381] Running unpack_magic on <download_name>.tar-xpost
2020-05-19 10:17:45,316::INFO::[postproc:388] Finished unpack_magic on <download_name>.tar-xpost
2020-05-19 10:17:45,320::INFO::[postproc:558] Cleaning up <download_name>.tar-xpost (keep_basic=False)
2020-05-19 10:17:45,321::INFO::[nzbstuff:1759] [N/A] Purging data for job <download_name>.tar-xpost (keep_basic=False, del_files=False)
2020-05-19 10:17:45,369::INFO::[database:272] Added job <download_name>.tar-xpost to history
As you can see, it recognizes the tar file, then does....nothing. I'm able to manually un-tar the file and the contents are perfectly proper.
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Trouble unpacking downloaded tar files

Post by safihre »

We don't support unpacking tar-files from SABnzbd, it's just not common enough on usenet..
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
mbinary
Newbie
Newbie
Posts: 2
Joined: May 19th, 2020, 9:46 am

Re: Trouble unpacking downloaded tar files

Post by mbinary »

Ah, okay. Do you know if there's possibly a way to add in a quick bash script at the end to detect a tar file and then run an un-tar function?
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Trouble unpacking downloaded tar files

Post by safihre »

Of course, you can write a post-processing script: https://sabnzbd.org/wiki/scripts/post-p ... ng-scripts
It can use env-variable SAB_COMPLETE_DIR or the commandline parameter.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply