mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-22 14:45:03 +01:00
Add notes for 2019-05-01
This commit is contained in:
parent
76daa82326
commit
93931a633d
61
content/posts/2019-05.md
Normal file
61
content/posts/2019-05.md
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
---
|
||||||
|
title: "May, 2019"
|
||||||
|
date: 2019-05-01T07:37:43+03:00
|
||||||
|
author: "Alan Orth"
|
||||||
|
tags: ["Notes"]
|
||||||
|
---
|
||||||
|
|
||||||
|
## 2019-05-01
|
||||||
|
|
||||||
|
- Help CCAFS with regenerating some item thumbnails after they uploaded new PDFs to some items on CGSpace
|
||||||
|
- A user on the dspace-tech mailing list offered some suggestions for troubleshooting the problem with the inability to delete certain items
|
||||||
|
- Apparently if the item is in the `workflowitem` table it is submitted to a workflow
|
||||||
|
- And if it is in the `workspaceitem` table it is in the pre-submitted state
|
||||||
|
- The item seems to be in a pre-submitted state, so I tried to delete it from there:
|
||||||
|
|
||||||
|
```
|
||||||
|
dspace=# DELETE FROM workspaceitem WHERE item_id=74648;
|
||||||
|
DELETE 1
|
||||||
|
```
|
||||||
|
|
||||||
|
- But after this I tried to delete the item from the XMLUI and it is *still* present...
|
||||||
|
|
||||||
|
<!--more-->
|
||||||
|
|
||||||
|
- I managed to delete the problematic item from the database
|
||||||
|
- First I deleted the item's bitstream in XMLUI and then ran `dspace cleanup -v` to remove it from the assetstore
|
||||||
|
- Then I ran the following SQL:
|
||||||
|
|
||||||
|
```
|
||||||
|
dspace=# DELETE FROM metadatavalue WHERE resource_id=74648;
|
||||||
|
dspace=# DELETE FROM workspaceitem WHERE item_id=74648;
|
||||||
|
dspace=# DELETE FROM item WHERE item_id=74648;
|
||||||
|
```
|
||||||
|
- Now the item is (hopefully) really gone and I can continue to troubleshoot the issue with REST API's `/items/find-by-metadata-value` endpoint
|
||||||
|
- Of course I run into another HTTP 401 error when I continue trying the LandPortal search from last month:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ curl -f -H "Content-Type: application/json" -X POST "http://localhost:8080/rest/items/find-by-metadata-field" -d '{"key":"cg.subject.cpwf", "value":"WATER MANAGEMENT","language": "en_US"}'
|
||||||
|
curl: (22) The requested URL returned error: 401 Unauthorized
|
||||||
|
```
|
||||||
|
|
||||||
|
- The DSpace log shows the item ID (because I modified the error text):
|
||||||
|
|
||||||
|
```
|
||||||
|
2019-05-01 11:41:11,069 ERROR org.dspace.rest.ItemsResource @ User(anonymous) has not permission to read item(id=77708)!
|
||||||
|
```
|
||||||
|
|
||||||
|
- If I delete that one I get another, making the list of item IDs so far:
|
||||||
|
- 74648
|
||||||
|
- 77708
|
||||||
|
- 85079
|
||||||
|
- Some are in the `workspaceitem` table (pre-submission), others are in the `workflowitem` table (submitted), and others are actually approved, but withdrawn...
|
||||||
|
- This is actually a worthless exercise because the real issue is that the `/items/find-by-metadata-value` endpoint is simply designed flawed and shouldn't be fatally erroring when the search returns items the user doesn't have permission to access
|
||||||
|
- It would take way too much time to try to fix the fucked up items that are in limbo by deleting them in SQL, but also, it doesn't actually fix the problem because some items are *submitted* but *withdrawn*, so they actually have handles and everything
|
||||||
|
- I think the solution is to recommend people don't use the `/items/find-by-metadata-value` endpoint
|
||||||
|
- CIP is asking about embedding PDF thumbnail images in their RSS feeds again
|
||||||
|
- They asked in 2018-09 as well and I told them it wasn't possible
|
||||||
|
- To make sure, I looked at [the documentation for RSS media feeds](https://wiki.duraspace.org/display/DSPACE/Enable+Media+RSS+Feeds) and tried it, but couldn't get it to work
|
||||||
|
- It seems to be geared towards iTunes and Podcasts... I dunno
|
||||||
|
|
||||||
|
<!-- vim: set sw=2 ts=2: -->
|
@ -278,16 +278,16 @@ db.statementpool = true
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -295,16 +295,16 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -210,16 +210,16 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} \; | so
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -463,16 +463,16 @@ Bitstream: tést señora alimentación.pdf
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -363,16 +363,16 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -580,16 +580,16 @@ dspace.log.2016-04-27:7271
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -430,16 +430,16 @@ sys 0m20.540s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -475,16 +475,16 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -393,16 +393,16 @@ discovery.index.authority.ignore-variants=true
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -466,16 +466,16 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/b
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -766,16 +766,16 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -451,16 +451,16 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -668,16 +668,16 @@ org.dspace.discovery.SearchServiceException: Error executing query
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -904,16 +904,16 @@ $ exit
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -449,16 +449,16 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -521,16 +521,16 @@ COPY 1968
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -435,16 +435,16 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -714,16 +714,16 @@ $ gem install compass -v 1.0.3
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -474,16 +474,16 @@ UPDATE 187
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -292,16 +292,16 @@ $ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" [dspace]/bin/dspace impo
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -321,16 +321,16 @@ delete from metadatavalue where resource_type_id=2 and metadata_field_id=235 and
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -607,16 +607,16 @@ org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -779,16 +779,16 @@ Cert Status: good
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -544,16 +544,16 @@ session_id=6C30F10B4351A4ED83EC6ED50AFD6B6A
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -1188,16 +1188,16 @@ $ cat dspace.log.2017-11-28 | grep -o -E 'session_id=[A-Z0-9]{32}' | sort -n | u
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -953,16 +953,16 @@ DELETE 20
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -1780,16 +1780,16 @@ Catalina:type=Manager,context=/,host=localhost activeSessions 8
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -1299,16 +1299,16 @@ UPDATE 3
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -725,16 +725,16 @@ Fixed 5 occurences of: GENEBANKS
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -723,16 +723,16 @@ $ pg_restore -O -U dspacetest -d dspacetest -W -h localhost /tmp/dspace_2018-04-
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -602,16 +602,16 @@ $ psql -h localhost -U postgres dspacetest
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -582,16 +582,16 @@ $ sed '/^id/d' 10568-*.csv | csvcut -c 1,2 > map-to-cifor-archive.csv
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -693,16 +693,16 @@ dspace=# select count(text_value) from metadatavalue where resource_type_id=2 an
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -529,16 +529,16 @@ $ dspace database migrate ignored
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -907,16 +907,16 @@ UPDATE metadatavalue SET text_value='ja' WHERE resource_type_id=2 AND metadata_f
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -810,16 +810,16 @@ $ curl -X GET -H "Content-Type: application/json" -H "Accept: app
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -668,16 +668,16 @@ $ dspace dsrun org.dspace.eperson.Groomer -a -b 11/27/2016 -d
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -733,16 +733,16 @@ UPDATE 1
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -1407,16 +1407,16 @@ identify: CorruptImageProfile `xmp' @ warning/profile.c/SetImageProfileInternal/
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -1642,16 +1642,16 @@ Please see the DSpace documentation for assistance.
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -1421,16 +1421,16 @@ sys 0m2.551s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace
|
|||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-04/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-04/" />
|
||||||
<meta property="article:published_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="article:published_time" content="2019-04-01T09:00:43+03:00"/>
|
||||||
<meta property="article:modified_time" content="2019-04-28T19:07:51+03:00"/>
|
<meta property="article:modified_time" content="2019-04-30T11:39:09+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="April, 2019"/>
|
<meta name="twitter:title" content="April, 2019"/>
|
||||||
@ -83,7 +83,7 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace
|
|||||||
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-04\/",
|
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-04\/",
|
||||||
"wordCount": "6800",
|
"wordCount": "6800",
|
||||||
"datePublished": "2019-04-01T09:00:43\x2b03:00",
|
"datePublished": "2019-04-01T09:00:43\x2b03:00",
|
||||||
"dateModified": "2019-04-28T19:07:51\x2b03:00",
|
"dateModified": "2019-04-30T11:39:09\x2b03:00",
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
@ -1491,16 +1491,16 @@ UPDATE 14
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
285
docs/2019-05/index.html
Normal file
285
docs/2019-05/index.html
Normal file
@ -0,0 +1,285 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
|
||||||
|
<meta property="og:title" content="May, 2019" />
|
||||||
|
<meta property="og:description" content="2019-05-01
|
||||||
|
|
||||||
|
|
||||||
|
Help CCAFS with regenerating some item thumbnails after they uploaded new PDFs to some items on CGSpace
|
||||||
|
A user on the dspace-tech mailing list offered some suggestions for troubleshooting the problem with the inability to delete certain items
|
||||||
|
|
||||||
|
|
||||||
|
Apparently if the item is in the workflowitem table it is submitted to a workflow
|
||||||
|
And if it is in the workspaceitem table it is in the pre-submitted state
|
||||||
|
|
||||||
|
The item seems to be in a pre-submitted state, so I tried to delete it from there:
|
||||||
|
|
||||||
|
|
||||||
|
dspace=# DELETE FROM workspaceitem WHERE item_id=74648;
|
||||||
|
DELETE 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
But after this I tried to delete the item from the XMLUI and it is still present…
|
||||||
|
" />
|
||||||
|
<meta property="og:type" content="article" />
|
||||||
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-05/" />
|
||||||
|
<meta property="article:published_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
<meta property="article:modified_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
|
<meta name="twitter:card" content="summary"/>
|
||||||
|
<meta name="twitter:title" content="May, 2019"/>
|
||||||
|
<meta name="twitter:description" content="2019-05-01
|
||||||
|
|
||||||
|
|
||||||
|
Help CCAFS with regenerating some item thumbnails after they uploaded new PDFs to some items on CGSpace
|
||||||
|
A user on the dspace-tech mailing list offered some suggestions for troubleshooting the problem with the inability to delete certain items
|
||||||
|
|
||||||
|
|
||||||
|
Apparently if the item is in the workflowitem table it is submitted to a workflow
|
||||||
|
And if it is in the workspaceitem table it is in the pre-submitted state
|
||||||
|
|
||||||
|
The item seems to be in a pre-submitted state, so I tried to delete it from there:
|
||||||
|
|
||||||
|
|
||||||
|
dspace=# DELETE FROM workspaceitem WHERE item_id=74648;
|
||||||
|
DELETE 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
But after this I tried to delete the item from the XMLUI and it is still present…
|
||||||
|
"/>
|
||||||
|
<meta name="generator" content="Hugo 0.55.3" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "http://schema.org",
|
||||||
|
"@type": "BlogPosting",
|
||||||
|
"headline": "May, 2019",
|
||||||
|
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-05\/",
|
||||||
|
"wordCount": "444",
|
||||||
|
"datePublished": "2019-05-01T07:37:43\x2b03:00",
|
||||||
|
"dateModified": "2019-05-01T07:37:43\x2b03:00",
|
||||||
|
"author": {
|
||||||
|
"@type": "Person",
|
||||||
|
"name": "Alan Orth"
|
||||||
|
},
|
||||||
|
"keywords": "Notes"
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="canonical" href="https://alanorth.github.io/cgspace-notes/2019-05/">
|
||||||
|
|
||||||
|
<title>May, 2019 | CGSpace Notes</title>
|
||||||
|
|
||||||
|
<!-- combined, minified CSS -->
|
||||||
|
<link href="https://alanorth.github.io/cgspace-notes/css/style.css" rel="stylesheet" integrity="sha384-G5B34w7DFTumWTswxYzTX7NWfbvQEg1HbFFEg6ItN03uTAAoS2qkPS/fu3LhuuSA" crossorigin="anonymous">
|
||||||
|
|
||||||
|
<!-- RSS 2.0 feed -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="blog-masthead">
|
||||||
|
<div class="container">
|
||||||
|
<nav class="nav blog-nav">
|
||||||
|
<a class="nav-link " href="https://alanorth.github.io/cgspace-notes/">Home</a>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<header class="blog-header">
|
||||||
|
<div class="container">
|
||||||
|
<h1 class="blog-title"><a href="https://alanorth.github.io/cgspace-notes/" rel="home">CGSpace Notes</a></h1>
|
||||||
|
<p class="lead blog-description">Documenting day-to-day work on the <a href="https://cgspace.cgiar.org">CGSpace</a> repository.</p>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-8 blog-main">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2019-05/">May, 2019</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2019-05-01T07:37:43+03:00">Wed May 01, 2019</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2019-05-01">2019-05-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Help CCAFS with regenerating some item thumbnails after they uploaded new PDFs to some items on CGSpace</li>
|
||||||
|
<li>A user on the dspace-tech mailing list offered some suggestions for troubleshooting the problem with the inability to delete certain items
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Apparently if the item is in the <code>workflowitem</code> table it is submitted to a workflow</li>
|
||||||
|
<li>And if it is in the <code>workspaceitem</code> table it is in the pre-submitted state</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>The item seems to be in a pre-submitted state, so I tried to delete it from there:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# DELETE FROM workspaceitem WHERE item_id=74648;
|
||||||
|
DELETE 1
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>But after this I tried to delete the item from the XMLUI and it is <em>still</em> present…</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>I managed to delete the problematic item from the database
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>First I deleted the item’s bitstream in XMLUI and then ran <code>dspace cleanup -v</code> to remove it from the assetstore</li>
|
||||||
|
<li>Then I ran the following SQL:</li>
|
||||||
|
</ul></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# DELETE FROM metadatavalue WHERE resource_id=74648;
|
||||||
|
dspace=# DELETE FROM workspaceitem WHERE item_id=74648;
|
||||||
|
dspace=# DELETE FROM item WHERE item_id=74648;
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Now the item is (hopefully) really gone and I can continue to troubleshoot the issue with REST API’s <code>/items/find-by-metadata-value</code> endpoint
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Of course I run into another HTTP 401 error when I continue trying the LandPortal search from last month:</li>
|
||||||
|
</ul></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ curl -f -H "Content-Type: application/json" -X POST "http://localhost:8080/rest/items/find-by-metadata-field" -d '{"key":"cg.subject.cpwf", "value":"WATER MANAGEMENT","language": "en_US"}'
|
||||||
|
curl: (22) The requested URL returned error: 401 Unauthorized
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>The DSpace log shows the item ID (because I modified the error text):</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>2019-05-01 11:41:11,069 ERROR org.dspace.rest.ItemsResource @ User(anonymous) has not permission to read item(id=77708)!
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>If I delete that one I get another, making the list of item IDs so far:
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>74648</li>
|
||||||
|
<li>77708</li>
|
||||||
|
<li>85079</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>Some are in the <code>workspaceitem</code> table (pre-submission), others are in the <code>workflowitem</code> table (submitted), and others are actually approved, but withdrawn…
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>This is actually a worthless exercise because the real issue is that the <code>/items/find-by-metadata-value</code> endpoint is simply designed flawed and shouldn’t be fatally erroring when the search returns items the user doesn’t have permission to access</li>
|
||||||
|
<li>It would take way too much time to try to fix the fucked up items that are in limbo by deleting them in SQL, but also, it doesn’t actually fix the problem because some items are <em>submitted</em> but <em>withdrawn</em>, so they actually have handles and everything</li>
|
||||||
|
<li>I think the solution is to recommend people don’t use the <code>/items/find-by-metadata-value</code> endpoint</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>CIP is asking about embedding PDF thumbnail images in their RSS feeds again
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>They asked in 2018-09 as well and I told them it wasn’t possible</li>
|
||||||
|
<li>To make sure, I looked at <a href="https://wiki.duraspace.org/display/DSPACE/Enable+Media+RSS+Feeds">the documentation for RSS media feeds</a> and tried it, but couldn’t get it to work</li>
|
||||||
|
<li>It seems to be geared towards iTunes and Podcasts… I dunno</li>
|
||||||
|
</ul></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<!-- vim: set sw=2 ts=2: -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div> <!-- /.blog-main -->
|
||||||
|
|
||||||
|
<aside class="col-sm-3 ml-auto blog-sidebar">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="sidebar-module">
|
||||||
|
<h4>Recent Posts</h4>
|
||||||
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
|
</ol>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="sidebar-module">
|
||||||
|
<h4>Links</h4>
|
||||||
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
<li><a href="https://cgspace.cgiar.org">CGSpace</a></li>
|
||||||
|
|
||||||
|
<li><a href="https://dspacetest.cgiar.org">DSpace Test</a></li>
|
||||||
|
|
||||||
|
<li><a href="https://github.com/ilri/DSpace">CGSpace @ GitHub</a></li>
|
||||||
|
|
||||||
|
</ol>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
</div> <!-- /.row -->
|
||||||
|
</div> <!-- /.container -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<footer class="blog-footer">
|
||||||
|
<p>
|
||||||
|
|
||||||
|
Blog template created by <a href="https://twitter.com/mdo">@mdo</a>, ported to Hugo by <a href='https://twitter.com/mralanorth'>@mralanorth</a>.
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<a href="#">Back to top</a>
|
||||||
|
</p>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
@ -87,16 +87,16 @@
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -89,6 +89,43 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2019-05/">May, 2019</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2019-05-01T07:37:43+03:00">Wed May 01, 2019</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2019-05-01">2019-05-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Help CCAFS with regenerating some item thumbnails after they uploaded new PDFs to some items on CGSpace</li>
|
||||||
|
<li>A user on the dspace-tech mailing list offered some suggestions for troubleshooting the problem with the inability to delete certain items
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Apparently if the item is in the <code>workflowitem</code> table it is submitted to a workflow</li>
|
||||||
|
<li>And if it is in the <code>workspaceitem</code> table it is in the pre-submitted state</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>The item seems to be in a pre-submitted state, so I tried to delete it from there:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# DELETE FROM workspaceitem WHERE item_id=74648;
|
||||||
|
DELETE 1
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>But after this I tried to delete the item from the XMLUI and it is <em>still</em> present…</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2019-05/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2019-04/">April, 2019</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2019-04/">April, 2019</a></h2>
|
||||||
@ -397,38 +434,6 @@ sys 0m1.979s
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-07/">July, 2018</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2018-07-01T12:56:54+03:00">Sun Jul 01, 2018</time> by Alan Orth in
|
|
||||||
|
|
||||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2018-07-01">2018-07-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<pre><code>$ pg_dump -b -v -o --format=custom -U dspace -f dspace-2018-07-01.backup dspace
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>During the <code>mvn package</code> stage on the 5.8 branch I kept getting issues with java running out of memory:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<pre><code>There is insufficient memory for the Java Runtime Environment to continue.
|
|
||||||
</code></pre>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2018-07/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
@ -453,16 +458,16 @@ sys 0m1.979s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -105,16 +105,16 @@
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -89,6 +89,38 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-07/">July, 2018</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2018-07-01T12:56:54+03:00">Sun Jul 01, 2018</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2018-07-01">2018-07-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ pg_dump -b -v -o --format=custom -U dspace -f dspace-2018-07-01.backup dspace
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>During the <code>mvn package</code> stage on the 5.8 branch I kept getting issues with java running out of memory:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>There is insufficient memory for the Java Runtime Environment to continue.
|
||||||
|
</code></pre>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2018-07/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-06/">June, 2018</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-06/">June, 2018</a></h2>
|
||||||
@ -419,24 +451,6 @@ COPY 54701
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/cgiar-library-migration/">CGIAR Library Migration</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2017-09-18T16:38:35+03:00">Mon Sep 18, 2017</time> by Alan Orth in
|
|
||||||
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<p>Rough notes for importing the CGIAR Library content. It was decided that this content would go to a new top-level community called <em>CGIAR System Organization</em>.</p>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/cgiar-library-migration/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/" rel="prev" role="button">Previous page</a>
|
||||||
@ -461,16 +475,16 @@ COPY 54701
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -89,6 +89,24 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/cgiar-library-migration/">CGIAR Library Migration</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2017-09-18T16:38:35+03:00">Mon Sep 18, 2017</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<p>Rough notes for importing the CGIAR Library content. It was decided that this content would go to a new top-level community called <em>CGIAR System Organization</em>.</p>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/cgiar-library-migration/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-09/">September, 2017</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-09/">September, 2017</a></h2>
|
||||||
@ -357,42 +375,6 @@ DELETE 1
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-12/">December, 2016</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2016-12-02T10:43:00+03:00">Fri Dec 02, 2016</time> by Alan Orth in
|
|
||||||
|
|
||||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2016-12-02">2016-12-02</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>CGSpace was down for five hours in the morning while I was sleeping</li>
|
|
||||||
<li>While looking in the logs for errors, I see tons of warnings about Atmire MQM:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<pre><code>2016-12-02 03:00:32,352 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=CREATE, SubjectType=BUNDLE, SubjectID=70316, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632305, dispatcher=1544803905, detail=[null], transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=MODIFY_METADATA, SubjectType=BUNDLE, SubjectID =70316, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632309, dispatcher=1544803905, detail="dc.title", transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=ADD, SubjectType=ITEM, SubjectID=80044, Object Type=BUNDLE, ObjectID=70316, TimeStamp=1480647632311, dispatcher=1544803905, detail="THUMBNAIL", transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=ADD, SubjectType=BUNDLE, SubjectID=70316, Obje ctType=BITSTREAM, ObjectID=86715, TimeStamp=1480647632318, dispatcher=1544803905, detail="-1", transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=MODIFY, SubjectType=ITEM, SubjectID=80044, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632351, dispatcher=1544803905, detail=[null], transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>I see thousands of them in the logs for the last few months, so it’s not related to the DSpace 5.5 upgrade</li>
|
|
||||||
<li>I’ve raised a ticket with Atmire to ask</li>
|
|
||||||
<li>Another worrying error from dspace.log is:</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2016-12/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/page/2/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/page/2/" rel="prev" role="button">Previous page</a>
|
||||||
@ -417,16 +399,16 @@ DELETE 1
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -89,6 +89,42 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-12/">December, 2016</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2016-12-02T10:43:00+03:00">Fri Dec 02, 2016</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2016-12-02">2016-12-02</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>CGSpace was down for five hours in the morning while I was sleeping</li>
|
||||||
|
<li>While looking in the logs for errors, I see tons of warnings about Atmire MQM:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>2016-12-02 03:00:32,352 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=CREATE, SubjectType=BUNDLE, SubjectID=70316, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632305, dispatcher=1544803905, detail=[null], transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=MODIFY_METADATA, SubjectType=BUNDLE, SubjectID =70316, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632309, dispatcher=1544803905, detail="dc.title", transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=ADD, SubjectType=ITEM, SubjectID=80044, Object Type=BUNDLE, ObjectID=70316, TimeStamp=1480647632311, dispatcher=1544803905, detail="THUMBNAIL", transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=ADD, SubjectType=BUNDLE, SubjectID=70316, Obje ctType=BITSTREAM, ObjectID=86715, TimeStamp=1480647632318, dispatcher=1544803905, detail="-1", transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=MODIFY, SubjectType=ITEM, SubjectID=80044, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632351, dispatcher=1544803905, detail=[null], transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>I see thousands of them in the logs for the last few months, so it’s not related to the DSpace 5.5 upgrade</li>
|
||||||
|
<li>I’ve raised a ticket with Atmire to ask</li>
|
||||||
|
<li>Another worrying error from dspace.log is:</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2016-12/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-11/">November, 2016</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-11/">November, 2016</a></h2>
|
||||||
@ -344,37 +380,6 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-02/">February, 2016</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2016-02-05T13:18:00+03:00">Fri Feb 05, 2016</time> by Alan Orth in
|
|
||||||
|
|
||||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2016-02-05">2016-02-05</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Looking at some DAGRIS data for Abenet Yabowork</li>
|
|
||||||
<li>Lots of issues with spaces, newlines, etc causing the import to fail</li>
|
|
||||||
<li>I noticed we have a very <em>interesting</em> list of countries on CGSpace:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p><img src="/cgspace-notes/2016/02/cgspace-countries.png" alt="CGSpace country list" /></p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Not only are there 49,000 countries, we have some blanks (25)…</li>
|
|
||||||
<li>Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE”</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2016-02/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/page/3/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/page/3/" rel="prev" role="button">Previous page</a>
|
||||||
@ -399,16 +404,16 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -89,6 +89,37 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-02/">February, 2016</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2016-02-05T13:18:00+03:00">Fri Feb 05, 2016</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2016-02-05">2016-02-05</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Looking at some DAGRIS data for Abenet Yabowork</li>
|
||||||
|
<li>Lots of issues with spaces, newlines, etc causing the import to fail</li>
|
||||||
|
<li>I noticed we have a very <em>interesting</em> list of countries on CGSpace:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p><img src="/cgspace-notes/2016/02/cgspace-countries.png" alt="CGSpace country list" /></p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Not only are there 49,000 countries, we have some blanks (25)…</li>
|
||||||
|
<li>Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE”</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2016-02/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-01/">January, 2016</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-01/">January, 2016</a></h2>
|
||||||
@ -193,16 +224,16 @@
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -325,16 +325,16 @@ dspace=# select setval('handle_seq',86873);
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="CGSpace Notes"/>
|
<meta name="twitter:title" content="CGSpace Notes"/>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-04-01T09:00:43\x2b03:00",
|
"dateModified": "2019-05-01T07:37:43\x2b03:00",
|
||||||
"keywords": "notes,notes,",
|
"keywords": "notes,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -89,6 +89,43 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2019-05/">May, 2019</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2019-05-01T07:37:43+03:00">Wed May 01, 2019</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2019-05-01">2019-05-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Help CCAFS with regenerating some item thumbnails after they uploaded new PDFs to some items on CGSpace</li>
|
||||||
|
<li>A user on the dspace-tech mailing list offered some suggestions for troubleshooting the problem with the inability to delete certain items
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Apparently if the item is in the <code>workflowitem</code> table it is submitted to a workflow</li>
|
||||||
|
<li>And if it is in the <code>workspaceitem</code> table it is in the pre-submitted state</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>The item seems to be in a pre-submitted state, so I tried to delete it from there:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# DELETE FROM workspaceitem WHERE item_id=74648;
|
||||||
|
DELETE 1
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>But after this I tried to delete the item from the XMLUI and it is <em>still</em> present…</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2019-05/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2019-04/">April, 2019</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2019-04/">April, 2019</a></h2>
|
||||||
@ -397,38 +434,6 @@ sys 0m1.979s
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-07/">July, 2018</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2018-07-01T12:56:54+03:00">Sun Jul 01, 2018</time> by Alan Orth in
|
|
||||||
|
|
||||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2018-07-01">2018-07-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<pre><code>$ pg_dump -b -v -o --format=custom -U dspace -f dspace-2018-07-01.backup dspace
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>During the <code>mvn package</code> stage on the 5.8 branch I kept getting issues with java running out of memory:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<pre><code>There is insufficient memory for the Java Runtime Environment to continue.
|
|
||||||
</code></pre>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2018-07/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
@ -453,16 +458,16 @@ sys 0m1.979s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -6,11 +6,39 @@
|
|||||||
<description>Recent content on CGSpace Notes</description>
|
<description>Recent content on CGSpace Notes</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
<language>en-us</language>
|
<language>en-us</language>
|
||||||
<lastBuildDate>Mon, 01 Apr 2019 09:00:43 +0300</lastBuildDate>
|
<lastBuildDate>Wed, 01 May 2019 07:37:43 +0300</lastBuildDate>
|
||||||
|
|
||||||
<atom:link href="https://alanorth.github.io/cgspace-notes/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="https://alanorth.github.io/cgspace-notes/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>May, 2019</title>
|
||||||
|
<link>https://alanorth.github.io/cgspace-notes/2019-05/</link>
|
||||||
|
<pubDate>Wed, 01 May 2019 07:37:43 +0300</pubDate>
|
||||||
|
|
||||||
|
<guid>https://alanorth.github.io/cgspace-notes/2019-05/</guid>
|
||||||
|
<description><h2 id="2019-05-01">2019-05-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Help CCAFS with regenerating some item thumbnails after they uploaded new PDFs to some items on CGSpace</li>
|
||||||
|
<li>A user on the dspace-tech mailing list offered some suggestions for troubleshooting the problem with the inability to delete certain items
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Apparently if the item is in the <code>workflowitem</code> table it is submitted to a workflow</li>
|
||||||
|
<li>And if it is in the <code>workspaceitem</code> table it is in the pre-submitted state</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>The item seems to be in a pre-submitted state, so I tried to delete it from there:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# DELETE FROM workspaceitem WHERE item_id=74648;
|
||||||
|
DELETE 1
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>But after this I tried to delete the item from the XMLUI and it is <em>still</em> present&hellip;</li>
|
||||||
|
</ul></description>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>April, 2019</title>
|
<title>April, 2019</title>
|
||||||
<link>https://alanorth.github.io/cgspace-notes/2019-04/</link>
|
<link>https://alanorth.github.io/cgspace-notes/2019-04/</link>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="CGSpace Notes"/>
|
<meta name="twitter:title" content="CGSpace Notes"/>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-04-01T09:00:43\x2b03:00",
|
"dateModified": "2019-05-01T07:37:43\x2b03:00",
|
||||||
"keywords": "notes,notes,",
|
"keywords": "notes,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -89,6 +89,38 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-07/">July, 2018</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2018-07-01T12:56:54+03:00">Sun Jul 01, 2018</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2018-07-01">2018-07-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ pg_dump -b -v -o --format=custom -U dspace -f dspace-2018-07-01.backup dspace
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>During the <code>mvn package</code> stage on the 5.8 branch I kept getting issues with java running out of memory:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>There is insufficient memory for the Java Runtime Environment to continue.
|
||||||
|
</code></pre>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2018-07/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-06/">June, 2018</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-06/">June, 2018</a></h2>
|
||||||
@ -419,24 +451,6 @@ COPY 54701
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/cgiar-library-migration/">CGIAR Library Migration</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2017-09-18T16:38:35+03:00">Mon Sep 18, 2017</time> by Alan Orth in
|
|
||||||
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<p>Rough notes for importing the CGIAR Library content. It was decided that this content would go to a new top-level community called <em>CGIAR System Organization</em>.</p>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/cgiar-library-migration/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/" rel="prev" role="button">Previous page</a>
|
||||||
@ -461,16 +475,16 @@ COPY 54701
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="CGSpace Notes"/>
|
<meta name="twitter:title" content="CGSpace Notes"/>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-04-01T09:00:43\x2b03:00",
|
"dateModified": "2019-05-01T07:37:43\x2b03:00",
|
||||||
"keywords": "notes,notes,",
|
"keywords": "notes,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -89,6 +89,24 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/cgiar-library-migration/">CGIAR Library Migration</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2017-09-18T16:38:35+03:00">Mon Sep 18, 2017</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<p>Rough notes for importing the CGIAR Library content. It was decided that this content would go to a new top-level community called <em>CGIAR System Organization</em>.</p>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/cgiar-library-migration/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-09/">September, 2017</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-09/">September, 2017</a></h2>
|
||||||
@ -357,42 +375,6 @@ DELETE 1
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-12/">December, 2016</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2016-12-02T10:43:00+03:00">Fri Dec 02, 2016</time> by Alan Orth in
|
|
||||||
|
|
||||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2016-12-02">2016-12-02</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>CGSpace was down for five hours in the morning while I was sleeping</li>
|
|
||||||
<li>While looking in the logs for errors, I see tons of warnings about Atmire MQM:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<pre><code>2016-12-02 03:00:32,352 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=CREATE, SubjectType=BUNDLE, SubjectID=70316, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632305, dispatcher=1544803905, detail=[null], transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=MODIFY_METADATA, SubjectType=BUNDLE, SubjectID =70316, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632309, dispatcher=1544803905, detail="dc.title", transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=ADD, SubjectType=ITEM, SubjectID=80044, Object Type=BUNDLE, ObjectID=70316, TimeStamp=1480647632311, dispatcher=1544803905, detail="THUMBNAIL", transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=ADD, SubjectType=BUNDLE, SubjectID=70316, Obje ctType=BITSTREAM, ObjectID=86715, TimeStamp=1480647632318, dispatcher=1544803905, detail="-1", transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=MODIFY, SubjectType=ITEM, SubjectID=80044, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632351, dispatcher=1544803905, detail=[null], transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>I see thousands of them in the logs for the last few months, so it’s not related to the DSpace 5.5 upgrade</li>
|
|
||||||
<li>I’ve raised a ticket with Atmire to ask</li>
|
|
||||||
<li>Another worrying error from dspace.log is:</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2016-12/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/page/2/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/page/2/" rel="prev" role="button">Previous page</a>
|
||||||
@ -417,16 +399,16 @@ DELETE 1
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="CGSpace Notes"/>
|
<meta name="twitter:title" content="CGSpace Notes"/>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-04-01T09:00:43\x2b03:00",
|
"dateModified": "2019-05-01T07:37:43\x2b03:00",
|
||||||
"keywords": "notes,notes,",
|
"keywords": "notes,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -89,6 +89,42 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-12/">December, 2016</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2016-12-02T10:43:00+03:00">Fri Dec 02, 2016</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2016-12-02">2016-12-02</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>CGSpace was down for five hours in the morning while I was sleeping</li>
|
||||||
|
<li>While looking in the logs for errors, I see tons of warnings about Atmire MQM:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>2016-12-02 03:00:32,352 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=CREATE, SubjectType=BUNDLE, SubjectID=70316, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632305, dispatcher=1544803905, detail=[null], transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=MODIFY_METADATA, SubjectType=BUNDLE, SubjectID =70316, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632309, dispatcher=1544803905, detail="dc.title", transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=ADD, SubjectType=ITEM, SubjectID=80044, Object Type=BUNDLE, ObjectID=70316, TimeStamp=1480647632311, dispatcher=1544803905, detail="THUMBNAIL", transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=ADD, SubjectType=BUNDLE, SubjectID=70316, Obje ctType=BITSTREAM, ObjectID=86715, TimeStamp=1480647632318, dispatcher=1544803905, detail="-1", transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=MODIFY, SubjectType=ITEM, SubjectID=80044, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632351, dispatcher=1544803905, detail=[null], transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>I see thousands of them in the logs for the last few months, so it’s not related to the DSpace 5.5 upgrade</li>
|
||||||
|
<li>I’ve raised a ticket with Atmire to ask</li>
|
||||||
|
<li>Another worrying error from dspace.log is:</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2016-12/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-11/">November, 2016</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-11/">November, 2016</a></h2>
|
||||||
@ -344,37 +380,6 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-02/">February, 2016</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2016-02-05T13:18:00+03:00">Fri Feb 05, 2016</time> by Alan Orth in
|
|
||||||
|
|
||||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2016-02-05">2016-02-05</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Looking at some DAGRIS data for Abenet Yabowork</li>
|
|
||||||
<li>Lots of issues with spaces, newlines, etc causing the import to fail</li>
|
|
||||||
<li>I noticed we have a very <em>interesting</em> list of countries on CGSpace:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p><img src="/cgspace-notes/2016/02/cgspace-countries.png" alt="CGSpace country list" /></p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Not only are there 49,000 countries, we have some blanks (25)…</li>
|
|
||||||
<li>Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE”</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2016-02/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/page/3/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/page/3/" rel="prev" role="button">Previous page</a>
|
||||||
@ -399,16 +404,16 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="CGSpace Notes"/>
|
<meta name="twitter:title" content="CGSpace Notes"/>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-04-01T09:00:43\x2b03:00",
|
"dateModified": "2019-05-01T07:37:43\x2b03:00",
|
||||||
"keywords": "notes,notes,",
|
"keywords": "notes,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -89,6 +89,37 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-02/">February, 2016</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2016-02-05T13:18:00+03:00">Fri Feb 05, 2016</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2016-02-05">2016-02-05</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Looking at some DAGRIS data for Abenet Yabowork</li>
|
||||||
|
<li>Lots of issues with spaces, newlines, etc causing the import to fail</li>
|
||||||
|
<li>I noticed we have a very <em>interesting</em> list of countries on CGSpace:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p><img src="/cgspace-notes/2016/02/cgspace-countries.png" alt="CGSpace country list" /></p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Not only are there 49,000 countries, we have some blanks (25)…</li>
|
||||||
|
<li>Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE”</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2016-02/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-01/">January, 2016</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-01/">January, 2016</a></h2>
|
||||||
@ -193,16 +224,16 @@
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Posts"/>
|
<meta name="twitter:title" content="Posts"/>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-04-01T09:00:43\x2b03:00",
|
"dateModified": "2019-05-01T07:37:43\x2b03:00",
|
||||||
"keywords": "notes,notes,",
|
"keywords": "notes,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -89,6 +89,43 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2019-05/">May, 2019</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2019-05-01T07:37:43+03:00">Wed May 01, 2019</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2019-05-01">2019-05-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Help CCAFS with regenerating some item thumbnails after they uploaded new PDFs to some items on CGSpace</li>
|
||||||
|
<li>A user on the dspace-tech mailing list offered some suggestions for troubleshooting the problem with the inability to delete certain items
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Apparently if the item is in the <code>workflowitem</code> table it is submitted to a workflow</li>
|
||||||
|
<li>And if it is in the <code>workspaceitem</code> table it is in the pre-submitted state</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>The item seems to be in a pre-submitted state, so I tried to delete it from there:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# DELETE FROM workspaceitem WHERE item_id=74648;
|
||||||
|
DELETE 1
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>But after this I tried to delete the item from the XMLUI and it is <em>still</em> present…</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2019-05/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2019-04/">April, 2019</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2019-04/">April, 2019</a></h2>
|
||||||
@ -397,38 +434,6 @@ sys 0m1.979s
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-07/">July, 2018</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2018-07-01T12:56:54+03:00">Sun Jul 01, 2018</time> by Alan Orth in
|
|
||||||
|
|
||||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2018-07-01">2018-07-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<pre><code>$ pg_dump -b -v -o --format=custom -U dspace -f dspace-2018-07-01.backup dspace
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>During the <code>mvn package</code> stage on the 5.8 branch I kept getting issues with java running out of memory:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<pre><code>There is insufficient memory for the Java Runtime Environment to continue.
|
|
||||||
</code></pre>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2018-07/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
@ -453,16 +458,16 @@ sys 0m1.979s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -6,11 +6,39 @@
|
|||||||
<description>Recent content in Posts on CGSpace Notes</description>
|
<description>Recent content in Posts on CGSpace Notes</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
<language>en-us</language>
|
<language>en-us</language>
|
||||||
<lastBuildDate>Mon, 01 Apr 2019 09:00:43 +0300</lastBuildDate>
|
<lastBuildDate>Wed, 01 May 2019 07:37:43 +0300</lastBuildDate>
|
||||||
|
|
||||||
<atom:link href="https://alanorth.github.io/cgspace-notes/posts/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="https://alanorth.github.io/cgspace-notes/posts/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>May, 2019</title>
|
||||||
|
<link>https://alanorth.github.io/cgspace-notes/2019-05/</link>
|
||||||
|
<pubDate>Wed, 01 May 2019 07:37:43 +0300</pubDate>
|
||||||
|
|
||||||
|
<guid>https://alanorth.github.io/cgspace-notes/2019-05/</guid>
|
||||||
|
<description><h2 id="2019-05-01">2019-05-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Help CCAFS with regenerating some item thumbnails after they uploaded new PDFs to some items on CGSpace</li>
|
||||||
|
<li>A user on the dspace-tech mailing list offered some suggestions for troubleshooting the problem with the inability to delete certain items
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Apparently if the item is in the <code>workflowitem</code> table it is submitted to a workflow</li>
|
||||||
|
<li>And if it is in the <code>workspaceitem</code> table it is in the pre-submitted state</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>The item seems to be in a pre-submitted state, so I tried to delete it from there:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# DELETE FROM workspaceitem WHERE item_id=74648;
|
||||||
|
DELETE 1
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>But after this I tried to delete the item from the XMLUI and it is <em>still</em> present&hellip;</li>
|
||||||
|
</ul></description>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>April, 2019</title>
|
<title>April, 2019</title>
|
||||||
<link>https://alanorth.github.io/cgspace-notes/2019-04/</link>
|
<link>https://alanorth.github.io/cgspace-notes/2019-04/</link>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Posts"/>
|
<meta name="twitter:title" content="Posts"/>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-04-01T09:00:43\x2b03:00",
|
"dateModified": "2019-05-01T07:37:43\x2b03:00",
|
||||||
"keywords": "notes,notes,",
|
"keywords": "notes,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -89,6 +89,38 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-07/">July, 2018</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2018-07-01T12:56:54+03:00">Sun Jul 01, 2018</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2018-07-01">2018-07-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ pg_dump -b -v -o --format=custom -U dspace -f dspace-2018-07-01.backup dspace
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>During the <code>mvn package</code> stage on the 5.8 branch I kept getting issues with java running out of memory:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>There is insufficient memory for the Java Runtime Environment to continue.
|
||||||
|
</code></pre>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2018-07/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-06/">June, 2018</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-06/">June, 2018</a></h2>
|
||||||
@ -419,24 +451,6 @@ COPY 54701
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/cgiar-library-migration/">CGIAR Library Migration</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2017-09-18T16:38:35+03:00">Mon Sep 18, 2017</time> by Alan Orth in
|
|
||||||
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<p>Rough notes for importing the CGIAR Library content. It was decided that this content would go to a new top-level community called <em>CGIAR System Organization</em>.</p>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/cgiar-library-migration/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/posts/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/posts/" rel="prev" role="button">Previous page</a>
|
||||||
@ -461,16 +475,16 @@ COPY 54701
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Posts"/>
|
<meta name="twitter:title" content="Posts"/>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-04-01T09:00:43\x2b03:00",
|
"dateModified": "2019-05-01T07:37:43\x2b03:00",
|
||||||
"keywords": "notes,notes,",
|
"keywords": "notes,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -89,6 +89,24 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/cgiar-library-migration/">CGIAR Library Migration</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2017-09-18T16:38:35+03:00">Mon Sep 18, 2017</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<p>Rough notes for importing the CGIAR Library content. It was decided that this content would go to a new top-level community called <em>CGIAR System Organization</em>.</p>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/cgiar-library-migration/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-09/">September, 2017</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-09/">September, 2017</a></h2>
|
||||||
@ -357,42 +375,6 @@ DELETE 1
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-12/">December, 2016</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2016-12-02T10:43:00+03:00">Fri Dec 02, 2016</time> by Alan Orth in
|
|
||||||
|
|
||||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2016-12-02">2016-12-02</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>CGSpace was down for five hours in the morning while I was sleeping</li>
|
|
||||||
<li>While looking in the logs for errors, I see tons of warnings about Atmire MQM:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<pre><code>2016-12-02 03:00:32,352 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=CREATE, SubjectType=BUNDLE, SubjectID=70316, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632305, dispatcher=1544803905, detail=[null], transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=MODIFY_METADATA, SubjectType=BUNDLE, SubjectID =70316, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632309, dispatcher=1544803905, detail="dc.title", transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=ADD, SubjectType=ITEM, SubjectID=80044, Object Type=BUNDLE, ObjectID=70316, TimeStamp=1480647632311, dispatcher=1544803905, detail="THUMBNAIL", transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=ADD, SubjectType=BUNDLE, SubjectID=70316, Obje ctType=BITSTREAM, ObjectID=86715, TimeStamp=1480647632318, dispatcher=1544803905, detail="-1", transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=MODIFY, SubjectType=ITEM, SubjectID=80044, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632351, dispatcher=1544803905, detail=[null], transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>I see thousands of them in the logs for the last few months, so it’s not related to the DSpace 5.5 upgrade</li>
|
|
||||||
<li>I’ve raised a ticket with Atmire to ask</li>
|
|
||||||
<li>Another worrying error from dspace.log is:</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2016-12/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/posts/page/2/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/posts/page/2/" rel="prev" role="button">Previous page</a>
|
||||||
@ -417,16 +399,16 @@ DELETE 1
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Posts"/>
|
<meta name="twitter:title" content="Posts"/>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-04-01T09:00:43\x2b03:00",
|
"dateModified": "2019-05-01T07:37:43\x2b03:00",
|
||||||
"keywords": "notes,notes,",
|
"keywords": "notes,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -89,6 +89,42 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-12/">December, 2016</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2016-12-02T10:43:00+03:00">Fri Dec 02, 2016</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2016-12-02">2016-12-02</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>CGSpace was down for five hours in the morning while I was sleeping</li>
|
||||||
|
<li>While looking in the logs for errors, I see tons of warnings about Atmire MQM:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>2016-12-02 03:00:32,352 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=CREATE, SubjectType=BUNDLE, SubjectID=70316, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632305, dispatcher=1544803905, detail=[null], transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=MODIFY_METADATA, SubjectType=BUNDLE, SubjectID =70316, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632309, dispatcher=1544803905, detail="dc.title", transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=ADD, SubjectType=ITEM, SubjectID=80044, Object Type=BUNDLE, ObjectID=70316, TimeStamp=1480647632311, dispatcher=1544803905, detail="THUMBNAIL", transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=ADD, SubjectType=BUNDLE, SubjectID=70316, Obje ctType=BITSTREAM, ObjectID=86715, TimeStamp=1480647632318, dispatcher=1544803905, detail="-1", transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=MODIFY, SubjectType=ITEM, SubjectID=80044, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632351, dispatcher=1544803905, detail=[null], transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>I see thousands of them in the logs for the last few months, so it’s not related to the DSpace 5.5 upgrade</li>
|
||||||
|
<li>I’ve raised a ticket with Atmire to ask</li>
|
||||||
|
<li>Another worrying error from dspace.log is:</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2016-12/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-11/">November, 2016</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-11/">November, 2016</a></h2>
|
||||||
@ -344,37 +380,6 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-02/">February, 2016</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2016-02-05T13:18:00+03:00">Fri Feb 05, 2016</time> by Alan Orth in
|
|
||||||
|
|
||||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2016-02-05">2016-02-05</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Looking at some DAGRIS data for Abenet Yabowork</li>
|
|
||||||
<li>Lots of issues with spaces, newlines, etc causing the import to fail</li>
|
|
||||||
<li>I noticed we have a very <em>interesting</em> list of countries on CGSpace:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p><img src="/cgspace-notes/2016/02/cgspace-countries.png" alt="CGSpace country list" /></p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Not only are there 49,000 countries, we have some blanks (25)…</li>
|
|
||||||
<li>Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE”</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2016-02/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/posts/page/3/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/posts/page/3/" rel="prev" role="button">Previous page</a>
|
||||||
@ -399,16 +404,16 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Posts"/>
|
<meta name="twitter:title" content="Posts"/>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-04-01T09:00:43\x2b03:00",
|
"dateModified": "2019-05-01T07:37:43\x2b03:00",
|
||||||
"keywords": "notes,notes,",
|
"keywords": "notes,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -89,6 +89,37 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-02/">February, 2016</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2016-02-05T13:18:00+03:00">Fri Feb 05, 2016</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2016-02-05">2016-02-05</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Looking at some DAGRIS data for Abenet Yabowork</li>
|
||||||
|
<li>Lots of issues with spaces, newlines, etc causing the import to fail</li>
|
||||||
|
<li>I noticed we have a very <em>interesting</em> list of countries on CGSpace:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p><img src="/cgspace-notes/2016/02/cgspace-countries.png" alt="CGSpace country list" /></p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Not only are there 49,000 countries, we have some blanks (25)…</li>
|
||||||
|
<li>Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE”</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2016-02/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-01/">January, 2016</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-01/">January, 2016</a></h2>
|
||||||
@ -193,16 +224,16 @@
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
User-agent: *
|
User-agent: *
|
||||||
|
|
||||||
|
|
||||||
Disallow: /cgspace-notes/2019-04/
|
|
||||||
Disallow: /cgspace-notes/
|
Disallow: /cgspace-notes/
|
||||||
|
Disallow: /cgspace-notes/2019-05/
|
||||||
Disallow: /cgspace-notes/tags/notes/
|
Disallow: /cgspace-notes/tags/notes/
|
||||||
Disallow: /cgspace-notes/posts/
|
Disallow: /cgspace-notes/posts/
|
||||||
Disallow: /cgspace-notes/tags/
|
Disallow: /cgspace-notes/tags/
|
||||||
|
Disallow: /cgspace-notes/2019-04/
|
||||||
Disallow: /cgspace-notes/2019-03/
|
Disallow: /cgspace-notes/2019-03/
|
||||||
Disallow: /cgspace-notes/2019-02/
|
Disallow: /cgspace-notes/2019-02/
|
||||||
Disallow: /cgspace-notes/2019-01/
|
Disallow: /cgspace-notes/2019-01/
|
||||||
|
@ -2,35 +2,40 @@
|
|||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
<url>
|
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2019-04/</loc>
|
|
||||||
<lastmod>2019-04-28T19:07:51+03:00</lastmod>
|
|
||||||
</url>
|
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||||
<lastmod>2019-04-28T19:07:51+03:00</lastmod>
|
<lastmod>2019-05-01T07:37:43+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://alanorth.github.io/cgspace-notes/2019-05/</loc>
|
||||||
|
<lastmod>2019-05-01T07:37:43+03:00</lastmod>
|
||||||
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
||||||
<lastmod>2019-04-28T19:07:51+03:00</lastmod>
|
<lastmod>2019-05-01T07:37:43+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
||||||
<lastmod>2019-04-28T19:07:51+03:00</lastmod>
|
<lastmod>2019-05-01T07:37:43+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
|
||||||
<lastmod>2019-04-28T19:07:51+03:00</lastmod>
|
<lastmod>2019-05-01T07:37:43+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://alanorth.github.io/cgspace-notes/2019-04/</loc>
|
||||||
|
<lastmod>2019-04-30T11:39:09+03:00</lastmod>
|
||||||
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2019-03/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/2019-03/</loc>
|
||||||
<lastmod>2019-04-01T17:02:54+03:00</lastmod>
|
<lastmod>2019-04-01T17:02:54+03:00</lastmod>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Tags"/>
|
<meta name="twitter:title" content="Tags"/>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-04-01T09:00:43\x2b03:00",
|
"dateModified": "2019-05-01T07:37:43\x2b03:00",
|
||||||
"keywords": "notes,notes,",
|
"keywords": "notes,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -89,6 +89,43 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2019-05/">May, 2019</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2019-05-01T07:37:43+03:00">Wed May 01, 2019</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2019-05-01">2019-05-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Help CCAFS with regenerating some item thumbnails after they uploaded new PDFs to some items on CGSpace</li>
|
||||||
|
<li>A user on the dspace-tech mailing list offered some suggestions for troubleshooting the problem with the inability to delete certain items
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Apparently if the item is in the <code>workflowitem</code> table it is submitted to a workflow</li>
|
||||||
|
<li>And if it is in the <code>workspaceitem</code> table it is in the pre-submitted state</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>The item seems to be in a pre-submitted state, so I tried to delete it from there:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# DELETE FROM workspaceitem WHERE item_id=74648;
|
||||||
|
DELETE 1
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>But after this I tried to delete the item from the XMLUI and it is <em>still</em> present…</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2019-05/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2019-04/">April, 2019</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2019-04/">April, 2019</a></h2>
|
||||||
@ -397,38 +434,6 @@ sys 0m1.979s
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-07/">July, 2018</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2018-07-01T12:56:54+03:00">Sun Jul 01, 2018</time> by Alan Orth in
|
|
||||||
|
|
||||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2018-07-01">2018-07-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<pre><code>$ pg_dump -b -v -o --format=custom -U dspace -f dspace-2018-07-01.backup dspace
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>During the <code>mvn package</code> stage on the 5.8 branch I kept getting issues with java running out of memory:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<pre><code>There is insufficient memory for the Java Runtime Environment to continue.
|
|
||||||
</code></pre>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2018-07/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
@ -453,16 +458,16 @@ sys 0m1.979s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<description>Recent content in Tags on CGSpace Notes</description>
|
<description>Recent content in Tags on CGSpace Notes</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
<language>en-us</language>
|
<language>en-us</language>
|
||||||
<lastBuildDate>Mon, 01 Apr 2019 09:00:43 +0300</lastBuildDate>
|
<lastBuildDate>Wed, 01 May 2019 07:37:43 +0300</lastBuildDate>
|
||||||
|
|
||||||
<atom:link href="https://alanorth.github.io/cgspace-notes/tags/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="https://alanorth.github.io/cgspace-notes/tags/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
|
||||||
@ -14,7 +14,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<title>Notes</title>
|
<title>Notes</title>
|
||||||
<link>https://alanorth.github.io/cgspace-notes/tags/notes/</link>
|
<link>https://alanorth.github.io/cgspace-notes/tags/notes/</link>
|
||||||
<pubDate>Mon, 01 Apr 2019 09:00:43 +0300</pubDate>
|
<pubDate>Wed, 01 May 2019 07:37:43 +0300</pubDate>
|
||||||
|
|
||||||
<guid>https://alanorth.github.io/cgspace-notes/tags/notes/</guid>
|
<guid>https://alanorth.github.io/cgspace-notes/tags/notes/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Notes"/>
|
<meta name="twitter:title" content="Notes"/>
|
||||||
@ -74,6 +74,43 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2019-05/">May, 2019</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2019-05-01T07:37:43+03:00">Wed May 01, 2019</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2019-05-01">2019-05-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Help CCAFS with regenerating some item thumbnails after they uploaded new PDFs to some items on CGSpace</li>
|
||||||
|
<li>A user on the dspace-tech mailing list offered some suggestions for troubleshooting the problem with the inability to delete certain items
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Apparently if the item is in the <code>workflowitem</code> table it is submitted to a workflow</li>
|
||||||
|
<li>And if it is in the <code>workspaceitem</code> table it is in the pre-submitted state</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>The item seems to be in a pre-submitted state, so I tried to delete it from there:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# DELETE FROM workspaceitem WHERE item_id=74648;
|
||||||
|
DELETE 1
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>But after this I tried to delete the item from the XMLUI and it is <em>still</em> present…</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2019-05/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2019-04/">April, 2019</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2019-04/">April, 2019</a></h2>
|
||||||
@ -382,38 +419,6 @@ sys 0m1.979s
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-07/">July, 2018</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2018-07-01T12:56:54+03:00">Sun Jul 01, 2018</time> by Alan Orth in
|
|
||||||
|
|
||||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2018-07-01">2018-07-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<pre><code>$ pg_dump -b -v -o --format=custom -U dspace -f dspace-2018-07-01.backup dspace
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>During the <code>mvn package</code> stage on the 5.8 branch I kept getting issues with java running out of memory:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<pre><code>There is insufficient memory for the Java Runtime Environment to continue.
|
|
||||||
</code></pre>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2018-07/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
@ -438,16 +443,16 @@ sys 0m1.979s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -6,11 +6,39 @@
|
|||||||
<description>Recent content in Notes on CGSpace Notes</description>
|
<description>Recent content in Notes on CGSpace Notes</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
<language>en-us</language>
|
<language>en-us</language>
|
||||||
<lastBuildDate>Mon, 01 Apr 2019 09:00:43 +0300</lastBuildDate>
|
<lastBuildDate>Wed, 01 May 2019 07:37:43 +0300</lastBuildDate>
|
||||||
|
|
||||||
<atom:link href="https://alanorth.github.io/cgspace-notes/tags/notes/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="https://alanorth.github.io/cgspace-notes/tags/notes/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>May, 2019</title>
|
||||||
|
<link>https://alanorth.github.io/cgspace-notes/2019-05/</link>
|
||||||
|
<pubDate>Wed, 01 May 2019 07:37:43 +0300</pubDate>
|
||||||
|
|
||||||
|
<guid>https://alanorth.github.io/cgspace-notes/2019-05/</guid>
|
||||||
|
<description><h2 id="2019-05-01">2019-05-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Help CCAFS with regenerating some item thumbnails after they uploaded new PDFs to some items on CGSpace</li>
|
||||||
|
<li>A user on the dspace-tech mailing list offered some suggestions for troubleshooting the problem with the inability to delete certain items
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Apparently if the item is in the <code>workflowitem</code> table it is submitted to a workflow</li>
|
||||||
|
<li>And if it is in the <code>workspaceitem</code> table it is in the pre-submitted state</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>The item seems to be in a pre-submitted state, so I tried to delete it from there:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# DELETE FROM workspaceitem WHERE item_id=74648;
|
||||||
|
DELETE 1
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>But after this I tried to delete the item from the XMLUI and it is <em>still</em> present&hellip;</li>
|
||||||
|
</ul></description>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>April, 2019</title>
|
<title>April, 2019</title>
|
||||||
<link>https://alanorth.github.io/cgspace-notes/2019-04/</link>
|
<link>https://alanorth.github.io/cgspace-notes/2019-04/</link>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Notes"/>
|
<meta name="twitter:title" content="Notes"/>
|
||||||
@ -74,6 +74,38 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-07/">July, 2018</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2018-07-01T12:56:54+03:00">Sun Jul 01, 2018</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2018-07-01">2018-07-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ pg_dump -b -v -o --format=custom -U dspace -f dspace-2018-07-01.backup dspace
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>During the <code>mvn package</code> stage on the 5.8 branch I kept getting issues with java running out of memory:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>There is insufficient memory for the Java Runtime Environment to continue.
|
||||||
|
</code></pre>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2018-07/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-06/">June, 2018</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-06/">June, 2018</a></h2>
|
||||||
@ -404,34 +436,6 @@ COPY 54701
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-09/">September, 2017</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2017-09-07T16:54:52+07:00">Thu Sep 07, 2017</time> by Alan Orth in
|
|
||||||
|
|
||||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2017-09-06">2017-09-06</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Linode sent an alert that CGSpace (linode18) was using 261% CPU for the past two hours</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2 id="2017-09-07">2017-09-07</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Ask Sisay to clean up the WLE approvers a bit, as Marianne’s user account is both in the approvers step as well as the group</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2017-09/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/notes/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/notes/" rel="prev" role="button">Previous page</a>
|
||||||
@ -456,16 +460,16 @@ COPY 54701
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Notes"/>
|
<meta name="twitter:title" content="Notes"/>
|
||||||
@ -74,6 +74,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-09/">September, 2017</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2017-09-07T16:54:52+07:00">Thu Sep 07, 2017</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2017-09-06">2017-09-06</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Linode sent an alert that CGSpace (linode18) was using 261% CPU for the past two hours</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2017-09-07">2017-09-07</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Ask Sisay to clean up the WLE approvers a bit, as Marianne’s user account is both in the approvers step as well as the group</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2017-09/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-08/">August, 2017</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-08/">August, 2017</a></h2>
|
||||||
@ -350,30 +378,6 @@ DELETE 1
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-11/">November, 2016</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2016-11-01T09:21:00+03:00">Tue Nov 01, 2016</time> by Alan Orth in
|
|
||||||
|
|
||||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2016-11-01">2016-11-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Add <code>dc.type</code> to the output options for Atmire’s Listings and Reports module (<a href="https://github.com/ilri/DSpace/pull/286">#286</a>)</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p><img src="/cgspace-notes/2016/11/listings-and-reports.png" alt="Listings and Reports with output type" /></p>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2016-11/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/notes/page/2/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/notes/page/2/" rel="prev" role="button">Previous page</a>
|
||||||
@ -398,16 +402,16 @@ DELETE 1
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Notes"/>
|
<meta name="twitter:title" content="Notes"/>
|
||||||
@ -74,6 +74,30 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-11/">November, 2016</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2016-11-01T09:21:00+03:00">Tue Nov 01, 2016</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2016-11-01">2016-11-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Add <code>dc.type</code> to the output options for Atmire’s Listings and Reports module (<a href="https://github.com/ilri/DSpace/pull/286">#286</a>)</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p><img src="/cgspace-notes/2016/11/listings-and-reports.png" alt="Listings and Reports with output type" /></p>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2016-11/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-10/">October, 2016</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-10/">October, 2016</a></h2>
|
||||||
@ -336,30 +360,6 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-01/">January, 2016</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2016-01-13T13:18:00+03:00">Wed Jan 13, 2016</time> by Alan Orth in
|
|
||||||
|
|
||||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2016-01-13">2016-01-13</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Move ILRI collection <code>10568/12503</code> from <code>10568/27869</code> to <code>10568/27629</code> using the <a href="https://gist.github.com/alanorth/392c4660e8b022d99dfa">move_collections.sh</a> script I wrote last year.</li>
|
|
||||||
<li>I realized it is only necessary to clear the Cocoon cache after moving collections—rather than reindexing—as no metadata has changed, and therefore no search or browse indexes need to be updated.</li>
|
|
||||||
<li>Update GitHub wiki for documentation of <a href="https://github.com/ilri/DSpace/wiki/Maintenance-Tasks">maintenance tasks</a>.</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2016-01/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/notes/page/3/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/notes/page/3/" rel="prev" role="button">Previous page</a>
|
||||||
@ -384,16 +384,16 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Notes"/>
|
<meta name="twitter:title" content="Notes"/>
|
||||||
@ -74,6 +74,30 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-01/">January, 2016</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2016-01-13T13:18:00+03:00">Wed Jan 13, 2016</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2016-01-13">2016-01-13</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Move ILRI collection <code>10568/12503</code> from <code>10568/27869</code> to <code>10568/27629</code> using the <a href="https://gist.github.com/alanorth/392c4660e8b022d99dfa">move_collections.sh</a> script I wrote last year.</li>
|
||||||
|
<li>I realized it is only necessary to clear the Cocoon cache after moving collections—rather than reindexing—as no metadata has changed, and therefore no search or browse indexes need to be updated.</li>
|
||||||
|
<li>Update GitHub wiki for documentation of <a href="https://github.com/ilri/DSpace/wiki/Maintenance-Tasks">maintenance tasks</a>.</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2016-01/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2015-12/">December, 2015</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2015-12/">December, 2015</a></h2>
|
||||||
@ -154,16 +178,16 @@
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Tags"/>
|
<meta name="twitter:title" content="Tags"/>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-04-01T09:00:43\x2b03:00",
|
"dateModified": "2019-05-01T07:37:43\x2b03:00",
|
||||||
"keywords": "notes,notes,",
|
"keywords": "notes,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -89,6 +89,38 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-07/">July, 2018</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2018-07-01T12:56:54+03:00">Sun Jul 01, 2018</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2018-07-01">2018-07-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ pg_dump -b -v -o --format=custom -U dspace -f dspace-2018-07-01.backup dspace
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>During the <code>mvn package</code> stage on the 5.8 branch I kept getting issues with java running out of memory:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>There is insufficient memory for the Java Runtime Environment to continue.
|
||||||
|
</code></pre>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2018-07/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-06/">June, 2018</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2018-06/">June, 2018</a></h2>
|
||||||
@ -419,24 +451,6 @@ COPY 54701
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/cgiar-library-migration/">CGIAR Library Migration</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2017-09-18T16:38:35+03:00">Mon Sep 18, 2017</time> by Alan Orth in
|
|
||||||
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<p>Rough notes for importing the CGIAR Library content. It was decided that this content would go to a new top-level community called <em>CGIAR System Organization</em>.</p>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/cgiar-library-migration/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/" rel="prev" role="button">Previous page</a>
|
||||||
@ -461,16 +475,16 @@ COPY 54701
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Tags"/>
|
<meta name="twitter:title" content="Tags"/>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-04-01T09:00:43\x2b03:00",
|
"dateModified": "2019-05-01T07:37:43\x2b03:00",
|
||||||
"keywords": "notes,notes,",
|
"keywords": "notes,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -89,6 +89,24 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/cgiar-library-migration/">CGIAR Library Migration</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2017-09-18T16:38:35+03:00">Mon Sep 18, 2017</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<p>Rough notes for importing the CGIAR Library content. It was decided that this content would go to a new top-level community called <em>CGIAR System Organization</em>.</p>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/cgiar-library-migration/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-09/">September, 2017</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-09/">September, 2017</a></h2>
|
||||||
@ -357,42 +375,6 @@ DELETE 1
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-12/">December, 2016</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2016-12-02T10:43:00+03:00">Fri Dec 02, 2016</time> by Alan Orth in
|
|
||||||
|
|
||||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2016-12-02">2016-12-02</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>CGSpace was down for five hours in the morning while I was sleeping</li>
|
|
||||||
<li>While looking in the logs for errors, I see tons of warnings about Atmire MQM:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<pre><code>2016-12-02 03:00:32,352 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=CREATE, SubjectType=BUNDLE, SubjectID=70316, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632305, dispatcher=1544803905, detail=[null], transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=MODIFY_METADATA, SubjectType=BUNDLE, SubjectID =70316, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632309, dispatcher=1544803905, detail="dc.title", transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=ADD, SubjectType=ITEM, SubjectID=80044, Object Type=BUNDLE, ObjectID=70316, TimeStamp=1480647632311, dispatcher=1544803905, detail="THUMBNAIL", transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=ADD, SubjectType=BUNDLE, SubjectID=70316, Obje ctType=BITSTREAM, ObjectID=86715, TimeStamp=1480647632318, dispatcher=1544803905, detail="-1", transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=MODIFY, SubjectType=ITEM, SubjectID=80044, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632351, dispatcher=1544803905, detail=[null], transactionID="TX157907838689377964651674089851855413607")
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>I see thousands of them in the logs for the last few months, so it’s not related to the DSpace 5.5 upgrade</li>
|
|
||||||
<li>I’ve raised a ticket with Atmire to ask</li>
|
|
||||||
<li>Another worrying error from dspace.log is:</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2016-12/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/page/2/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/page/2/" rel="prev" role="button">Previous page</a>
|
||||||
@ -417,16 +399,16 @@ DELETE 1
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Tags"/>
|
<meta name="twitter:title" content="Tags"/>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-04-01T09:00:43\x2b03:00",
|
"dateModified": "2019-05-01T07:37:43\x2b03:00",
|
||||||
"keywords": "notes,notes,",
|
"keywords": "notes,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -89,6 +89,42 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-12/">December, 2016</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2016-12-02T10:43:00+03:00">Fri Dec 02, 2016</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2016-12-02">2016-12-02</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>CGSpace was down for five hours in the morning while I was sleeping</li>
|
||||||
|
<li>While looking in the logs for errors, I see tons of warnings about Atmire MQM:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>2016-12-02 03:00:32,352 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=CREATE, SubjectType=BUNDLE, SubjectID=70316, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632305, dispatcher=1544803905, detail=[null], transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=MODIFY_METADATA, SubjectType=BUNDLE, SubjectID =70316, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632309, dispatcher=1544803905, detail="dc.title", transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=ADD, SubjectType=ITEM, SubjectID=80044, Object Type=BUNDLE, ObjectID=70316, TimeStamp=1480647632311, dispatcher=1544803905, detail="THUMBNAIL", transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=ADD, SubjectType=BUNDLE, SubjectID=70316, Obje ctType=BITSTREAM, ObjectID=86715, TimeStamp=1480647632318, dispatcher=1544803905, detail="-1", transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
2016-12-02 03:00:32,353 WARN com.atmire.metadataquality.batchedit.BatchEditConsumer @ BatchEditConsumer should not have been given this kind of Subject in an event, skipping: org.dspace.event.Event(eventType=MODIFY, SubjectType=ITEM, SubjectID=80044, ObjectType=(Unknown), ObjectID=-1, TimeStamp=1480647632351, dispatcher=1544803905, detail=[null], transactionID="TX157907838689377964651674089851855413607")
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>I see thousands of them in the logs for the last few months, so it’s not related to the DSpace 5.5 upgrade</li>
|
||||||
|
<li>I’ve raised a ticket with Atmire to ask</li>
|
||||||
|
<li>Another worrying error from dspace.log is:</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2016-12/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-11/">November, 2016</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-11/">November, 2016</a></h2>
|
||||||
@ -344,37 +380,6 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-02/">February, 2016</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2016-02-05T13:18:00+03:00">Fri Feb 05, 2016</time> by Alan Orth in
|
|
||||||
|
|
||||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2016-02-05">2016-02-05</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Looking at some DAGRIS data for Abenet Yabowork</li>
|
|
||||||
<li>Lots of issues with spaces, newlines, etc causing the import to fail</li>
|
|
||||||
<li>I noticed we have a very <em>interesting</em> list of countries on CGSpace:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p><img src="/cgspace-notes/2016/02/cgspace-countries.png" alt="CGSpace country list" /></p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Not only are there 49,000 countries, we have some blanks (25)…</li>
|
|
||||||
<li>Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE”</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2016-02/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/page/3/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/page/3/" rel="prev" role="button">Previous page</a>
|
||||||
@ -399,16 +404,16 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="og:updated_time" content="2019-05-01T07:37:43+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Tags"/>
|
<meta name="twitter:title" content="Tags"/>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-04-01T09:00:43\x2b03:00",
|
"dateModified": "2019-05-01T07:37:43\x2b03:00",
|
||||||
"keywords": "notes,notes,",
|
"keywords": "notes,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -89,6 +89,37 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-02/">February, 2016</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2016-02-05T13:18:00+03:00">Fri Feb 05, 2016</time> by Alan Orth in
|
||||||
|
|
||||||
|
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2016-02-05">2016-02-05</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Looking at some DAGRIS data for Abenet Yabowork</li>
|
||||||
|
<li>Lots of issues with spaces, newlines, etc causing the import to fail</li>
|
||||||
|
<li>I noticed we have a very <em>interesting</em> list of countries on CGSpace:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p><img src="/cgspace-notes/2016/02/cgspace-countries.png" alt="CGSpace country list" /></p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Not only are there 49,000 countries, we have some blanks (25)…</li>
|
||||||
|
<li>Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE”</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2016-02/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-01/">January, 2016</a></h2>
|
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-01/">January, 2016</a></h2>
|
||||||
@ -193,16 +224,16 @@
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-05/">May, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
<li><a href="/cgspace-notes/posts/">Posts</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-04/">April, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user