Page 1 of 1

Login details not working

Posted: May 13th, 2010, 4:04 pm
by davemacrae
Since installing the latest release of SABnzdb (0.5.2) I have been unable to log onto the web interface.

In my 0.5 install I wasn't using a username for the web front end but now it's asking me for one (username and password entries in sabnzdb.ini are "").

I've tried removing the username and password entries but that doesn't help.

I uninstalled SAB and then re-installed it with clean config.
Set up using username/password
restarts and asks for username/password
log in sucessfully
stop SAB
restart
asks for username/password
username and password failĀ  :(

Any clues?

Thanks

Dave

Re: Login details not working

Posted: May 14th, 2010, 4:45 am
by shypike
It looks like SABnzbd is picking up a different sabnzbd.ini file than you think it is.
Check whether there aren't multiple copies.
Which OS do you use?

Re: Login details not working

Posted: May 14th, 2010, 8:56 am
by davemacrae
I'm running Windows 7.

I thought that may be the case but SAB is writing to the expected ini file. However, I'd agree that it might be picking up a different one when I restart it manually (as opposed to the restart during the config process).

Is there a way to find out (log file?) which ini file is being picked up?

I've done a system search and can;'t find a duplicate file.

Thanks

Re: Login details not working

Posted: May 14th, 2010, 10:49 am
by FantaZ
I seem to be having the same issues. I've set up it the exact same way as i did with the earlier versions and can't seem to login from another machine at all or outside.

Re: Login details not working

Posted: May 14th, 2010, 12:07 pm
by shypike
FantaZ wrote: I seem to be having the same issues. I've set up it the exact same way as i did with the earlier versions and can't seem to login from another machine at all or outside.
You don't have the same issue.
You're just using the wrong IP address, probably "localhost".
Set it to the proper IP address (in hostname) and tell your firewall to let SABnzbd accept outside connectiuons.

Re: Login details not working

Posted: May 14th, 2010, 12:10 pm
by shypike
davemacrae wrote: I'm running Windows 7.

I thought that may be the case but SAB is writing to the expected ini file. However, I'd agree that it might be picking up a different one when I restart it manually (as opposed to the restart during the config process).

Is there a way to find out (log file?) which ini file is being picked up?

I've done a system search and can;'t find a duplicate file.

Thanks
Force SABnzbd to use the proper INI file.
Open a command prompt and type:
"c:\program files\SABnzbd\SABnzbd-console.exe" -f FULL-PATH-TO-INI-FILE
when you have 64bit:
"c:\program files (x86)\SABnzbd\SABnzbd-console.exe" -f FULL-PATH-TO-INI-FILE

Re: Login details not working

Posted: May 14th, 2010, 1:03 pm
by FantaZ
shypike wrote:
FantaZ wrote: I seem to be having the same issues. I've set up it the exact same way as i did with the earlier versions and can't seem to login from another machine at all or outside.
You don't have the same issue.
You're just using the wrong IP address, probably "localhost".
Set it to the proper IP address (in hostname) and tell your firewall to let SABnzbd accept outside connectiuons.
I've set it up correctly. Copied the exact same settings as the earlier version, same port etc. (Not using localhost btw)
Port is forwarded aswell.

Edit: It works on my local machine (Didn't thought i mentioned this already) on the IP adres i've set it up with, but on another machine in the network it isn't.

Re: Login details not working

Posted: May 14th, 2010, 6:08 pm
by davemacrae
shypike wrote:
davemacrae wrote: I'm running Windows 7.

I thought that may be the case but SAB is writing to the expected ini file. However, I'd agree that it might be picking up a different one when I restart it manually (as opposed to the restart during the config process).

Is there a way to find out (log file?) which ini file is being picked up?

I've done a system search and can;'t find a duplicate file.

Thanks
Force SABnzbd to use the proper INI file.
Open a command prompt and type:
"c:\program files\SABnzbd\SABnzbd-console.exe" -f FULL-PATH-TO-INI-FILE
when you have 64bit:
"c:\program files (x86)\SABnzbd\SABnzbd-console.exe" -f FULL-PATH-TO-INI-FILE
That worked.

Thanks

Dave

Re: Login details not working

Posted: May 15th, 2010, 6:27 am
by shypike
davemacrae wrote: That worked.
But it still doesn't tell you why it went wrong.
We've seen some issues in the past with non-8859-1 characters in the user name.

Re: Login details not working

Posted: May 15th, 2010, 7:30 am
by davemacrae
I used fred/fredĀ  :)

Dave

Re: Login details not working

Posted: May 15th, 2010, 7:34 am
by shypike
What is the value of your USERPROFILE environment variable?
Open a command prompt and type:

Code: Select all

set userprofile

Re: Login details not working

Posted: May 16th, 2010, 11:19 am
by davemacrae
USERPROFILE=C:\Users\dave

Re: Login details not working

Posted: May 16th, 2010, 1:57 pm
by shypike
And this is where your user profile actually is?
Your fred/fred remark wasn't very helpful.
I give up.
It works now...