Page 1 of 1

Moved from XP to Win7 how do i get sab to work.

Posted: January 11th, 2009, 10:36 am
by nzb_leecher
I discovering Win7 now after installing it today, looks ok.
Sab didnt start had no servers etc. Is there a quick way to get it working or do i have to install it again? I have a dual boot now so i dont want to install everything double.

Re: Moved from XP to Win7 how do i get sab to work.

Posted: January 11th, 2009, 10:58 am
by switch
The cache and settings for SABnzbd will be stored in different locations.
You can either copy them from the xp location

Code: Select all

C:\Documents and Settings\USER\Local Settings\Application Data\sabnzbd
(replace C:\ and USER with the appropriate drive and username)
to the windows 7 location

Code: Select all

C:\Users\USER\AppData\Local\sabnzbd
(replace C:\ and USER with the appropriate drive and username)
or use a portable installation by placing sabnzbd in a non-program files folder (such as C:\SABnzbd\) and copying the settings and cache into that folder.

If you set explicit paths for things such as download locations, backup folder, or nzb backup, be sure to verify they still exist and the drive names havent changed before starting the new copy.

Re: Moved from XP to Win7 how do i get sab to work.

Posted: January 12th, 2009, 11:39 am
by nzb_leecher
Hi,

What i did now placing my ini file in the sab dir again that way its easy to find and edit if i have to change between xp eand w7.

However i do have some hardcoded paths like K:/Sabnzbd/Incomplete, K:/Sabnzbd/nzb_backups. How can i make them relative? Will Sabnzbd/Incomplete or Incomplete be enough for Sab to understand?

Re: Moved from XP to Win7 how do i get sab to work.

Posted: January 12th, 2009, 11:45 am
by shypike
nzb_leecher wrote: How can i make them relative?
They are relative to the location of the INI file.

Re: Moved from XP to Win7 how do i get sab to work.

Posted: January 12th, 2009, 12:25 pm
by nzb_leecher
Hm just booted w7, the easy way didn't work  ;D

Have to dig a little deeper

Re: Moved from XP to Win7 how do i get sab to work.

Posted: January 12th, 2009, 1:24 pm
by nzb_leecher
Finally found the problem.

i called the webpage with http://127.0.0.1:8080/sabnzbd/ works in xp but not w7

changed it to http://localhost:8080/sabnzbd/ and now it works. Dont whats the difference but w7 or sab doesnt like that  ;D

Re: Moved from XP to Win7 how do i get sab to work.

Posted: January 12th, 2009, 1:32 pm
by switch
In XP localhost = 127.0.0.1 (An ipv4 address)
In Vista/Win7 localhost = [::1]  (ipv6 address)

Not really a fault of either sabnzbd or win7, just differences between modern operating systems.

Re: Moved from XP to Win7 how do i get sab to work.

Posted: January 12th, 2009, 2:45 pm
by sander
switch wrote: In XP localhost = 127.0.0.1 (An ipv4 address)
In Vista/Win7 localhost = [::1]  (ipv6 address)

Not really a fault of either sabnzbd or win7, just differences between modern operating systems.
I would say that this 'mystery' is an extra argument for my feature suggestion on http://forums.sabnzbd.org/index.php?topic=1579 : based on the OS, SABnzbd would present http://127.0.0.1:8080/sabnzbd resp. http://[::1]:8080/sabnzbd as the local URL, and auto-start the webbrowser with that URL ...

Re: Moved from XP to Win7 how do i get sab to work.

Posted: January 12th, 2009, 3:53 pm
by switch
Well this would not help in this scenario, as he would still be trying to access 127.0.0.1. Also I think displaying 'localhost' is more user friendly than [::1]

Re: Moved from XP to Win7 how do i get sab to work.

Posted: January 12th, 2009, 4:32 pm
by sander
switch wrote: Well this would not help in this scenario, as he would still be trying to access 127.0.0.1. Also I think displaying 'localhost' is more user friendly than [::1]
"localhost" is indeed more user friendly, and on re-reading the thread I see "localhost" works for the OP. Good.

I was confusing it with the Mac case where even "localhost" did not work (http://forums.sabnzbd.org/index.php?topic=1594) and only [::1] worked. But, that could be caused by something else.