Skip to main content

How to refresh Geos cache?

To refresh the Geos cache, you need to update the search API (Apache Solr) and refresh the cache on both server nodes (geos-02 and geos-03).

Steps

  1. SSH into geos-02 or geos-03:
  2. Switch to deployer user:
  3. Generate cache (on both nodes):
  4. Reindex Solr (on both nodes):
You must run these commands on both geos-02 and geos-03 to ensure the cache is refreshed across all search instances.

Production Notes

Common Operations

Check PM2 status:
Restart services:
View logs:
Stop services:

Configuration Locations

  • Admin Panel MySQL Config: /home/deployer/geos/admin_panel/config/adapters.js
  • MySQL Database Config: /home/deployer/geos/config/database.json

Important Notes

  • Weather ID column is heavily used throughout the system and cannot be removed, even though it was originally a mapper to Foreca
  • is_enterprise_only flag controls access to enterprise locations for ARD Solutions clients
  • Apache Solr is deployed on both geos-02 and geos-03 for redundancy
  • Geo location type does not support overrides