CGSpace Notes

Documenting day-to-day work on the CGSpace repository.

July, 2025

2025-07-24

  • A few days ago I deployed nginx caching for the DSpace Angular frontend
    • It works on collection, community, and item pages
    • I modified the nginx proxy cache key to: $request_uri$mapped_language$mapped_encoding
Read more →

March, 2025

2025-03-17

  • We noticed that some PDFs do not have thumbnails despite having been uploaded months ago
Read more →

February, 2025

2025-02-21

  • Battling with high load on CGSpace from bots a few times the past few weeks
    • I think I need to re-work the bot filtering some how
Read more →

January, 2025

2025-01-03

  • Trying to get search results for a large boolean query given to me by some researchers
    • When searching via the Angular frontend I see an error in the Tomcat logs:
Read more →

December, 2024

2024-12-04

  • We need to get view and download statistics for the last year from CGSpace
    • The only way to get that is using Solr
Read more →

November, 2024

2024-11-11

  • Some IP in India is making tons of requests this morning with a normal user agent:
# awk '{print $1}' /var/log/nginx/api-access.log | sort | uniq -c | sort -h | tail -n 40
...
513743 49.207.196.249
Read more →

August, 2024

2024-08-08

  • While working on the CGIAR Climate Change Synthesis I learned some new tricks with OpenRefine
Read more →