anything
AirNav RadarBox
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: rbfeeder does not restart automatically  (Read 10611 times)

0 Members and 1 Guest are viewing this topic.

glen4cindy2

  • New Member
  • *
  • Posts: 17
rbfeeder does not restart automatically
« on: July 20, 2019, 12:02:01 AM »
I recently had a home network outage due to a breaker popping.

Once I returned home from work and corrected this issue all of the other feeders I have began feeding again except rbfeeder.
I had to open a CLI and issue a "sudo systemctl restart rbfeeder" for it to begin feeding again.

I'd like to not have to remember to do this if I ever have to reboot the Pi again.

Thanks in advance.

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: rbfeeder does not restart automatically
« Reply #1 on: July 20, 2019, 03:07:11 AM »
(1) This possibly may be only one time occurance and may not recur.  To check, reboot pi
sudo reboot

After reboot check status
sudo systemctl status rbfeeder

If it is running, then it was only one time occurance.

(2) Why you are using CLI? Install PuTTY on your Desktop/Laptop and SSH to the RPi, and give commands from your Desktop/Laptop.
« Last Edit: July 20, 2019, 03:13:43 AM by abcd567 »

glen4cindy2

  • New Member
  • *
  • Posts: 17
Re: rbfeeder does not restart automatically
« Reply #2 on: July 20, 2019, 04:05:00 AM »
So, CLI was the wrong terminology to use.

I'm using PuTTY on my PC or Terminal on my Mac.

So, things were running fine and I issued the sudo reboot and now it will not come back up at all so it looks like the CD card might be corrupted again.

This is getting frustrating. Everything will run great for a week or maybe 2 and then things just crash all the sudden for no explained reason.

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: rbfeeder does not restart automatically
« Reply #3 on: July 21, 2019, 01:35:57 AM »
If it is only rbfeeder which is giving trouble, then may be some of its file got corrupted. In this case purge the current install and then reinstall

Code: [Select]
sudo apt-get purge rbfeeder

sudo apt-get install rbfeeder


After reinstallation, you will have to add the key again as purging removes all configuration.

.
« Last Edit: July 21, 2019, 01:38:49 AM by abcd567 »

wiedehopf

  • Jr. Member
  • **
  • Posts: 66
Re: rbfeeder does not restart automatically
« Reply #4 on: July 21, 2019, 07:27:05 AM »
Maybe your power supply isn't adequate?

Could also be a bad sd-card.

glen4cindy2

  • New Member
  • *
  • Posts: 17
Re: rbfeeder does not restart automatically
« Reply #5 on: July 21, 2019, 01:21:35 PM »
@ wiedehopf

I had a Raspberry Pi 3 B 1.2 running on a brand new 16GB SD card with an official Raspberry Pi power supply. I'm going to guess it had been running about 30 days or so until this hiccup.

I also had a Pi Zero running but I was not using an official psu.

I could pull the dump1090 webpage from both of them right up until the moment I rebooted them.

After that, neither one would come back up.

wiedehopf

  • Jr. Member
  • **
  • Posts: 66
Re: rbfeeder does not restart automatically
« Reply #6 on: July 21, 2019, 04:10:17 PM »
Maybe some updates didn't work?

Just reimage with the new Raspbian Buster Lite.
Hope for the best ;)

abcd567

  • Hero Member
  • *****
  • Posts: 890
  • CYYZ - Toronto
Re: rbfeeder does not restart automatically
« Reply #7 on: July 21, 2019, 08:03:05 PM »

I could pull the dump1090 webpage from both of them right up until the moment I rebooted them.

After that, neither one would come back up.

Your router assigns Dynamic or Static IP? If dynamic, rebooting/power turn on/off may result in a different local IP. Using old local IP will then not pull the dump1090 map.

You can login to your router and find IP address. Alternatively use IP address finders listed below:


IP ADDRESS FINDERS

Advanced IP Scanner (Windows)
http://www.advanced-ip-scanner.com/

Angry IP Scanner (Windows & Mac)
https://angryip.org/download/