cgspace-notes/content/posts/2019-03.md

102 lines
5.4 KiB
Markdown
Raw Normal View History

2019-03-01 12:17:01 +01:00
---
title: "March, 2019"
date: 2019-03-01T12:16:30+01:00
author: "Alan Orth"
tags: ["Notes"]
---
## 2019-03-01
2019-03-01 12:52:14 +01:00
- I checked IITA's 259 Feb 14 records from last month for duplicates using Atmire's Duplicate Checker on a fresh snapshot of CGSpace on my local machine and everything looks good
- I am now only waiting to hear from her about where the items should go, though I assume Journal Articles go to IITA Journal Articles collection, etc...
2019-03-01 14:42:37 +01:00
- Looking at the other half of Udana's WLE records from 2018-11
- I finished the ones for Restoring Degraded Landscapes (RDL), but these are for Variability, Risks and Competing Uses (VRC)
- I did the usual cleanups for whitespace, added regions where they made sense for certain countries, cleaned up the DOI link formats, added rights information based on the publications page for a few items
- Most worryingly, there are encoding errors in the abstracts for eleven items, for example:
- 68.15% <20> 9.45 instead of 68.15% ± 9.45
- 2003<30>2013 instead of 20032013
- I think I will need to ask Udana to re-copy and paste the abstracts with more care using Google Docs
2019-03-01 12:17:01 +01:00
<!--more-->
2019-03-03 07:42:24 +01:00
## 2019-03-03
- Trying to finally upload IITA's 259 Feb 14 items to CGSpace so I exported them from DSpace Test:
```
$ mkdir 2019-03-03-IITA-Feb14
$ dspace export -i 10568/108684 -t COLLECTION -m -n 0 -d 2019-03-03-IITA-Feb14
```
- As I was inspecting the archive I noticed that there were some problems with the bitsreams:
- First, Sisay didn't include the bitstream descriptions
- Second, only five items had bitstreams and I remember in the discussion with IITA that there should have been nine!
- I had to refer to the original CSV from January to find the file names, then download and add them to the export contents manually!
- After adding the missing bitstreams and descriptions manually I tested them again locally, then imported them to a temporary collection on CGSpace:
```
$ dspace import -a -c 10568/99832 -e aorth@stfu.com -m 2019-03-03-IITA-Feb14.map -s /tmp/2019-03-03-IITA-Feb14
```
- DSpace's export function doesn't include the collections for some reason, so you need to import them somewhere first, then export the collection metadata and re-map the items to proper owning collections based on their types using OpenRefine or something
- After re-importing to CGSpace to apply the mappings, I deleted the collection on DSpace Test and ran the `dspace cleanup` script
2019-03-03 08:21:41 +01:00
- Merge the IITA research theme changes from last month to the `5_x-prod` branch ([#413](https://github.com/ilri/DSpace/pull/413))
- I will deploy to CGSpace soon and then think about how to batch tag all IITA's existing items with this metadata
2019-03-03 11:41:06 +01:00
- Deploy Tomcat 7.0.93 on CGSpace (linode18) after having tested it on DSpace Test (linode19) for a week
2019-03-03 07:42:24 +01:00
2019-03-06 15:45:43 +01:00
## 2019-03-06
- Abenet was having problems with a CIP user account, I think that the user could not register
- I suspect it's related to the email issue that ICT hasn't responded about since last week
- As I thought, I still cannot send emails from CGSpace:
```
$ dspace test-email
About to send test email:
- To: blah@stfu.com
- Subject: DSpace test email
- Server: smtp.office365.com
Error sending email:
- Error: javax.mail.AuthenticationFailedException
```
- I will send a follow-up to ICT to ask them to reset the password
2019-03-07 10:37:53 +01:00
## 2019-03-07
- ICT reset the email password and I confirmed that it is working now
2019-03-07 11:18:52 +01:00
- Generate a controlled vocabulary of 1187 AGROVOC subjects from the top 1500 that I checked last month, dumping the terms themselves using `csvcut` and then applying XML controlled vocabulary format in vim and then checking with tidy for good measure:
```
$ csvcut -c name 2019-02-22-subjects.csv > dspace/config/controlled-vocabularies/dc-contributor-author.xml
$ # apply formatting in XML file
$ tidy -xml -utf8 -iq -m -w 0 dspace/config/controlled-vocabularies/dc-subject.xml
```
2019-03-07 11:23:32 +01:00
- I tested the AGROVOC controlled vocabulary locally and will deploy it on DSpace Test soon so people can see it
2019-03-07 11:18:52 +01:00
- Atmire noticed my message about the "solr_update_time_stamp" error on the dspace-tech mailing list and created an issue on their tracker to discuss it with me
- They say the error is harmless, but has nevertheless been fixed in their newer module versions
2019-03-07 10:37:53 +01:00
2019-03-08 12:56:34 +01:00
## 2019-03-08
- There's an issue with CGSpace right now where all items are giving a blank page in the XMLUI
- Interestingly, if I check an item in the REST API it is also mostly blank: only the title and the ID!
- I don't see anything unusual in the Tomcat logs, though there are thousands of those `solr_update_time_stamp` errors:
```
# journalctl -u tomcat7 | grep -c 'Multiple update components target the same field:solr_update_time_stamp'
1076
```
- I restarted Tomcat and it's OK now...
- Skype meeting with Peter and Abenet and Sisay
- We want to try to crowd source the correction of invalid AGROVOC terms starting with the ~313 invalid ones from our top 1500
- We will share a Google Docs spreadsheet with the partners and ask them to mark the deletions and corrections
- Abenet and Alan to spend some time identifying correct DCTERMS fields to move to, with preference over CG Core 2.0 as we want to be globally compliant (use information from SEO crosswalks)
2019-03-08 13:41:01 +01:00
- I need to follow up on the privacy page that Sisay worked on
- We want to try to migrate the 600 [Livestock CRP blog posts](https://livestock.cgiar.org) to CGSpace, Peter will try to export the XML from WordPress so I can try to parse it with a script
2019-03-08 12:56:34 +01:00
2019-03-01 12:17:01 +01:00
<!-- vim: set sw=2 ts=2: -->