Radarbox connected for 3 days, then disconnected AGAIN

Started by Av8tor_from_Argentina, August 07, 2022, 11:09:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Av8tor_from_Argentina

Good morning. I had an issue since my last reboot/reinstall of all flight trackers software installed in my Rpi.

I have working and feeding Flightradar24, Flightaware and Planefinder. All of them work perfectly, the only one who refuses to work is RadarBox24

Suddenly a week ago, I´ve received an email stating that My account is back online again.. CHecked and was true.. ONLY FOR 3 days.. today my RadarBox24 is down... and is really annoying because it wasn´t working, and as started to work by herself, stopped by herself...

Anyone knows or "suffered" the same glitch, ghost, whatever you name it ??

Regards from Argentina

Av8tor_from_Argentina

I cannot copy/paste because forum system rejected due to spam suspect...

attached is the systemctl status rbfeeder output

Maybe someone knows whats going on... I have 3 other providers working perfectly.

Regards


abcd567

please run following command and post its output.
(replace key by xxxxxxxxxxx when posting)

sudo cat /etc/rbfeeder.ini   


Av8tor_from_Argentina

Good morning. Here you have...

Marco@raspberry:~ $ sudo cat /etc/rbfeeder.ini
[client]
network_mode=true
log_file=/var/log/rbfeeder.log

key=xxxxxxxxxxx

sn=EXTRPI027210

lat=-3x.xxxxx

lon=-5x.xxxxx

[network]
mode=beast
external_port=30005
external_host=127.0.0.1

[mlat]
autostart_mlat=true
#mlat_cmd=/usr/bin/python3.9 /usr/bin/mlat-client

[dump978]
#dump978_enabled=false



Thanks

abcd567

Your rbfeeder config settings are OK..
Maybe some other files of rbfeeder got broken/corrupted during install. Try purging current install, then update, then make a fresh install


sudo apt purge rbfeeder   

sudo apt update 

sudo apt install rbfeeder   




.

Av8tor_from_Argentina

Thanks ABCD567, here you have the output from the installation...

It is attached because spam issue with the forum soft...

Something is not right at the end of the file...

Regards,


abcd567


(1) Which model your Pi is?
(2) Which OS image did you write to microSD card?

.

Preparing to unpack .../rbfeeder_1%3a1.0.8+deb11_armhf.deb ...
Unpacking rbfeeder (1:1.0.8+deb11) ...
Setting up rbfeeder (1:1.0.8+deb11) ...
Checking if service is running and restart, if needed...
Failed to restart rbfeeder.service: Unit rbfeeder.service failed to load properly: Device or resource busy.
See system logs and 'systemctl status rbfeeder.service' for details.
dpkg: error processing package rbfeeder (--configure):
installed rbfeeder package post-installation script subprocess returned error exit status 1





Seems the package rbfeeder is broken

Try this



sudo apt --fix-broken install   

sudo reboot   



If above fails to fix the issue, try this command


sudo dpkg --configure -a   



.


Av8tor_from_Argentina

Model Raspberry Pi 3b+
OS : "Raspbian GNU/Linux 11 (bullseye)"


None of the procedures above could fix the issue. I have a doubt. When I execute sudo apt install rbfeeder    rbfeeder dont ask for initial parameters. Is there any way to ERASE DELETE VAPORIZE all RBFEEDER and make a clean installation ??

Regards

Av8tor_from_Argentina

Just a simple question. I´ve realized that station key and Station name weren´t asociated, so I´ve edited the Station Name in the rbfeeder.ini file, to match it with the original station key.

Maybe there is another way to do that.

Waiting for answers...

Regards

abcd567

OK Try this

(1) Give following commands

sudo systemctl stop rbfeeder 

sudo dpkg --purge rbfeeder   

sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)"   

# NOTE: In command below, replace xxxxxxxxxxxxxxxxxx by your actual key

sudo rbfeeder --setkey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx




(2) Press Ctrl+C to break-out


(3) Stop then restart rbfeeder

sudo systemctl stop rbfeeder 

sudo systemctl restart rbfeeder   




(4) Check status

sudo systemctl status rbfeeder   



If above fails, then locate the rbfeeder package by following command



sudo find / -name rbfeeder*.deb     


The above command will output location of rbfeeder package.  In my Pi it shows like this:
                       /var/cache/apt/archives/rbfeeder_1%3a1.0.8+deb11_armhf.deb

Please post output. This package will need to be deleted, then installation script run


sudo rm /var/cache/apt/archives/rbfeeder_1%3a1.0.8+deb11_armhf.deb   

sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)"   

Av8tor_from_Argentina

Just getting tired... 3 PROVIDERS WORKS PERFECT...

Attached info, because system keeps telling spam... don´t know how you guys copy/paste code/text in this forum and not getting that message...

How could you put those codes lines in green background ?

Regards

abcd567

Quote from: Av8tor_from_Argentina on August 18, 2022, 11:34:26 AM
Just getting tired... 3 PROVIDERS WORKS PERFECT...

Attached info, because system keeps telling spam... don´t know how you guys copy/paste code/text in this forum and not getting that message...

How could you put those codes lines in green background ?

Regards


Marco@raspberry:~ $ sudo find / -name rbfeeder*.deb

/var/cache/apt/archives/rbfeeder_1%3a1.0.7_armhf.deb
/var/cache/apt/archives/rbfeeder_1%3a1.0.8+deb11_armhf.deb
find: '/run/user/1000/gvfs': Permission denied


Oh, I think I found the culprit.
The first two lines of output show that you have two versions of rbfeeder (1.0.7 & 1.0.8) saved in apt cache. Either one or both versions are corrupt, OR presence of two versions is causing conflict.

Let us get rid of all old stuff first

sudo systemctl stop rbfeeder 

sudo apt purge rbfeeder   

sudo rm /var/cache/apt/archives/rbfeeder_1%3a1.0.7_armhf.deb 

sudo rm /var/cache/apt/archives/rbfeeder_1%3a1.0.8+deb11_armhf.deb 

sudo reboot 



After reboot, check that both versions are removed from apt cache by following command. If both are removed, the output of this command wont show them


sudo find / -name rbfeeder*.deb     



If apt cache is clear of rbfeeder, run the installation script


sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)"   

## NOTE: In command below, replace xxxxxxxxxxxxxxxxxx by your actual key
sudo rbfeeder --setkey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

## Output will show your key has been accepted
## Press Ctrl & C keys to break out

sudo systemctl restart rbfeeder   




Now check status 

sudo systemctl status rbfeeder   




.



Av8tor_from_Argentina

Good morning, after executind the command given below.....


sudo find / -name rbfeeder*.deb     



this is the output...

ATTACHED FILE because for some unknown reason to me system keeps telling CleanTalk: *** Forbidden. Please enable JavaScript. Contains contacts. *** enable javascript in 3 different browsers, and cannot copy/paste results here...

That message from sudo find / -name rbfeeder*.deb, means that something cannot be deleted?

revvin´up... damn...

abcd567



Marco@raspberry:~ $ sudo find / -name rbfeeder*.deb
find: '/run/user/1000/gvfs': Permission denied



Great!
This is exactly the message I wanted to see.
It confirms that both versions of rbfeeder have been removed, as they are no more listed in the output. Never mind the line with "Permossion denied". It is always there.

As the apt cacbe has been cleaned now, go ahead to next step and run the installation script


sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)"   



When above command finishes installation, add your key by following command
(In command below, replace xxxxxxxxxxxxxxxxxx by your actual key)

sudo rbfeeder --setkey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



Output of above command will show your key has been accepted

Press Ctrl & C keys to break out

Now restart rbfeeder

sudo systemctl restart rbfeeder   



Now check status 


sudo systemctl status rbfeeder   





Av8tor_from_Argentina

Will give up with this RADAR****BOX setup... unbelievable....

attached results from status command...

there are a couple of "failed to rename..."

What is annoying is that the other 3 feeders work like a charm...

Regards,