I have an instance of sabnzbdplus running on a headless raspberry pi which is running 24/7.
I access the sabnzbdplus wirelessly from an instance of chrome on a laptop and start it downloading a file. I then close chrome and shut down the laptop, leaving sabnzbdplus running on the pi, or so I thought.
When I later accessed the pi I was unable to connect to sabnzbdplus using chrome. I found that sabnzbdplus had shutdown and no further data had been downloaded.
I was under the impression that sabnzbdplus was a separate entity and could be run headless. Is this not so, or do I need to set it up in some way to do so?
sabnzbd & 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.
Re: sabnzbd & raspberry pi
How do you start sabnzbdplus?
Option 1: as a service
Option 2: login via ssh, type 'sabnzbdplus'
Option 3: ...
Option 1: as a service
Option 2: login via ssh, type 'sabnzbdplus'
Option 3: ...
Re: sabnzbd & raspberry pi
Option 2
and I closed down the connection! dumb
and I closed down the connection! dumb
Last edited by makem on March 9th, 2014, 1:24 pm, edited 2 times in total.
Re: sabnzbd & raspberry pi
Well, yes: as soon as you close the SSH session, sabnzbdplus will stop.makem wrote:Option 2
You can avoid that with nohup, but it's better to use Option 1: run sab as a service. See http://wiki.sabnzbd.org/install-ubuntu-repo "How to run as a service"
HTH
Re: sabnzbd & raspberry pi
Never heard of nohup but will investigate.
I don't often use ngs so have decided to use TightVNC or PuTTy to start an instance using LXTerminal (which I will NOT shutdown!), as and when needed.
As a service it would be wasting processor for the majority of time.
The pi is normally booted by a timer twice in 24 hours for automatic backup, shutting itself down when completed.
When I download I will just allow the pi to run 24 hours. The backups will look after themselves while the download is carried out.
Thanks for the prompt and informative replies.
I don't often use ngs so have decided to use TightVNC or PuTTy to start an instance using LXTerminal (which I will NOT shutdown!), as and when needed.
As a service it would be wasting processor for the majority of time.
The pi is normally booted by a timer twice in 24 hours for automatic backup, shutting itself down when completed.
When I download I will just allow the pi to run 24 hours. The backups will look after themselves while the download is carried out.
Thanks for the prompt and informative replies.
-
ThisSeatIsTaken
- Newbie

- Posts: 3
- Joined: March 11th, 2014, 2:47 pm
Re: sabnzbd & raspberry pi
Just run this, and you can safely log off without shutting sabnzb down.
Alternatively you can run this and it will start up automatically everyting your RPI boots up.
and edit the user variable to this
Ctrl-O and Ctrl-X to save and exit... Voila, the sabnzb starts on boot...
Code: Select all
sabnzbdplus -dCode: Select all
sudo nano /etc/default/sabnzbdplusCode: Select all
USER=pi