Callsign DB update

General support for the Pi-Star System
Locked
M6NBP

Callsign DB update

Post by M6NBP »

Can anyone do a command line via System Corn to just pull the users data base only.

Ideally done daily.


Norman
M6NBP

Re: Callsign DB update

Post by M6NBP »

Thank you but you 100% lost me....
User avatar
VK7HSE
Posts: 229
Joined: Sun Apr 15, 2018 6:35 pm
Contact:

Re: Callsign DB update

Post 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

Code: Select all

sudo pistar-daily.cron
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

M6NBP

Re: Callsign DB update

Post 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
User avatar
N6WBL
Posts: 24
Joined: Thu Nov 15, 2018 3:53 am
Contact:

Re: Callsign DB update

Post 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.
M6NBP

Re: Callsign DB update

Post 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
Locked