Updating - nextgis/peoplefinder GitHub Wiki

Log in to station with user "cloud" (default password is "cloud")

In most cases source code updating is enough.

cd /home/cloud/peoplefinder
git pull

The release may have additional installation comments:

  1. You have to update the dependent libraries. In this case reinstall peaplefinder package after git pull.

/home/cloud/env/bin/pip install -e /home/cloud/peoplefinder/web

  1. You have to update pf database. Database structure was changed. First you need to remove current database (/home/cloud/env/peoplefinder/storage/pf.sqlite).
    You can lose important data! Then do:

export PYTHONPATH=/home/cloud/peoplefinder
/home/cloud/env/bin/initialize_peoplefinder_db /etc/peoplefinder/config.ini

Restart

sudo supervisorctl restart comms_interface
sudo supervisorctl restart peoplefinder