Page 1 of 2

Password in Name not working

Posted: March 7th, 2013, 1:49 am
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.

Re: Password in Name not working

Posted: March 7th, 2013, 1:01 pm
by kouze
you should put the password inside {{}} like

Code: Select all

name {{password}}

Re: Password in Name not working

Posted: March 7th, 2013, 4:22 pm
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.

Re: Password in Name not working

Posted: March 8th, 2013, 2:54 am
by xadox
Hmm, but still no clue why its not working for me.

Re: Password in Name not working

Posted: March 8th, 2013, 5:40 pm
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?

Re: Password in Name not working

Posted: March 10th, 2013, 8:29 am
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

Re: Password in Name not working

Posted: March 10th, 2013, 11:44 am
by shypike
When entering in the web UI, use title/password.
The display will show:
Title / password

Re: Password in Name not working

Posted: March 11th, 2013, 1:10 am
by xadox
Hmm, I am a little bit confused. Either I have not understand your solution or you have not understand my problem :)

Re: Password in Name not working

Posted: March 11th, 2013, 1:08 pm
by shypike
Email me a screenshot of what your job title looks like.
[email protected]

Re: Password in Name not working

Posted: March 12th, 2013, 12:49 pm
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.

Re: Password in Name not working

Posted: March 13th, 2013, 1:22 am
by xadox
Ok I understand.
Can I add the password also while the files are already downloading?

Re: Password in Name not working

Posted: March 13th, 2013, 11:05 am
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.

Re: Password in Name not working

Posted: March 13th, 2013, 12:10 pm
by xadox
Thx. Changing the name afterwards is working for me.

Re: Password in Name not working

Posted: March 23rd, 2013, 1:13 am
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

Re: Password in Name not working

Posted: March 23rd, 2013, 5:29 am
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.