Update notes for 2019-08-08

This commit is contained in:
2019-08-09 01:42:13 +03:00
parent 0beed6b6df
commit 498cea23e4
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: -->