Update notes for 2019-08-08

This commit is contained in:
Alan Orth 2019-08-09 01:42:13 +03:00
parent 0beed6b6df
commit 498cea23e4
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
3 changed files with 35 additions and 8 deletions

View File

@ -108,5 +108,16 @@ $ ./generate-thumbnails.py -i /tmp/user-upload2.csv -w --url-field-name url -d |
- Even so, there are still 52 items with incorrect filenames, so I can't derive their PDF URLs...
- For example, `Wild_cherry_Prunus_avium_859.pdf` is here (with double underscore): https://www.bioversityinternational.org/fileadmin/_migrated/uploads/tx_news/Wild_cherry__Prunus_avium__859.pdf
- I will proceed with a metadata-only upload first and then let them know about the missing PDFs
- Troubleshoot an issue we had with proxying to the new development version of AReS from DSpace Test (linode19)
- For some reason the host header in the proxy pass is not set so nginx on DSpace Test makes a request to the upstream nginx on an IP-based virtual host
- The upstream nginx returns HTTP 444 because we configured it to not answer when a request does not send a valid hostname
- The solution is to set the host header when proxy passing:
```
proxy_set_header Host dev.ares.codeobia.com;
```
- Though I am really wondering why this happened now, because the configuration has been working for months...
- Improve the output of the suspicious characters check in [csv-metadata-quality](https://github.com/alanorth/csv-metadata-quality) script and tag version 0.2.0
<!-- vim: set sw=2 ts=2: -->

View File

@ -27,7 +27,7 @@ Run system updates on DSpace Test (linode19) and reboot it
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-08/" />
<meta property="article:published_time" content="2019-08-03T12:39:51+03:00" />
<meta property="article:modified_time" content="2019-08-06T20:11:27+03:00" />
<meta property="article:modified_time" content="2019-08-08T18:10:44+03:00" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="August, 2019"/>
@ -59,9 +59,9 @@ Run system updates on DSpace Test (linode19) and reboot it
"@type": "BlogPosting",
"headline": "August, 2019",
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-08\/",
"wordCount": "793",
"wordCount": "909",
"datePublished": "2019-08-03T12:39:51\x2b03:00",
"dateModified": "2019-08-06T20:11:27\x2b03:00",
"dateModified": "2019-08-08T18:10:44\x2b03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -264,6 +264,22 @@ $ ./generate-thumbnails.py -i /tmp/user-upload2.csv -w --url-field-name url -d |
</ul></li>
<li><p>I will proceed with a metadata-only upload first and then let them know about the missing PDFs</p></li>
<li><p>Troubleshoot an issue we had with proxying to the new development version of AReS from DSpace Test (linode19)</p>
<ul>
<li>For some reason the host header in the proxy pass is not set so nginx on DSpace Test makes a request to the upstream nginx on an IP-based virtual host</li>
<li>The upstream nginx returns HTTP 444 because we configured it to not answer when a request does not send a valid hostname</li>
<li><p>The solution is to set the host header when proxy passing:</p>
<pre><code>proxy_set_header Host dev.ares.codeobia.com;
</code></pre></li>
</ul></li>
<li><p>Though I am really wondering why this happened now, because the configuration has been working for months&hellip;</p></li>
<li><p>Improve the output of the suspicious characters check in <a href="https://github.com/alanorth/csv-metadata-quality">csv-metadata-quality</a> script and tag version 0.2.0</p></li>
</ul>
<!-- vim: set sw=2 ts=2: -->

View File

@ -4,30 +4,30 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/2019-08/</loc>
<lastmod>2019-08-06T20:11:27+03:00</lastmod>
<lastmod>2019-08-08T18:10:44+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2019-08-06T20:11:27+03:00</lastmod>
<lastmod>2019-08-08T18:10:44+03:00</lastmod>
<priority>0</priority>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
<lastmod>2019-08-06T20:11:27+03:00</lastmod>
<lastmod>2019-08-08T18:10:44+03:00</lastmod>
<priority>0</priority>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
<lastmod>2019-08-06T20:11:27+03:00</lastmod>
<lastmod>2019-08-08T18:10:44+03:00</lastmod>
<priority>0</priority>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
<lastmod>2019-08-06T20:11:27+03:00</lastmod>
<lastmod>2019-08-08T18:10:44+03:00</lastmod>
<priority>0</priority>
</url>