Page 1 of 2

Password Mac

Posted: October 10th, 2012, 12:07 pm
by roopa123
Hi. For so long the username and password for sab were automatically filled in and I never had to type them in - now they've disappeared and I can't remember what they were, how to find them again or even reset them.

I have searched the forums and most suggest finding the .ini file but I can't seem to find this in my Mac.

Any help please? I'd rather learn how to sort this out rather than install a new sab.

Thanks :)

Re: Password Mac

Posted: October 10th, 2012, 1:31 pm
by shypike
Go to the SABnzbd icon in the op menu bar (down arrow). Select Troubleshoot->"Restart - no login".

Re: Password Mac

Posted: October 10th, 2012, 4:29 pm
by roopa123
shypike wrote:Go to the SABnzbd icon in the op menu bar (down arrow). Select Troubleshoot->"Restart - no login".

Sorry, what's an 'op menu bar''?

Thanks for your reply.

Re: Password Mac

Posted: October 11th, 2012, 1:08 am
by shypike
Top menu bar, top of the screen.

Re: Password Mac

Posted: October 11th, 2012, 7:22 am
by roopa123
Sorry.....still can't find it! There doesn't seem to be a troubleshoot option in the menu...
Screenshot
http://i45.tinypic.com/e6vtrp.png

Re: Password Mac

Posted: October 11th, 2012, 11:23 am
by shypike
SABnzbd simply isn't running at all.

Re: Password Mac

Posted: October 11th, 2012, 11:44 am
by roopa123
But thats the problem - I can't get it to run because I don't have the password....this is as far as I get with logging in....

http://i47.tinypic.com/1zdvs0k.png

Re: Password Mac

Posted: October 11th, 2012, 2:37 pm
by shypike
You don't need a password to get it running.
Start up the app, you'll get a browser windows asking for a password.
Ignore that, and go to the arrow icon in the top menu and pick Troubleshoot-Restart-no-login.

Use the Activity Monitor to see if SABnzb is running at all. It should when it shows this warning.

Since in your screenshot there is no icon, I suspect that you installed the wrong version for your operating system.
The DMG has three flavours: (Snow)Leopard, Lion and MountainLIon.
Make sure that you installed the right one for your OSX version.

Re: Password Mac

Posted: December 19th, 2012, 10:23 pm
by kamil-g-1
I have the same problem... i can't login to sabnzbd.... is there a way to remove the app completely and delete the directory so i can just start from scratch? I want to reinstall it and go through the setup wizard so i can set a new password.

Re: Password Mac

Posted: December 20th, 2012, 7:39 am
by shypike
Remove the sabnzbd.ini file.
Location: http://wiki.sabnzbd.org/configure-0-7

Re: Password Mac

Posted: December 20th, 2012, 5:21 pm
by kamil-g-1
/Users/user/Library/Application Support/SABnzbd/sabnzbd.ini does not exist on my Mac. I looked in the /Users/user/Library/Application Support/ dir... but no /SABnzbd/ folder... :( I'll also check my keychain on the Mac... maybe I need to clear it out of there or something. This is getting really annoying.

Re: Password Mac

Posted: December 20th, 2012, 5:24 pm
by shypike
That means if never ran.
Open a Terminal (Applications->Utilities).
Type:
/Applications/SABnzbd.app/Contents/MacOS/SABnzbd --console
Enter
What happens?

Re: Password Mac

Posted: December 20th, 2012, 8:49 pm
by kamil-g-1
Kamil-MacBook-2:~ Kamil$ /Applications/SABnzbd.app/Contents/MacOS/SABnzbd --console
2012-12-20 20:11:17.527 SABnzbd[18354:707] PyObjCPointer created: at 0xacc7ccf8 of type {__CFBoolean=}
2012-12-20 20:11:17.528 SABnzbd[18354:707] PyObjCPointer created: at 0xacc7ccf0 of type {__CFBoolean=}
2012-12-20 20:11:17.528 SABnzbd[18354:707] PyObjCPointer created: at 0xacc7cd00 of type {__CFNumber=}
2012-12-20 20:11:17.529 SABnzbd[18354:707] PyObjCPointer created: at 0xacc7cd10 of type {__CFNumber=}
2012-12-20 20:11:17.529 SABnzbd[18354:707] PyObjCPointer created: at 0xacc7cd20 of type {__CFNumber=}
[20/Dec/2012:20:11:18] ENGINE Bus STOPPING
INFO:cherrypy.error:[20/Dec/2012:20:11:18] ENGINE Bus STOPPING
[20/Dec/2012:20:11:18] ENGINE HTTP Server None already shut down
INFO:cherrypy.error:[20/Dec/2012:20:11:18] ENGINE HTTP Server None already shut down
[20/Dec/2012:20:11:18] ENGINE No thread running for Autoreloader.
INFO:cherrypy.error:[20/Dec/2012:20:11:18] ENGINE No thread running for Autoreloader.
[20/Dec/2012:20:11:18] ENGINE No thread running for _TimeoutMonitor.
INFO:cherrypy.error:[20/Dec/2012:20:11:18] ENGINE No thread running for _TimeoutMonitor.
[20/Dec/2012:20:11:18] ENGINE Bus STOPPED
INFO:cherrypy.error:[20/Dec/2012:20:11:18] ENGINE Bus STOPPED
[20/Dec/2012:20:11:18] ENGINE Bus EXITING
INFO:cherrypy.error:[20/Dec/2012:20:11:18] ENGINE Bus EXITING
[20/Dec/2012:20:11:18] ENGINE Bus EXITED
INFO:cherrypy.error:[20/Dec/2012:20:11:18] ENGINE Bus EXITED
Kamil-MacBook-2:~ Kamil$


It launches Safari and pops the credentials box... Image

Re: Password Mac

Posted: December 21st, 2012, 5:38 am
by shypike
It looks like it stops right after it start, odd.
Try this, so that you get more information:
/Applications/SABnzbd.app/Contents/MacOS/SABnzbd --console -l2

That last parameter is "minus ell two"

Re: Password Mac

Posted: December 21st, 2012, 7:22 pm
by kamil-g-1
Last login: Thu Dec 20 20:56:28 on console
Kamil-MacBook-2:~ Kamil$ /Applications/SABnzbd.app/Contents/MacOS/SABnzbd --console -l2
2012-12-21 19:15:09.210 SABnzbd[6611:707] PyObjCPointer created: at 0xacc7ccf8 of type {__CFBoolean=}
2012-12-21 19:15:09.211 SABnzbd[6611:707] PyObjCPointer created: at 0xacc7ccf0 of type {__CFBoolean=}
2012-12-21 19:15:09.212 SABnzbd[6611:707] PyObjCPointer created: at 0xacc7cd00 of type {__CFNumber=}
2012-12-21 19:15:09.213 SABnzbd[6611:707] PyObjCPointer created: at 0xacc7cd10 of type {__CFNumber=}
2012-12-21 19:15:09.213 SABnzbd[6611:707] PyObjCPointer created: at 0xacc7cd20 of type {__CFNumber=}
[21/Dec/2012:19:15:10] ENGINE Bus STOPPING
INFO:cherrypy.error:[21/Dec/2012:19:15:10] ENGINE Bus STOPPING
[21/Dec/2012:19:15:10] ENGINE HTTP Server None already shut down
INFO:cherrypy.error:[21/Dec/2012:19:15:10] ENGINE HTTP Server None already shut down
[21/Dec/2012:19:15:10] ENGINE No thread running for Autoreloader.
INFO:cherrypy.error:[21/Dec/2012:19:15:10] ENGINE No thread running for Autoreloader.
[21/Dec/2012:19:15:10] ENGINE No thread running for _TimeoutMonitor.
INFO:cherrypy.error:[21/Dec/2012:19:15:10] ENGINE No thread running for _TimeoutMonitor.
[21/Dec/2012:19:15:10] ENGINE Bus STOPPED
INFO:cherrypy.error:[21/Dec/2012:19:15:10] ENGINE Bus STOPPED
[21/Dec/2012:19:15:10] ENGINE Bus EXITING
INFO:cherrypy.error:[21/Dec/2012:19:15:10] ENGINE Bus EXITING
[21/Dec/2012:19:15:10] ENGINE Bus EXITED
INFO:cherrypy.error:[21/Dec/2012:19:15:10] ENGINE Bus EXITED
Kamil-MacBook-2:~ Kamil$


Same result... it keeps prompting for a username and password... oh well... i'm just going to reinstall OS X... this is a brand new iMac so i wanted to reinstall the OS anyways because I restored from Time Machine. But that Time Machine external drive was from my MacBook and I don't like how the name of the MacBook shows up on my new iMac. Thank you for your help... I appreciate your efforts.

****************** UPDATE ********************** 2012-12-21 8:00 PM

Ok... I figured it out... this is what I did:

Quit SABnzbd process in the "Activity Monitor"
Open Terminal and type:
/Applications/SABnzbd.app/Contents/MacOS/SABnzbd --console

I noticed this line:
INFO:root:Read INI file /Users/{user}/Library/Application Support/SABnzbd/sabnzbd.ini

Back in Terminal I typed:
defaults write com.apple.Finder AppleShowAllFiles TRUE
killall Finder
(this shows "Hidden" files)

Then just go to the directory /Users/{user}/Library/Application Support/SABnzbd/ and edit the sabnzbd.ini file and change the password in the file.

Run SABnzbd app and login with the new password. Go to "Config" then "General" then remove the "SABnzbd Username" and "SABnzbd Password"

To hide "Hidden" files again, in the Terminal, type:
defaults write com.apple.Finder AppleShowAllFiles FALSE
killall Finder
(this hides "Hidden" files)

Thanks to shypike for pointing me in the right direction... could not have done it without you.