dg9vh / MMDVMHost-Dashboard

Dashboard for MMDVMHost (by G4KLX)
Creative Commons Zero v1.0 Universal
60 stars 45 forks source link

DMR-master and DSTAR network in RED #100

Closed iw9grl closed 7 years ago

iw9grl commented 7 years ago

Hi dear

there is a strange thing, in the dashboard I see the DMR-master and DSTAR network in RED, but DMR master is correctly connected , also the DSTAR network ( ircddbgateway gui is run ) .

image

thank you 73 de IW9GRL

dg9vh commented 7 years ago

Hi @iw9grl , what did you configure in setup.php in the field "Name of ircddbgateway-executeable"? There should be the correct name of the binary of your ircddbgateway. In most cases it would be ircddbgatewayd. Maybe here you are running it with a different name. You could get the name with "ps ax |grep irc"

The issue regarding the DMRMaster is a bit unclear. How long is your system running actually? As MMDVMHost is rotating logfiles at 0:00 UTC we are caching the connection-state of the master into a temp-file /tmp/DMRMasterState.txt that contains a simple 0 or 1. If this file does not exist or is not writeable by the www-user (the user running your webserver), this issue could happen.

Please check, if this both conditions about ircddbgateway and the temp-file are ok.

iw9grl commented 7 years ago

Hi dear

the DMR network is fixed after a reboot, about the DSTAR, the gui ones have different process name : ircddbgateway -gui instead of ircddbgateway -gui , if the ircddbgateway run in background as a sistemctl process all is ok, but if I use the GUI launched manually the process name is different !!

thank you for the support

73

dg9vh commented 7 years ago

Ok. I think we can close this thread then.

iw9grl commented 7 years ago

Which file verify if the process is run ?

dg9vh commented 7 years ago

You have to put the correct process name into the field in setup.php in browser when calling it... Then it's working....

iw9grl commented 7 years ago

Perfect !!! it works now ............ many tnx

dg9vh commented 7 years ago

Fine