Compare commits

..

No commits in common. "d60b85433def543fdf3547dc6f65d6a5ae22b226" and "afcbc6787447200c758ee2816bc146283cb06063" have entirely different histories.

32 changed files with 37 additions and 91 deletions

View File

@ -92,25 +92,4 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/prepress -dNOPAUS
- I had two occurrences of an OOM kill of the Tomcat 9 java process on DSpace 7 test tonight
- Once while doing a Discovery index, the other while doing filter media
## 2023-09-15
- Discuss issues with the Altmetric API with the Altmetric support team
- Apparently we can use a different API, the [Explorer API](https://www.altmetric.com/explorer/documentation/api), since we already have access to the Explorer dashboard
- I reduced the Solr heap size on DSpace 7 from 3GB to 2GB
- Apparentlty I already did this from 4GB to 3GB a few months ago
- The Solr admin interface was showing Solr taking ~1GB of RAM so I think this should be safe
- Mark on DSpace Slack said he uses PM2's `--max-memory-restart` so the processes restart when they hit the limit
- Also, he said he had to reduce `cache:serverSide:botCache:max` from 1000 to 500 to cache less SSR pages in memory
- I decided to try deploying DSpace 7 Test on a Hetzner server with 64GB RAM, 6 CPUs, and 2x512GB NVMe SSD
## 2023-09-16
- Export CGSpace to check for missing Initiative collection mappings
- Start a harvest on AReS
- Configure the privacy policy page on DSpace 7 using a themed component with the text from our DSpace 6 site
- I realized that for all my custom Angular components I should be using `routerLink` instead of `href` when I am constructing links
- The `routerLink` routes within the single page application and saves state, while the `href` reloads the page
- Using the `routerLink` way is faster and results in less flashing and jumping in the page when navigating
- See: https://stackoverflow.com/a/61588147
<!-- vim: set sw=2 ts=2: -->

View File

@ -15,7 +15,7 @@ Start a harvest on AReS
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2023-09/" />
<meta property="article:published_time" content="2023-09-02T17:29:36+03:00" />
<meta property="article:modified_time" content="2023-09-16T20:24:24+03:00" />
<meta property="article:modified_time" content="2023-09-10T09:58:29+03:00" />
@ -36,9 +36,9 @@ Start a harvest on AReS
"@type": "BlogPosting",
"headline": "September, 2023",
"url": "https://alanorth.github.io/cgspace-notes/2023-09/",
"wordCount": "821",
"wordCount": "594",
"datePublished": "2023-09-02T17:29:36+03:00",
"dateModified": "2023-09-16T20:24:24+03:00",
"dateModified": "2023-09-10T09:58:29+03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -218,39 +218,6 @@ Start a harvest on AReS
</ul>
</li>
</ul>
<h2 id="2023-09-15">2023-09-15</h2>
<ul>
<li>Discuss issues with the Altmetric API with the Altmetric support team
<ul>
<li>Apparently we can use a different API, the <a href="https://www.altmetric.com/explorer/documentation/api">Explorer API</a>, since we already have access to the Explorer dashboard</li>
</ul>
</li>
<li>I reduced the Solr heap size on DSpace 7 from 3GB to 2GB
<ul>
<li>Apparentlty I already did this from 4GB to 3GB a few months ago</li>
<li>The Solr admin interface was showing Solr taking ~1GB of RAM so I think this should be safe</li>
</ul>
</li>
<li>Mark on DSpace Slack said he uses PM2&rsquo;s <code>--max-memory-restart</code> so the processes restart when they hit the limit
<ul>
<li>Also, he said he had to reduce <code>cache:serverSide:botCache:max</code> from 1000 to 500 to cache less SSR pages in memory</li>
</ul>
</li>
<li>I decided to try deploying DSpace 7 Test on a Hetzner server with 64GB RAM, 6 CPUs, and 2x512GB NVMe SSD</li>
</ul>
<h2 id="2023-09-16">2023-09-16</h2>
<ul>
<li>Export CGSpace to check for missing Initiative collection mappings</li>
<li>Start a harvest on AReS</li>
<li>Configure the privacy policy page on DSpace 7 using a themed component with the text from our DSpace 6 site</li>
<li>I realized that for all my custom Angular components I should be using <code>routerLink</code> instead of <code>href</code> when I am constructing links
<ul>
<li>The <code>routerLink</code> routes within the single page application and saves state, while the <code>href</code> reloads the page</li>
<li>Using the <code>routerLink</code> way is faster and results in less flashing and jumping in the page when navigating</li>
<li>See: <a href="https://stackoverflow.com/a/61588147">https://stackoverflow.com/a/61588147</a></li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -10,7 +10,7 @@
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
<meta property="og:updated_time" content="2023-09-16T20:24:24+03:00" />
<meta property="og:updated_time" content="2023-09-10T09:58:29+03:00" />

View File

@ -3,19 +3,19 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
<lastmod>2023-09-16T20:24:24+03:00</lastmod>
<lastmod>2023-09-10T09:58:29+03:00</lastmod>
</url><url>
<loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2023-09-16T20:24:24+03:00</lastmod>
<lastmod>2023-09-10T09:58:29+03:00</lastmod>
</url><url>
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
<lastmod>2023-09-16T20:24:24+03:00</lastmod>
<lastmod>2023-09-10T09:58:29+03:00</lastmod>
</url><url>
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
<lastmod>2023-09-16T20:24:24+03:00</lastmod>
<lastmod>2023-09-10T09:58:29+03:00</lastmod>
</url><url>
<loc>https://alanorth.github.io/cgspace-notes/2023-09/</loc>
<lastmod>2023-09-16T20:24:24+03:00</lastmod>
<lastmod>2023-09-10T09:58:29+03:00</lastmod>
</url><url>
<loc>https://alanorth.github.io/cgspace-notes/2023-08/</loc>
<lastmod>2023-09-01T08:10:02+03:00</lastmod>