mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-29 09:58:22 +01:00
Add notes for 2020-04-30
This commit is contained in:
parent
10805f4272
commit
d6c27e101f
@ -457,4 +457,21 @@ $ curl -s "http://localhost:8081/solr/statistics/update?softCommit=true" -H "Con
|
|||||||
- Quoting them works for now until I can look into it and handle it properly in the script
|
- Quoting them works for now until I can look into it and handle it properly in the script
|
||||||
- This was about 400,000 hits in total purged from the Solr statistics
|
- This was about 400,000 hits in total purged from the Solr statistics
|
||||||
|
|
||||||
|
## 2020-04-30
|
||||||
|
|
||||||
|
- The TLS certificates on DSpace Test (linode26) have not been renewing correctly
|
||||||
|
- The log shows the message "No renewals were attempted"
|
||||||
|
- The `certbot-auto certificates` command doesn't list the certificate I have installed
|
||||||
|
- I guess this is because I copied it from the previous server...
|
||||||
|
- I moved the Let's Encrypt directory, got a new cert, then revoked the old one:
|
||||||
|
|
||||||
|
```
|
||||||
|
# mv /etc/letsencrypt /etc/letsencrypt.bak
|
||||||
|
# /opt/certbot-auto certonly --standalone --email fu@m.com -d dspacetest.cgiar.org --standalone --pre-hook "/bin/systemctl stop nginx" --post-hook "/bin/systemctl start nginx"
|
||||||
|
# /opt/certbot-auto revoke --cert-path /etc/letsencrypt.bak/live/dspacetest.cgiar.org/cert.pem
|
||||||
|
# rm -rf /etc/letsencrypt.bak
|
||||||
|
```
|
||||||
|
|
||||||
|
- Run all system updates on DSpace Test and reboot it
|
||||||
|
|
||||||
<!-- vim: set sw=2 ts=2: -->
|
<!-- vim: set sw=2 ts=2: -->
|
||||||
|
@ -25,7 +25,7 @@ On the same note, the one item Abenet pointed out last week now has a donut with
|
|||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2020-04/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2020-04/" />
|
||||||
<meta property="article:published_time" content="2020-04-02T10:53:24+03:00" />
|
<meta property="article:published_time" content="2020-04-02T10:53:24+03:00" />
|
||||||
<meta property="article:modified_time" content="2020-04-29T17:33:34+03:00" />
|
<meta property="article:modified_time" content="2020-04-30T10:44:23+03:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="April, 2020"/>
|
<meta name="twitter:title" content="April, 2020"/>
|
||||||
@ -55,9 +55,9 @@ On the same note, the one item Abenet pointed out last week now has a donut with
|
|||||||
"@type": "BlogPosting",
|
"@type": "BlogPosting",
|
||||||
"headline": "April, 2020",
|
"headline": "April, 2020",
|
||||||
"url": "https://alanorth.github.io/cgspace-notes/2020-04/",
|
"url": "https://alanorth.github.io/cgspace-notes/2020-04/",
|
||||||
"wordCount": "3186",
|
"wordCount": "3286",
|
||||||
"datePublished": "2020-04-02T10:53:24+03:00",
|
"datePublished": "2020-04-02T10:53:24+03:00",
|
||||||
"dateModified": "2020-04-29T17:33:34+03:00",
|
"dateModified": "2020-04-30T10:44:23+03:00",
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
@ -592,6 +592,24 @@ $ curl -s "http://localhost:8081/solr/statistics/update?softCommit=true&quo
|
|||||||
<li>Quoting them works for now until I can look into it and handle it properly in the script</li>
|
<li>Quoting them works for now until I can look into it and handle it properly in the script</li>
|
||||||
<li>This was about 400,000 hits in total purged from the Solr statistics</li>
|
<li>This was about 400,000 hits in total purged from the Solr statistics</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<h2 id="2020-04-30">2020-04-30</h2>
|
||||||
|
<ul>
|
||||||
|
<li>The TLS certificates on DSpace Test (linode26) have not been renewing correctly
|
||||||
|
<ul>
|
||||||
|
<li>The log shows the message “No renewals were attempted”</li>
|
||||||
|
<li>The <code>certbot-auto certificates</code> command doesn’t list the certificate I have installed</li>
|
||||||
|
<li>I guess this is because I copied it from the previous server…</li>
|
||||||
|
<li>I moved the Let’s Encrypt directory, got a new cert, then revoked the old one:</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<pre><code># mv /etc/letsencrypt /etc/letsencrypt.bak
|
||||||
|
# /opt/certbot-auto certonly --standalone --email fu@m.com -d dspacetest.cgiar.org --standalone --pre-hook "/bin/systemctl stop nginx" --post-hook "/bin/systemctl start nginx"
|
||||||
|
# /opt/certbot-auto revoke --cert-path /etc/letsencrypt.bak/live/dspacetest.cgiar.org/cert.pem
|
||||||
|
# rm -rf /etc/letsencrypt.bak
|
||||||
|
</code></pre><ul>
|
||||||
|
<li>Run all system updates on DSpace Test and reboot it</li>
|
||||||
|
</ul>
|
||||||
<!-- raw HTML omitted -->
|
<!-- raw HTML omitted -->
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,27 +4,27 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2020-04/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/2020-04/</loc>
|
||||||
<lastmod>2020-04-29T17:33:34+03:00</lastmod>
|
<lastmod>2020-04-30T10:44:23+03:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
|
||||||
<lastmod>2020-04-29T17:33:34+03:00</lastmod>
|
<lastmod>2020-04-30T10:44:23+03:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||||
<lastmod>2020-04-29T17:33:34+03:00</lastmod>
|
<lastmod>2020-04-30T10:44:23+03:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
|
||||||
<lastmod>2020-04-29T17:33:34+03:00</lastmod>
|
<lastmod>2020-04-30T10:44:23+03:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
||||||
<lastmod>2020-04-29T17:33:34+03:00</lastmod>
|
<lastmod>2020-04-30T10:44:23+03:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
|
Loading…
Reference in New Issue
Block a user