From a34c0719394f122bf2dde39a5858abcfb957db6d Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 8 May 2019 15:33:15 +0300 Subject: [PATCH] Update notes for 2019-05-08 --- content/posts/2019-05.md | 32 ++++++++++++++++++++++++++++ docs/2019-05/index.html | 46 +++++++++++++++++++++++++++++++++++++--- docs/sitemap.xml | 10 ++++----- 3 files changed, 80 insertions(+), 8 deletions(-) diff --git a/content/posts/2019-05.md b/content/posts/2019-05.md index 2c765c809..f9ba328bd 100644 --- a/content/posts/2019-05.md +++ b/content/posts/2019-05.md @@ -260,4 +260,36 @@ $ cat dspace.log.2019-05-01 | grep -E 'session_id=[A-Z0-9]{32}' | sort | uniq | - I send her the link to the collection RSS feed - Add requests cache to `resolve-addresses.py` script +## 2019-05-08 + +- A user said that CGSpace emails have stopped sending again + - Indeed, the `dspace test-email` script is showing an authentication failure: + +``` +$ dspace test-email + +About to send test email: + - To: wooooo@cgiar.org + - Subject: DSpace test email + - Server: smtp.office365.com + +Error sending email: + - Error: javax.mail.AuthenticationFailedException + +Please see the DSpace documentation for assistance. +``` + +- I checked the settings and apparently I had updated it incorrectly last week after ICT reset the password +- Help Moayad with certbot-auto for Let's Encrypt scripts on the new AReS server (linode20) +- Normalize all `text_lang` values for metadata on CGSpace and DSpace Test (as I had tested last month): + +``` +UPDATE metadatavalue SET text_lang='en_US' WHERE resource_type_id=2 AND metadata_field_id != 28 AND text_lang IN ('ethnob', 'en', '*', 'E.', ''); +UPDATE metadatavalue SET text_lang='en_US' WHERE resource_type_id=2 AND metadata_field_id != 28 AND text_lang IS NULL; +UPDATE metadatavalue SET text_lang='es_ES' WHERE resource_type_id=2 AND metadata_field_id != 28 AND text_lang IN ('es', 'spa'); +``` + +- Send Francesca Giampieri from Bioversity a CSV export of all their items issued in 2018 + - They will be doing a migration of 1500 items from their TYPO3 database into CGSpace soon and want an example CSV with all required metadata columns + diff --git a/docs/2019-05/index.html b/docs/2019-05/index.html index 517007c0b..e86fdf9a3 100644 --- a/docs/2019-05/index.html +++ b/docs/2019-05/index.html @@ -28,7 +28,7 @@ But after this I tried to delete the item from the XMLUI and it is still present - + @@ -61,9 +61,9 @@ But after this I tried to delete the item from the XMLUI and it is still present "@type": "BlogPosting", "headline": "May, 2019", "url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-05\/", - "wordCount": "1783", + "wordCount": "1973", "datePublished": "2019-05-01T07:37:43\x2b03:00", - "dateModified": "2019-05-06T15:41:40\x2b03:00", + "dateModified": "2019-05-07T16:51:55\x2b03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -439,6 +439,46 @@ $ cat dspace.log.2019-05-01 | grep -E 'session_id=[A-Z0-9]{32}' | sort | uniq |
  • Add requests cache to resolve-addresses.py script
  • +

    2019-05-08

    + + + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 1b84e12b2..0d75e3c7e 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,30 +4,30 @@ https://alanorth.github.io/cgspace-notes/ - 2019-05-06T15:41:40+03:00 + 2019-05-07T16:51:55+03:00 0 https://alanorth.github.io/cgspace-notes/2019-05/ - 2019-05-06T15:41:40+03:00 + 2019-05-07T16:51:55+03:00 https://alanorth.github.io/cgspace-notes/tags/notes/ - 2019-05-06T15:41:40+03:00 + 2019-05-07T16:51:55+03:00 0 https://alanorth.github.io/cgspace-notes/posts/ - 2019-05-06T15:41:40+03:00 + 2019-05-07T16:51:55+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2019-05-06T15:41:40+03:00 + 2019-05-07T16:51:55+03:00 0