This one is totally my fault. I installed Raspbian onto my Raspberry Pi tonight and used "apt-get install sabnzbdplus" which installed SAB perfectly.
Halfway through the install wizard, I enter a complex password for http access to SAB. All well so far. SAB is nearing completion of the wizard (I think) and asks me to enter the password, which I do, incorrectly.
I've read the FAQ, I know that I need to edit the sabnzbd.ini which, on a Unix system should be here ~/.sabnzbd/sabnzbd.ini, but I don't know where that location is!
I've opened Leafpad on the Pi, ready to edit the .ini file, if only I could find it.
Thank you for any assistance.
Can't find sabnzbd.ini file on Raspberry Pi
Forum rules
Help us help you:
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.
-
- Newbie
- Posts: 23
- Joined: March 11th, 2011, 2:08 pm
Re: Can't find sabnzbd.ini file on Raspberry Pi
The location is ~/.sabnzbd/sabnzbd.ini (with a tilde): the tilde means "home directory". So
If you want to avoid this (possibly difficult) tilde-character stuff, you can do this:
login in your Raspi, make sure sabnzbd is NOT running, and then:
... and then start sabnzbdplus.
HTH
Code: Select all
pi@raspbian-armhf-SJ ~ $ ls -al ~/.sabnzbd/sabnzbd.ini
-rw------- 1 pi pi 3234 Aug 31 07:34 /home/pi/.sabnzbd/sabnzbd.ini
pi@raspbian-armhf-SJ ~ $
If you want to avoid this (possibly difficult) tilde-character stuff, you can do this:
login in your Raspi, make sure sabnzbd is NOT running, and then:
Code: Select all
cd
cd .sabnzbd
rm sabnzbd.ini
HTH
-
- Newbie
- Posts: 23
- Joined: March 11th, 2011, 2:08 pm
Re: Can't find sabnzbd.ini file on Raspberry Pi
Thanks so much! I'm sure I looked in the home folder already, and it was empty, will check later.
If I remove the .ini file will that prompt a restart of the setup wizard?
If I remove the .ini file will that prompt a restart of the setup wizard?
Re: Can't find sabnzbd.ini file on Raspberry Pi
The directory ".sabnzbd" starts with a ... ".". That means it is invisible. You won't see.bigdavethehorn wrote:Thanks so much! I'm sure I looked in the home folder already, and it was empty, will check later.
If I remove the .ini file will that prompt a restart of the setup wizard?
So ... just execute the commands I gave you, and share your experience.
-
- Newbie
- Posts: 23
- Joined: March 11th, 2011, 2:08 pm
Re: Can't find sabnzbd.ini file on Raspberry Pi
Thanks Sander, your instructions worked and automatically restarted the wizard for me at the next restart.
I'm off to find instructions to install unrar-free now, they're either on this forum or on raspberrypi.org.
I'm off to find instructions to install unrar-free now, they're either on this forum or on raspberrypi.org.
Re: Can't find sabnzbd.ini file on Raspberry Pi
Assuming you're using Raspbian, see here: http://www.raspberrypi.org/phpBB3/viewt ... c6#p151313bigdavethehorn wrote:Thanks Sander, your instructions worked and automatically restarted the wizard for me at the next restart.
I'm off to find instructions to install unrar-free now, they're either on this forum or on raspberrypi.org.
-
- Newbie
- Posts: 23
- Joined: March 11th, 2011, 2:08 pm
Re: Can't find sabnzbd.ini file on Raspberry Pi
That's the post I was thinking of! Thanks Sander.
Can I copy and paste the code as is, or should it be entered line by line?
Can I copy and paste the code as is, or should it be entered line by line?
Re: Can't find sabnzbd.ini file on Raspberry Pi
Line by line is safer; check each output.bigdavethehorn wrote:That's the post I was thinking of! Thanks Sander.
Can I copy and paste the code as is, or should it be entered line by line?
-
- Newbie
- Posts: 23
- Joined: March 11th, 2011, 2:08 pm
Re: Can't find sabnzbd.ini file on Raspberry Pi
Ok, when I copy and paste line one, the Pi repeats it to me, minus the quotation marks.
When I copy and paste line two, the Pi advises that there is a syntax error near unexpected token "I".
So, I retype line two, without "I" at the start and pi@raspberrypi disappears. The SSH session remains open however.
Some time later, pi@raspberrypi has reappeared. It now advises me that:
E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list
E: The list of sources could not be read.
I'm guessing this isn't going well?
When I copy and paste line two, the Pi advises that there is a syntax error near unexpected token "I".
So, I retype line two, without "I" at the start and pi@raspberrypi disappears. The SSH session remains open however.
Some time later, pi@raspberrypi has reappeared. It now advises me that:
E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list
E: The list of sources could not be read.
I'm guessing this isn't going well?
Re: Can't find sabnzbd.ini file on Raspberry Pi
How many lines do you see? Six or five? Hint: Six is wrong. (EDIT)
Post the terminal (thus what you type and what you get back) as text here in this forum
Post the terminal (thus what you type and what you get back) as text here in this forum
-
- Newbie
- Posts: 23
- Joined: March 11th, 2011, 2:08 pm
Re: Can't find sabnzbd.ini file on Raspberry Pi
Would you like me to start from the beginning, and post the text from the terminal?
Re: Can't find sabnzbd.ini file on Raspberry Pi
Open a terminal, and copy-paste the commands below. You can stop if you get an error.bigdavethehorn wrote:Would you like me to start from the beginning, and post the text from the terminal?
Code: Select all
echo "deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get build-dep unrar-nonfree
sudo apt-get source -b unrar-nonfree
sudo dpkg -i unrar_4.1.4-1_armhf.deb
-
- Newbie
- Posts: 23
- Joined: March 11th, 2011, 2:08 pm
Re: Can't find sabnzbd.ini file on Raspberry Pi
We have an error!
pi@raspberrypi ~ $ sudo apt-get update
E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list
E: The list of sources could not be read.
pi@raspberrypi ~ $ sudo apt-get update
E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list
E: The list of sources could not be read.
Re: Can't find sabnzbd.ini file on Raspberry Pi
There should not be a word "sudo" in /etc/apt/sources.listbigdavethehorn wrote:We have an error!
pi@raspberrypi ~ $ sudo apt-get update
E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list
E: The list of sources could not be read.
What is the output of
Code: Select all
cat /etc/apt/sources.list
-
- Newbie
- Posts: 23
- Joined: March 11th, 2011, 2:08 pm
Re: Can't find sabnzbd.ini file on Raspberry Pi
pi@raspberrypi ~ $ cat /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
sudo apt-get update
sudo apt-get update
deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
pi@raspberrypi ~ $
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
sudo apt-get update
sudo apt-get update
deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
pi@raspberrypi ~ $