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
-
SSH into geos-02 or geos-03:
-
Switch to deployer user:
-
Generate cache (on both nodes):
-
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: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

