Page 1 of 1
Callsign DB update
Posted: Mon Oct 28, 2019 1:15 pm
by M6NBP
Can anyone do a command line via System Corn to just pull the users data base only.
Ideally done daily.
Norman
Re: Callsign DB update
Posted: Tue Oct 29, 2019 12:25 pm
by M6NBP
Thank you but you 100% lost me....
Re: Callsign DB update
Posted: Wed Oct 30, 2019 1:18 am
by VK7HSE
M6NBP wrote:Can anyone do a command line via System Corn to just pull the users data base only.
Ideally done daily.
Norman
You can login to the web-ui and under the "expert" tab there's a tab called ssh access. Your login details are the same as when you are prompted to enter with the admin or configuration sections.
Once logged in run the following
Then hit enter, this will force an update for the user database and any updates for pistar. It does not take very long to complete.
Sent from my Pixel 4 XL using Tapatalk
Re: Callsign DB update
Posted: Wed Oct 30, 2019 10:19 am
by M6NBP
We want to just update the Data Base and Nothing else.
All auto updates have been turned off on the MMDVM Repeaters as it can lead to issues.
But we would like the DB to be updated so calls on the dash shows Callsigns not ID numbers.
Norman
Re: Callsign DB update
Posted: Wed Oct 30, 2019 6:34 pm
by N6WBL
It looks like the script you'd want to run is /usr/local/sbin/HostFilesUpdate.sh. You could make a script to run rpi-rw, run HostFilesUpdate.sh, then put the drive back to read only with rpi-ro. And of course, you could copy out just the parts of that script you wanted to run as well.
Re: Callsign DB update
Posted: Sun Nov 03, 2019 10:15 am
by M6NBP
M6NBP wrote: ↑Mon Oct 28, 2019 1:15 pm
Can anyone do a command line via System Corn to just pull the users data base only.
Ideally done daily.
Norman