Date   

Re: Hblink Stopped working...

GB7NR Support
 

Hi, 

looks like a corrupt JSON file upon auto download. Let’s see the output from your log file on that time stamp, just the snippet from the start of the error to the end will do.

 You will need to probably delete the JSON files that are automatically downloaded. These are “peer_ids.json”, “subscriber_ids.json”,” etc etc. Normally these are pulled from radioID when TRY_DOWNLOAD: True is enabled in hblink.cfg. Obviously by the looks of it one of these has failed or part downloaded and corrupted one of them. HBLink has failed to read this and thrown a decode error.. also make sure your “talkgroup_ids.json” has been edited with the correct syntax for JSON format. 

Try deleting “peer_ids.json” & “subscriber_ids.json” and restarting the service!

Shane 
M0VUB 

On 15 Apr 2022, at 21:42, Steve Siesel [K4KSA] <steve@...> wrote:



 

All,

 

I am getting the following after trying to start HBlink3

 

I don’t think I messed with anything….any thoughts?

 

● hblink.service - Start HBLink

   Loaded: loaded (/lib/systemd/system/hblink.service; enabled; vendor preset: enabled)

   Active: failed (Result: exit-code) since Fri 2022-04-15 16:29:10 EDT; 45s ago

  Process: 472 ExecStart=/usr/bin/python3 /opt/HBlink3/bridge.py (code=exited, status=1/FAILURE)

Main PID: 472 (code=exited, status=1/FAILURE)

 

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/__init__.py", line 319, in loads

Apr 15 16:29:10 fldmr python3[472]:     return _default_decoder.decode(s)

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/decoder.py", line 339, in decode

Apr 15 16:29:10 fldmr python3[472]:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode

Apr 15 16:29:10 fldmr python3[472]:     raise JSONDecodeError("Expecting value", s, err.value) from None

Apr 15 16:29:10 fldmr python3[472]: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Main process exited, code=exited, status=1/FAILURE

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Unit entered failed state.

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Failed with result 'exit-code'.

root@fldmr:/home/k4ksa#

 

 

Steve

 


Hblink Stopped working...

Steve Siesel [K4KSA]
 

 

All,

 

I am getting the following after trying to start HBlink3

 

I don’t think I messed with anything….any thoughts?

 

● hblink.service - Start HBLink

   Loaded: loaded (/lib/systemd/system/hblink.service; enabled; vendor preset: enabled)

   Active: failed (Result: exit-code) since Fri 2022-04-15 16:29:10 EDT; 45s ago

  Process: 472 ExecStart=/usr/bin/python3 /opt/HBlink3/bridge.py (code=exited, status=1/FAILURE)

Main PID: 472 (code=exited, status=1/FAILURE)

 

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/__init__.py", line 319, in loads

Apr 15 16:29:10 fldmr python3[472]:     return _default_decoder.decode(s)

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/decoder.py", line 339, in decode

Apr 15 16:29:10 fldmr python3[472]:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode

Apr 15 16:29:10 fldmr python3[472]:     raise JSONDecodeError("Expecting value", s, err.value) from None

Apr 15 16:29:10 fldmr python3[472]: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Main process exited, code=exited, status=1/FAILURE

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Unit entered failed state.

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Failed with result 'exit-code'.

root@fldmr:/home/k4ksa#

 

 

Steve

 


Re: HBLINK3 will not start if YSFRelflector is running first

GB7NR Support
 

Hi,

that’s ok, seems that’s some of those dependencies are well due for upgrade. It may be worth backing up your config files and rules.py & reinstalling with Debian 11 and using my one shot installer. The current latest genuine HBLink repo is here https://github.com/HBLink-org/hblink3 is rock solid and probably the most stable it’s ever been on a Debian 11 setup. I’ve been running this setup for over a year on the FreeSTAR Network and has been faultless, this is the dash Waldeks original HBMonitor, using docker https://freestar.network/dash/masterserver/public/public_dash.html


Use this if you want a simple setup 
One shot with HBMonv2 dash 

Replace with your backed up config 
/etc/hblink3/

Follow the instructions on GitHub 


Thank me later :)

Shane 
M0VUB 

On 31 Mar 2022, at 18:49, W8DSB <w8dsb@...> wrote:

Hi Shane, I am not a linux guy at all but I stepped up to create this cloud for our club so forgive the simple questions.
I did a apt-get update and apt-get upgrade (a few times) my hblink.py is dated 6/15/2020 (not sure of any other way to tell if I have the newest.

when I "pip list"
bitarray (0.8.1)
pip (8.1.1)
pyserial (3.0.1)
setuptools (20.7.0)
wheel (0.29.0)
You are using pip version 8.1.1, however version 22.0.4 is available.

I think I have Python 2,3,3.5 installed but not sure how to tell (The OS install came with 3.5.x but DVSwitch installed 2 and 3)

My service to start HBlink looks like this, so I assume this means I am using python 3 because thats what I am calling:
[Service]
StandardOutput=null
WorkingDirectory=/opt/HBlink3
RestartSec=3
ExecStart=/usr/bin/python3 /opt/HBlink3/bridge.py
Restart=on-abort


Re: HBLINK3 will not start if YSFRelflector is running first

W8DSB
 

Hi Shane, I am not a linux guy at all but I stepped up to create this cloud for our club so forgive the simple questions.
I did a apt-get update and apt-get upgrade (a few times) my hblink.py is dated 6/15/2020 (not sure of any other way to tell if I have the newest.

when I "pip list"
bitarray (0.8.1)
pip (8.1.1)
pyserial (3.0.1)
setuptools (20.7.0)
wheel (0.29.0)
You are using pip version 8.1.1, however version 22.0.4 is available.

I think I have Python 2,3,3.5 installed but not sure how to tell (The OS install came with 3.5.x but DVSwitch installed 2 and 3)

My service to start HBlink looks like this, so I assume this means I am using python 3 because thats what I am calling:
[Service]
StandardOutput=null
WorkingDirectory=/opt/HBlink3
RestartSec=3
ExecStart=/usr/bin/python3 /opt/HBlink3/bridge.py
Restart=on-abort


Re: HBLINK3 will not start if YSFRelflector is running first

GB7NR Support
 

Hi, have you updated HBLink? Also use Python ver 3.9, I have pushed a couple of updates to HBLink master branch a few months back. Also recommend using docker if you can, it’s all in the official HBLink repo. 

Shane 
M0VUB 

On 31 Mar 2022, at 15:48, W8DSB <w8dsb@...> wrote:



I have a server with ASL, ALLMON, DVSwitch (2x), HBLINK3, YSFReflector installed. When I reboot everything starts up ok (no issues). When I stop HBLINK or run dvswitch.sh to update data files HBLINK will not restart. If I stop YSFReflector then start HBLINK it will start, then I can restart YSFReflector.

I think its something to do with Python versions but I am far from any type of expert.

At this point I have to call DVSwitch.sh let it update the files then reboot in my CRONTAB... hoping for something a little less aggressive.

I looked at teh HBLINK logs and YSF logs nothing in there....what else can I review?






HBLINK3 will not start if YSFRelflector is running first

W8DSB
 

I have a server with ASL, ALLMON, DVSwitch (2x), HBLINK3, YSFReflector installed. When I reboot everything starts up ok (no issues). When I stop HBLINK or run dvswitch.sh to update data files HBLINK will not restart. If I stop YSFReflector then start HBLINK it will start, then I can restart YSFReflector.

I think its something to do with Python versions but I am far from any type of expert.

At this point I have to call DVSwitch.sh let it update the files then reboot in my CRONTAB... hoping for something a little less aggressive.

I looked at teh HBLINK logs and YSF logs nothing in there....what else can I review?






Re: HBlink3 to YSF Reflector

W8DSB
 

Thank You Shane for your comments. I did get it to work by going a little different route but got the same results. I used HBLINK to open a second DMR master then start two MMDVM_Bridge services one connected to ASL and the other connected to a YSF creating the bridge I needed.


Re: HBlink3 to YSF Reflector

GB7NR Support
 

Hi, yes you can. HBlink is a DMR Master server. So use an MMDVM Cross Mode tool to bring YSF into DMR. For example YSF2DMR. 

Simply connect to your HBLink master with the use of YSF2DMR. Run this on your YSF Reflector instance. Visit GitHub and search for MMDVM_CM, compile the appropriate tool using make, make install, and configure as necessary. 

Shane 
M0VUB    

On 30 Mar 2022, at 02:15, W8DSB <w8dsb@...> wrote:

Can HBLINK connect to a remote YSF Reflector? If so can you please post a sample .cfg amd rule file? Both the HBlink and the YSF are my clubs. I am not trying to connect to something that is not my system.


HBlink3 to YSF Reflector

W8DSB
 

Can HBLINK connect to a remote YSF Reflector? If so can you please post a sample .cfg amd rule file? Both the HBlink and the YSF are my clubs. I am not trying to connect to something that is not my system.


Re: Dashboard activity

Doug - W4DBG
 

Have you tried refreshing the page?

I am not sure. Wish I could help. 


On Wed, Mar 9, 2022 at 1:11 PM <ea4sre@...> wrote:
Alright, then I'll try and describe it. There are a few hams here who like to talk for a long time and press the PTT. Additionally, an audio file runs automatically from time to time for information purposes, duration: 5-6 minutes. The activity is shown on the dashboard but disappears after 3.5-4 minutes. The stream keeps running correctly until the end, but the info on the dashboard stops and you cannot see who talks or presses PTT anymore. I'm using a SP2ONG HBMonitor dashboard, 1st version, with an HBLink3.

73 Carlos

--
Doug Gooden
troytrojan@...


Re: Dashboard activity

@CarlosSIMON
 

Alright, then I'll try and describe it. There are a few hams here who like to talk for a long time and press the PTT. Additionally, an audio file runs automatically from time to time for information purposes, duration: 5-6 minutes. The activity is shown on the dashboard but disappears after 3.5-4 minutes. The stream keeps running correctly until the end, but the info on the dashboard stops and you cannot see who talks or presses PTT anymore. I'm using a SP2ONG HBMonitor dashboard, 1st version, with an HBLink3.

73 Carlos


Re: Dashboard activity

Doug - W4DBG
 

I am running HBMonitor v2 and was able to stay keyed up over four minutes and it showed on the dashboard the entire time.

I don't know why someone would stay on the PTT for that long :) but I can report a dashboard will do that.

Again v2.

I would need more information about your setup to comment anymore.

Doug
W4DBG



On Mon, Mar 7, 2022 at 4:35 PM GB7NR Support <support@...> wrote:
Lol sorry Carlos, I was waiting for an answer myself to be fair ;)... but it seems development has gone rather quiet! Best best is to contact Waldek , hope you get it sorted 

Shane 

On 7 Mar 2022, at 22:01, ea4sre@... wrote:

Thanks Shane, there are some hams who like to talk :) I will try to contact SP2ONG
73 Carlos



--
Doug Gooden
troytrojan@...


Re: Dashboard activity

GB7NR Support
 

Lol sorry Carlos, I was waiting for an answer myself to be fair ;)... but it seems development has gone rather quiet! Best best is to contact Waldek , hope you get it sorted 

Shane 

On 7 Mar 2022, at 22:01, ea4sre@... wrote:

Thanks Shane, there are some hams who like to talk :) I will try to contact SP2ONG
73 Carlos


Re: Dashboard activity

@CarlosSIMON
 

Thanks Shane, there are some hams who like to talk :) I will try to contact SP2ONG
73 Carlos


Re: Dashboard activity

GB7NR Support
 

Hi. To be fair yes. There is no official dashboard for HBlink although I would open a request with the developer of HBMonitor. It would require going into the Python code to see why it drops off after 3.5m, maybe there is a timer in the code to drop it off the dash. This edit would need to be a global change although this could be added to the config as a variable. I see no reason why you would need to transmit more than 3 minutes though? 

Open a request in GitHub with SP2ONG. He is actively developing the dashes.

Shane 
M0VUB 

On 7 Mar 2022, at 20:52, ea4sre@... wrote:

am i on the wrong board or can anyone help?


Re: Dashboard activity

@CarlosSIMON
 

am i on the wrong board or can anyone help?


Re: Dashboard activity

@CarlosSIMON
 

nobody has an idea?

73 Carlos


Re: Dashboard activity

@CarlosSIMON
 

Hello Shane,

I running HBmonitor...

73 Carlos


Re: Dashboard activity

GB7NR Support
 

Which dash are you running? HBmonitor, HBMonv2?? 

Shane 
M0VUB

On 1 Mar 2022, at 22:15, ea4sre@... wrote:

Hello, I have a question... the dashboard shows the station that is currently talking. But if someone makes a longer call, the display turns off (approx. 3.5 minutes), although the stream is still active. Can this time be increased?


Dashboard activity

@CarlosSIMON
 

Hello, I have a question... the dashboard shows the station that is currently talking. But if someone makes a longer call, the display turns off (approx. 3.5 minutes), although the stream is still active. Can this time be increased?

41 - 60 of 2790