> ## Documentation Index
> Fetch the complete documentation index at: https://docs-v2.ard.co/llms.txt
> Use this file to discover all available pages before exploring further.

# FAQ

> Frequently asked questions and production notes for Geos

## 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**:
   ```bash theme={null}
   ssh geos-02
   # or
   ssh geos-03
   ```

2. **Switch to deployer user**:
   ```bash theme={null}
   sudo su - deployer
   ```

3. **Generate cache** (on both nodes):
   ```bash theme={null}
   /usr/bin/curl http://localhost:3000/generate
   ```

4. **Reindex Solr** (on both nodes):
   ```bash theme={null}
   /usr/bin/curl http://localhost:4000/indexer/reindex/3
   ```

<Note>
  You must run these commands on **both geos-02 and geos-03** to ensure the cache is refreshed across all search instances.
</Note>

## Production Notes

### Common Operations

**Check PM2 status:**

```bash theme={null}
pm2 list
```

**Restart services:**

```bash theme={null}
pm2 restart all
```

**View logs:**

```bash theme={null}
pm2 logs admin    # Admin panel logs
pm2 logs          # All logs
```

**Stop services:**

```bash theme={null}
pm2 stop all
```

### 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
