Re: Dashboard no Workie
William WY7WL
Well... Looks like I have it installed... In Web_Proxy I have proxy.js but nothing to include the port 88
root@ASLDVSwitch:/opt/Web_Proxy# apt-get install nodejs node-ws Reading package lists... Done Building dependency tree Reading state information... Done node-ws is already the newest version (1.1.0+ds1.e6ddaae4-3+deb9u1). node-ws set to manually installed. nodejs is already the newest version (4.8.2~dfsg-1). You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: dvswitch-server : Depends: dvswitch-menu but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). root@ASLDVSwitch:/opt/Web_Proxy# ls proxy.js
|
|
Re: Dashboard no Workie
SO, you removed nodejs somehow. Assuming you are running Buster:
toggle quoted messageShow quoted text
apt-get install nodejs node-ws
On 12/28/20 9:42 AM, William KC3CPO
wrote:
On Mon, Dec 28, 2020 at 06:41 AM, Steve N4IRS wrote:
|
|
Re: Dashboard no Workie
William WY7WL
On Mon, Dec 28, 2020 at 06:41 AM, Steve N4IRS wrote:
/usr/bin/node proxy.js 88 2222 bash: /usr/bin/node: No such file or directory
|
|
Re: Dashboard no Workie
cd /opt/Web_Proxy
toggle quoted messageShow quoted text
/usr/bin/node proxy.js 88 2222 What do you get?
On 12/28/20 9:39 AM, William KC3CPO
wrote:
Ok Thanks! Any ideas on this one now?? haha
|
|
Re: Dashboard no Workie
William WY7WL
Ok Thanks! Any ideas on this one now?? haha
root@ASLDVSwitch:/home/admin# systemctl status webproxy ● webproxy.service - Web Proxy Service Loaded: loaded (/lib/systemd/system/webproxy.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Mon 2020-12-28 07:38:01 MST; 1s ago Process: 1750 ExecStart=/usr/bin/node /opt/Web_Proxy/proxy.js 88 2222 (code=exited, status=203/EXEC) Process: 1747 ExecStartPre=/bin/sh -c echo "Starting Web Proxy: [`date +%T.%3N`]" >> /var/log/netcheck (code=exited, status=0/SUCCESS) Main PID: 1750 (code=exited, status=203/EXEC)
Dec 28 07:38:01 ASLDVSwitch.local systemd[1]: webproxy.service: Main process exited, code=exited, status=203/EXEC Dec 28 07:38:01 ASLDVSwitch.local systemd[1]: webproxy.service: Unit entered failed state. Dec 28 07:38:01 ASLDVSwitch.local systemd[1]: webproxy.service: Failed with result 'exit-code'.
|
|
Re: Dashboard no Workie
If you modify a config file for a apt package, in this case
lightttpd, then on upgrade, apt will ask if you want to keep your
file or use the config file included in the apt package.
toggle quoted messageShow quoted text
On 12/28/20 9:12 AM, William KC3CPO
wrote:
Ah, so the file was there just named.... lighttpd.conf.dpkg-new
|
|
Re: Dashboard no Workie
William WY7WL
Ah, so the file was there just named.... lighttpd.conf.dpkg-new
Changed name and running now.
|
|
Re: Dashboard no Workie
server.modules = (
toggle quoted messageShow quoted text
"mod_indexfile", "mod_access", "mod_alias", "mod_redirect", ) server.document-root = "/var/www/html" server.upload-dirs = ( "/var/cache/lighttpd/uploads" ) server.errorlog = "/var/log/lighttpd/error.log" server.pid-file = "/var/run/lighttpd.pid" server.username = "www-data" server.groupname = "www-data" server.port = 80 # strict parsing and normalization of URL for consistency and security # https://redmine.lighttpd.net/projects/lighttpd/wiki/Server_http-parseoptsDetails # (might need to explicitly set "url-path-2f-decode" = "disable" # if a specific application is encoding URLs inside url-path) server.http-parseopts = ( "header-strict" => "enable",# default "host-strict" => "enable",# default "host-normalize" => "enable",# default "url-normalize-unreserved"=> "enable",# recommended highly "url-normalize-required" => "enable",# recommended "url-ctrls-reject" => "enable",# recommended "url-path-2f-decode" => "enable",# recommended highly (unless breaks app) #"url-path-2f-reject" => "enable", "url-path-dotseg-remove" => "enable",# recommended highly (unless breaks app) #"url-path-dotseg-reject" => "enable", #"url-query-20-plus" => "enable",# consistency in query string ) index-file.names = ( "index.php", "index.html" ) url.access-deny = ( "~", ".inc" ) static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) compress.cache-dir = "/var/cache/lighttpd/compress/" compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" ) # default listening port for IPv6 falls back to the IPv4 port # include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port include_shell "/usr/share/lighttpd/create-mime.conf.pl" include "/etc/lighttpd/conf-enabled/*.conf" #server.compat-module-load = "disable" server.modules += ( "mod_compress", "mod_dirlisting", "mod_staticfile", )
On 12/28/20 9:03 AM, William KC3CPO
wrote:
Is there a quick way to rebuild lighttpd?
|
|
Re: Dashboard no Workie
William WY7WL
Is there a quick way to rebuild lighttpd?
I'm back to revisit this problem (on a different server now). lighttpd status tells failed to start and I've noticed the conf file under /etc/lighttpd/lighttpd.conf is missing. Thanks for any help, Will
|
|
Re: Restarting DVSwitch Services
Dave,
toggle quoted messageShow quoted text
There are two ways to switch servers: 1: edit MMDVM_Bridge.ini and restart MMDVM_Bridge 2: With a tune command: "password@server:port:options" TGIF = "passw0rd@...:62031" Brandmeister = "passw0rd@...:62031" DMR_PLUS = "passw0rd@...:55555:StartRef=4649;RelinkTime=60;UserLink=1" Hope this helps, Steve N4IRS
On 12/28/20 6:56 AM, g8ptn@...
wrote:
|
|
Re: Restarting DVSwitch Services
g8ptn@...
Hi Steve, After investigating further, the issue only occurs when switching server using the DVSM App. Switching server in the “dvs” menu updates the MMDVM_Bridge.ini file with the selected address, but not when making the selection using DVSM App. Regards, Dave
|
|
Re: Restarting DVSwitch Services
g8ptn@...
Hi Steve, Thanks for the reply. Yes, I understand how to select the server in dvs menus.
1. Brandmeister 2. TGIF
3. HB_GB_FreeDMR_DMO The servers I am currently using are 1 and 3. What I have observed is that after selecting 1 (Brandmeister), restarting services via the "dvs" menu “Restart DVSwitch Services” or using the “Drop Dynamic TGs” in the DVSM App, the DMR server always returns to the “HB_GB_FreeDMR_DMO” server. After further inspection, following “Restart DVSwitch Services” or using the “Drop Dynamic TGs”, the server is set to the address defined in the MMDVM_Bridge.ini file (see extract below). [DMR Network] Enable=1 Address=hotspots.freedmr.uk Port=62031 I am not sure if this is an issue now DVSwitch server is in “Advanced Macro Configuration” mode, since I initially noticed the issue when using the “Drop Dynamic TGs” in the DVSM App. It seems that the MMDVM_Bridge.ini is not updated with the selected server address, but I am not sure if this was the case or not prior to switching to the “Advanced Macro Configuration” mode. This is not a major issue since now I know what is happening, I can manually switch server following a restart of the services.
Dave
|
|
Re: MMDVM_Bridge [INFO] for brandmeister
#brandmeister
#mmdvm_bridge
After setting both Power & Height to 0 in MMDVM_Bridge.ini , I was able to change both the "Priority Message" and "Description" on the Brandmeister website.
Good lesson learned here. As always, thanks for everyone's help.
|
|
Re: Restarting DVSwitch Services
You can define the default DMR server using the dvs menu.
toggle quoted messageShow quoted text
Advanced Configuration / Additional DMR Networks / Change Default DMR Server You can find the result in the [DMR Network] section. Steve N4IRS
On 12/27/20 12:45 PM, g8ptn@...
wrote:
Hi,
|
|
Re: MMDVM_Bridge [INFO] for brandmeister
#brandmeister
#mmdvm_bridge
Sorry I asked. As I said, you should be able to edit the fields.
Good luck.
toggle quoted messageShow quoted text
On 12/27/20 7:58 PM, Frank C. D'Amato
wrote:
I never said I was trying to enter height , I’m saying that Brandmeister gives me an error when I try to update the description, that I need to enter a height, but it’s not editable.
|
|
Re: MMDVM_Bridge [INFO] for brandmeister
#brandmeister
#mmdvm_bridge
I never said I was trying to enter height , I’m saying that Brandmeister gives me an error when I try to update the description, that I need to enter a height, but it’s not editable.
|
|
Re: MMDVM_Bridge [INFO] for brandmeister
#brandmeister
#mmdvm_bridge
were you trying to enter your height?
toggle quoted messageShow quoted text
On 12/27/20 7:23 PM, Frank C. D'Amato
wrote:
Tried it numerous times, it gives me an error about entering my height, that is not editable
|
|
Re: MMDVM_Bridge [INFO] for brandmeister
#brandmeister
#mmdvm_bridge
Tried it numerous times, it gives me an error about entering my height, that is not editable
|
|
Re: MMDVM_Bridge [INFO] for brandmeister
#brandmeister
#mmdvm_bridge
You should be able to edit "Priority Message" and "Description".
Make sure you hit the save changes
toggle quoted messageShow quoted text
On 12/27/20 5:15 PM, Frank C. D'Amato
wrote:
My MMDVM_Bridge.ini has the following
|
|
MMDVM_Bridge [INFO] for brandmeister
#brandmeister
#mmdvm_bridge
My MMDVM_Bridge.ini has the following
[Info]
RXFrequency=444775000
TXFrequency=449775000
Power=200
Latitude=40.789737
Longitude=-76.121412
Height=550
Location=Barnesville, PA
Description=W3TWA MMDVM_Bridge
URL=http://qrz.com/db/w3twa I asked Brandmeister support how do I get "Priority Message" and "Description" to populate? (I'm unable to edit those fields). They replied... The information in all those greyed out fields is taken from the hotspot to BM. You need to edit that in the hotspot software and it will be updated on BM then. What additional settings need to be in the [INFO] section? Description, height, Power are already in there but don't seem to pass the information.
|
|