UWM-Libraries / GeoDiscovery

AGSL GeoDiscovery is an online geoportal that provides discovery and access to geospatial data for American Geographical Society Library patrons including open and restricted data in AGSL collections as well as data harvested from the OpenGeoMetadata project.
https://geodiscovery.uwm.edu/
Apache License 2.0
0 stars 1 forks source link

Sidecar Images and Blacklight::Allmaps sidecars not loading #196

Closed srappel closed 2 months ago

srappel commented 2 months ago

Despite automated tasks set to run every night, sidecar thumbnail images are not loading in production or development environments.

I will add more details after investigating further.

srappel commented 2 months ago

This resulted from two dependencies that were not running in production, Redis and Sidekiq.

Application enques jobs to Sidekiq from a Redis list, Sidekiq is supposed to be monitoring Redis for new jobs.

Both should be running as services in production, but they had stopped or were never started. Both Redis and Sidekiq should be in systemd on LibLamp and LibLamp-Dev.

On LibLamp-Dev, systemctl shows Redis working normally. Sidekiq needs to be started with bundle exec sidekiq and this gets things started harvesting.

On LibLamp, systemctl is showing Redis as failed, so Sidekiq will not run properly.

Here's the official and more detailed blog docs for running sidekiq in systemd