Password in Name not working

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.
User avatar
xadox
Newbie
Newbie
Posts: 21
Joined: September 19th, 2012, 3:57 am

Password in Name not working

Post by xadox »

While adding the password into the name the files are not able to be decompressed.

I am adding the password as follows:

Code: Select all

name/password
If I put the pasword into the password.txt decompressing is working.

I am using v0.7.11.
Greets XadoX
kouze
Newbie
Newbie
Posts: 29
Joined: October 2nd, 2012, 2:10 pm

Re: Password in Name not working

Post by kouze »

you should put the password inside {{}} like

Code: Select all

name {{password}}
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Password in Name not working

Post by shypike »

The slash notation is only usable in the web UI.
You cannot have a slash in a real filename,
therefor the {{password}} notation is needed for real filenames.
User avatar
xadox
Newbie
Newbie
Posts: 21
Joined: September 19th, 2012, 3:57 am

Re: Password in Name not working

Post by xadox »

Hmm, but still no clue why its not working for me.
Greets XadoX
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Password in Name not working

Post by shypike »

Where do you enter the passwords?
In the web ui or in the actual file names?
What goes wrong? Are you sure the passwords are correct?
User avatar
xadox
Newbie
Newbie
Posts: 21
Joined: September 19th, 2012, 3:57 am

Re: Password in Name not working

Post by xadox »

The passwords are ok. I put the passwords into WebUI under "Optionally specify a filename:", while fetching a nzb file.

Edit:
After fetching the file it looks like the following in the WebUI:

Code: Select all

NAME + PASSWORD
Greets XadoX
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Password in Name not working

Post by shypike »

When entering in the web UI, use title/password.
The display will show:
Title / password
User avatar
xadox
Newbie
Newbie
Posts: 21
Joined: September 19th, 2012, 3:57 am

Re: Password in Name not working

Post by xadox »

Hmm, I am a little bit confused. Either I have not understand your solution or you have not understand my problem :)
Greets XadoX
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Password in Name not working

Post by shypike »

Email me a screenshot of what your job title looks like.
[email protected]
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Password in Name not working

Post by shypike »

It's not possible to enter the password like that in the Add-NZB dialog.
You may have expected that for good reasons, but it isn't.
Currently you can only add the password afterwards when you click on the job title in the queue.
Possibly this limitation will be lifted in a future release, but obviously not in the current one.
User avatar
xadox
Newbie
Newbie
Posts: 21
Joined: September 19th, 2012, 3:57 am

Re: Password in Name not working

Post by xadox »

Ok I understand.
Can I add the password also while the files are already downloading?
Greets XadoX
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Password in Name not working

Post by shypike »

xadox wrote: Can I add the password also while the files are already downloading?
Yes, that was the whole idea behind it.
Adding the password in the AddNZB dialog makes sense too, so I'll make that update in a future version.
User avatar
xadox
Newbie
Newbie
Posts: 21
Joined: September 19th, 2012, 3:57 am

Re: Password in Name not working

Post by xadox »

Thx. Changing the name afterwards is working for me.
Greets XadoX
tresi
Newbie
Newbie
Posts: 2
Joined: March 23rd, 2013, 12:55 am

Re: Password in Name not working

Post by tresi »

Hello,

my problem is exactly the same as described before.

Sabnzbd is running for a few years without any problems on Ubuntu Server. Currently on 12.04 LTS with 64-Bits. I never had any problems after new installation because I simply restored my settings folder from a backup and sometimes a have to modify some rights. But that was it and Sabnzbd runs fine again.

But now I have the problem that all passwords are dropped. Only password file works.

I tried to rename the .nzb file before adding into autoimport folder with {{password}}, I tried to set the name while adding nzb (in the dialog's last field in WEBUI) and also to rename the download job in the WebUI - last one worked for me everytime before.
In the download queue the password is shown correct ( filename / password ). But if the download is completed I always get an error message - I don't know the real message in English, it must be something like "Uncompressing failed. Archive needs password". In German "Entpacken fehlgeschlagen. Archiv benötigt ein Passwort".

There are no other entries in the log file...

I have no idea what to do. Some suggestions?

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

Re: Password in Name not working

Post by shypike »

Part of the answer you already now.
It's not possible to enter a password in the Add NZB dialog.
Adding a password is possible in the job details page: title / password.
A password can be passed in the file name as "title{{password}}.nzb"; the password must be at the end of the title.

Further, set the logging level to "Debug" on the Status page.
Then run a job with a password.
Afterwards, open the log file from the Status page and search for the password.
You should see a log line showing the start of the unrar program, including the password used.

Keep in mind that some characters cannot be represented in the title ( /, \, {, }, leading and trailing spaces and some more).
Those restrictions do not apply to the password file.
Post Reply