How this site is maintained
Park Alerts runs on Drupal 11. This page is generated by the site itself, so the versions below are the ones running now.
What is running
| Component | Version |
|---|---|
| Drupal core | 11.4.10 |
| PHP | 8.4.28 |
| Database | SQLite |
| Admin Toolbar | 3.6.3 |
| Better Exposed Filters | 7.2.0 |
| Database Search | 8.x-1.42 |
| Facets | 3.0.7 |
| Facets Exposed Filters | 3.0.7 |
| Park Alerts | custom |
| Scheduler | 2.3.0 |
| Scheduler Content Moderation Integration | 3.0.5 |
| Search API | 8.x-1.42 |
Updates and security
- The code base is managed with Composer. Site configuration is exported to files and kept in version control with the code.
- Critical Drupal security advisories are applied within 24 hours of release. Other core and module updates are applied once a month, tested on a copy of the site first.
- Every change is deployed as a new container image, so the previous version can be restored in minutes.
Data imports
| Import | Last run | Result |
|---|---|---|
| Alerts (daily) | 1:00 am PST, Dec 6 | OK |
| Parks, hours and campgrounds (daily) | 1:00 am PST, Dec 6 | OK |
| Events (daily) | 1:00 am PST, Dec 6 | OK |
Scheduled work runs once a day, at 09:00 UTC (1 a.m. Pacific time, 2 a.m. during daylight saving time), without anyone logging in: first publishing and unpublishing content whose scheduled time has passed, then the data imports. If an import fails, it is tried again two hours later. Last run: 1:00 am PST, Dec 6.
Between uses, the server sleeps to save cost. Pages that are already cached load at once while it sleeps; the first page that is not cached, or an editor login, waits about 15 seconds while it starts.
Backups
The database is copied to Cloudflare R2 storage after every editor save, after every scheduled run and before the server goes to sleep, and a dated copy is kept each day for 30 days. Last copy: 1:00 am PST, Dec 6.