Page 1 of 2
Can't find sabnzbd.ini file on Raspberry Pi
Posted: August 30th, 2012, 5:29 pm
by bigdavethehorn
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.
Re: Can't find sabnzbd.ini file on Raspberry Pi
Posted: August 31st, 2012, 2:54 am
by sander
The location is ~/.sabnzbd/sabnzbd.ini (with a tilde): the tilde means "home directory". So
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:
... and then start sabnzbdplus.
HTH
Re: Can't find sabnzbd.ini file on Raspberry Pi
Posted: August 31st, 2012, 7:40 am
by bigdavethehorn
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?
Re: Can't find sabnzbd.ini file on Raspberry Pi
Posted: August 31st, 2012, 11:26 am
by sander
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?
The directory ".sabnzbd" starts with a ... ".". That means it is invisible. You won't see.
So ... just execute the commands I gave you, and share your experience.
Re: Can't find sabnzbd.ini file on Raspberry Pi
Posted: September 1st, 2012, 3:33 pm
by bigdavethehorn
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.
Re: Can't find sabnzbd.ini file on Raspberry Pi
Posted: September 1st, 2012, 3:39 pm
by sander
bigdavethehorn 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.
Assuming you're using Raspbian, see here:
http://www.raspberrypi.org/phpBB3/viewt ... c6#p151313
Re: Can't find sabnzbd.ini file on Raspberry Pi
Posted: September 1st, 2012, 4:01 pm
by bigdavethehorn
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?
Re: Can't find sabnzbd.ini file on Raspberry Pi
Posted: September 2nd, 2012, 12:01 pm
by sander
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?
Line by line is safer; check each output.
Re: Can't find sabnzbd.ini file on Raspberry Pi
Posted: September 2nd, 2012, 3:34 pm
by bigdavethehorn
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?
Re: Can't find sabnzbd.ini file on Raspberry Pi
Posted: September 2nd, 2012, 3:42 pm
by sander
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
Re: Can't find sabnzbd.ini file on Raspberry Pi
Posted: September 2nd, 2012, 3:45 pm
by bigdavethehorn
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
Posted: September 2nd, 2012, 3:49 pm
by sander
bigdavethehorn wrote:Would you like me to start from the beginning, and post the text from the terminal?
Open a terminal, and copy-paste the commands below. You can stop if you get an error.
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
Re: Can't find sabnzbd.ini file on Raspberry Pi
Posted: September 2nd, 2012, 3:52 pm
by bigdavethehorn
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.
Re: Can't find sabnzbd.ini file on Raspberry Pi
Posted: September 2nd, 2012, 4:00 pm
by sander
bigdavethehorn 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.
There should not be a word "sudo" in /etc/apt/sources.list
What is the output of
Post it here
Re: Can't find sabnzbd.ini file on Raspberry Pi
Posted: September 2nd, 2012, 4:02 pm
by bigdavethehorn
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 ~ $