From b6c03e1ab6a896a436358ead2a956135cf48461d Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 7 Feb 2017 07:07:44 -0800 Subject: [PATCH] Add notes for 2017-02-07 --- content/post/2017-02.md | 24 +++ public/2015-11/index.html | 4 +- public/2015-12/index.html | 4 +- public/2016-01/index.html | 4 +- public/2016-02/index.html | 4 +- public/2016-03/index.html | 4 +- public/2016-04/index.html | 4 +- public/2016-05/index.html | 4 +- public/2016-06/index.html | 4 +- public/2016-07/index.html | 4 +- public/2016-08/index.html | 4 +- public/2016-09/index.html | 4 +- public/2016-10/index.html | 4 +- public/2016-11/index.html | 4 +- public/2016-12/index.html | 4 +- public/2017-01/index.html | 4 +- public/2017-02/index.html | 247 ++++++++++++++++++++++++++++ public/index.html | 67 ++++---- public/index.xml | 182 +++----------------- public/page/2/index.html | 34 +++- public/post/index.html | 67 ++++---- public/post/index.xml | 182 +++----------------- public/post/page/2/index.html | 34 +++- public/robots.txt | 1 + public/sitemap.xml | 11 +- public/tags/notes/index.html | 67 ++++---- public/tags/notes/index.xml | 180 +++----------------- public/tags/notes/page/2/index.html | 34 +++- 28 files changed, 591 insertions(+), 599 deletions(-) create mode 100644 content/post/2017-02.md create mode 100644 public/2017-02/index.html diff --git a/content/post/2017-02.md b/content/post/2017-02.md new file mode 100644 index 000000000..1cdfd17cd --- /dev/null +++ b/content/post/2017-02.md @@ -0,0 +1,24 @@ ++++ +date = "2017-02-07T07:04:52-08:00" +author = "Alan Orth" +title = "February, 2017" +tags = ["Notes"] + ++++ +## 2017-02-07 + +- An item was mapped twice erroneously again, so I had to remove one of the mappings manually: + +``` +dspace=# select * from collection2item where item_id = '80278'; + id | collection_id | item_id +-------+---------------+--------- + 92551 | 313 | 80278 + 92550 | 313 | 80278 + 90774 | 1051 | 80278 +(3 rows) +dspace=# delete from collection2item where id = 92551 and item_id = 80278; +DELETE 1 +``` + + diff --git a/public/2015-11/index.html b/public/2015-11/index.html index ca4c61ed5..a9af3c92c 100644 --- a/public/2015-11/index.html +++ b/public/2015-11/index.html @@ -314,6 +314,8 @@ db.statementpool = true

Recent Posts

    +
  1. February, 2017
  2. +
  3. January, 2017
  4. December, 2016
  5. @@ -322,8 +324,6 @@ db.statementpool = true
  6. October, 2016
  7. -
  8. September, 2016
  9. -
diff --git a/public/2015-12/index.html b/public/2015-12/index.html index 9f4a8978d..ab6f25460 100644 --- a/public/2015-12/index.html +++ b/public/2015-12/index.html @@ -331,6 +331,8 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle

Recent Posts

    +
  1. February, 2017
  2. +
  3. January, 2017
  4. December, 2016
  5. @@ -339,8 +341,6 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
  6. October, 2016
  7. -
  8. September, 2016
  9. -
diff --git a/public/2016-01/index.html b/public/2016-01/index.html index e5f31f93e..8e0e13c3b 100644 --- a/public/2016-01/index.html +++ b/public/2016-01/index.html @@ -246,6 +246,8 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} \; | so

Recent Posts

    +
  1. February, 2017
  2. +
  3. January, 2017
  4. December, 2016
  5. @@ -254,8 +256,6 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} \; | so
  6. October, 2016
  7. -
  8. September, 2016
  9. -
diff --git a/public/2016-02/index.html b/public/2016-02/index.html index 0b80f4e46..3d8aa3404 100644 --- a/public/2016-02/index.html +++ b/public/2016-02/index.html @@ -499,6 +499,8 @@ Bitstream: tést señora alimentación.pdf

Recent Posts

    +
  1. February, 2017
  2. +
  3. January, 2017
  4. December, 2016
  5. @@ -507,8 +509,6 @@ Bitstream: tést señora alimentación.pdf
  6. October, 2016
  7. -
  8. September, 2016
  9. -
diff --git a/public/2016-03/index.html b/public/2016-03/index.html index 66ffde3ec..d0cd0bc8a 100644 --- a/public/2016-03/index.html +++ b/public/2016-03/index.html @@ -399,6 +399,8 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja

Recent Posts

    +
  1. February, 2017
  2. +
  3. January, 2017
  4. December, 2016
  5. @@ -407,8 +409,6 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
  6. October, 2016
  7. -
  8. September, 2016
  9. -
diff --git a/public/2016-04/index.html b/public/2016-04/index.html index cb7215c38..723aeccac 100644 --- a/public/2016-04/index.html +++ b/public/2016-04/index.html @@ -616,6 +616,8 @@ dspace.log.2016-04-27:7271

Recent Posts

    +
  1. February, 2017
  2. +
  3. January, 2017
  4. December, 2016
  5. @@ -624,8 +626,6 @@ dspace.log.2016-04-27:7271
  6. October, 2016
  7. -
  8. September, 2016
  9. -
diff --git a/public/2016-05/index.html b/public/2016-05/index.html index 4f0d22fdf..88f0d7192 100644 --- a/public/2016-05/index.html +++ b/public/2016-05/index.html @@ -466,6 +466,8 @@ sys 0m20.540s

Recent Posts

    +
  1. February, 2017
  2. +
  3. January, 2017
  4. December, 2016
  5. @@ -474,8 +476,6 @@ sys 0m20.540s
  6. October, 2016
  7. -
  8. September, 2016
  9. -
diff --git a/public/2016-06/index.html b/public/2016-06/index.html index 65bbe2e8e..96cd654ce 100644 --- a/public/2016-06/index.html +++ b/public/2016-06/index.html @@ -511,6 +511,8 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D

Recent Posts

    +
  1. February, 2017
  2. +
  3. January, 2017
  4. December, 2016
  5. @@ -519,8 +521,6 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
  6. October, 2016
  7. -
  8. September, 2016
  9. -
diff --git a/public/2016-07/index.html b/public/2016-07/index.html index d7abf4a24..72ed7dff8 100644 --- a/public/2016-07/index.html +++ b/public/2016-07/index.html @@ -429,6 +429,8 @@ discovery.index.authority.ignore-variants=true

Recent Posts

    +
  1. February, 2017
  2. +
  3. January, 2017
  4. December, 2016
  5. @@ -437,8 +439,6 @@ discovery.index.authority.ignore-variants=true
  6. October, 2016
  7. -
  8. September, 2016
  9. -
diff --git a/public/2016-08/index.html b/public/2016-08/index.html index 39f463232..56f42d98b 100644 --- a/public/2016-08/index.html +++ b/public/2016-08/index.html @@ -502,6 +502,8 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/b

Recent Posts

    +
  1. February, 2017
  2. +
  3. January, 2017
  4. December, 2016
  5. @@ -510,8 +512,6 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/b
  6. October, 2016
  7. -
  8. September, 2016
  9. -
diff --git a/public/2016-09/index.html b/public/2016-09/index.html index c09098747..080db4b3f 100644 --- a/public/2016-09/index.html +++ b/public/2016-09/index.html @@ -802,6 +802,8 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -

Recent Posts

    +
  1. February, 2017
  2. +
  3. January, 2017
  4. December, 2016
  5. @@ -810,8 +812,6 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
  6. October, 2016
  7. -
  8. September, 2016
  9. -
diff --git a/public/2016-10/index.html b/public/2016-10/index.html index fd24e025c..0a605f61e 100644 --- a/public/2016-10/index.html +++ b/public/2016-10/index.html @@ -488,6 +488,8 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:

Recent Posts

    +
  1. February, 2017
  2. +
  3. January, 2017
  4. December, 2016
  5. @@ -496,8 +498,6 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:
  6. October, 2016
  7. -
  8. September, 2016
  9. -
diff --git a/public/2016-11/index.html b/public/2016-11/index.html index cc2e29392..78873882d 100644 --- a/public/2016-11/index.html +++ b/public/2016-11/index.html @@ -704,6 +704,8 @@ org.dspace.discovery.SearchServiceException: Error executing query

Recent Posts

    +
  1. February, 2017
  2. +
  3. January, 2017
  4. December, 2016
  5. @@ -712,8 +714,6 @@ org.dspace.discovery.SearchServiceException: Error executing query
  6. October, 2016
  7. -
  8. September, 2016
  9. -
diff --git a/public/2016-12/index.html b/public/2016-12/index.html index 28d37e532..f4c0ebfa1 100644 --- a/public/2016-12/index.html +++ b/public/2016-12/index.html @@ -940,6 +940,8 @@ $ exit

Recent Posts

    +
  1. February, 2017
  2. +
  3. January, 2017
  4. December, 2016
  5. @@ -948,8 +950,6 @@ $ exit
  6. October, 2016
  7. -
  8. September, 2016
  9. -
diff --git a/public/2017-01/index.html b/public/2017-01/index.html index 81776ba93..4d33d365c 100644 --- a/public/2017-01/index.html +++ b/public/2017-01/index.html @@ -485,6 +485,8 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -

Recent Posts

    +
  1. February, 2017
  2. +
  3. January, 2017
  4. December, 2016
  5. @@ -493,8 +495,6 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
  6. October, 2016
  7. -
  8. September, 2016
  9. -
diff --git a/public/2017-02/index.html b/public/2017-02/index.html new file mode 100644 index 000000000..8c71f6c75 --- /dev/null +++ b/public/2017-02/index.html @@ -0,0 +1,247 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + February, 2017 | CGSpace Notes + + + + + + + + + + + + + + + + +
+
+ +
+
+ +
+
+

CGSpace Notes

+

Documenting day-to-day work on the CGSpace repository.

+
+
+ +
+
+
+ + + + +
+
+

February, 2017

+ +
+

2017-02-07

+ +
    +
  • An item was mapped twice erroneously again, so I had to remove one of the mappings manually:
  • +
+ +
dspace=# select * from collection2item where item_id = '80278';
+  id   | collection_id | item_id
+-------+---------------+---------
+ 92551 |           313 |   80278
+ 92550 |           313 |   80278
+ 90774 |          1051 |   80278
+(3 rows)
+dspace=# delete from collection2item where id = 92551 and item_id = 80278;
+DELETE 1
+
+ +

+ + + + + +
+ + + +
+ + + + +
+
+ + + + + + diff --git a/public/index.html b/public/index.html index a897b5040..386cf0030 100644 --- a/public/index.html +++ b/public/index.html @@ -13,7 +13,7 @@ - + @@ -43,7 +43,7 @@ }, - "dateModified": "2017-01-02T10:43:00+03:00", + "dateModified": "2017-02-07T07:04:52-08:00", @@ -105,6 +105,39 @@ +
+
+

February, 2017

+ +
+

2017-02-07

+ + + +
dspace=# select * from collection2item where item_id = '80278';
+  id   | collection_id | item_id
+-------+---------------+---------
+ 92551 |           313 |   80278
+ 92550 |           313 |   80278
+ 90774 |          1051 |   80278
+(3 rows)
+dspace=# delete from collection2item where id = 92551 and item_id = 80278;
+DELETE 1
+
+ +

+ Read more → +
+ + + +

January, 2017

@@ -371,32 +404,6 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and -
-
-

April, 2016

- -
-

2016-04-04

- -
    -
  • Looking at log file use on CGSpace and notice that we need to work on our cron setup a bit
  • -
  • We are backing up all logs in the log folder, including useless stuff like solr, cocoon, handle-plugin, etc
  • -
  • After running DSpace for over five years I’ve never needed to look in any other log file than dspace.log, leave alone one from last year!
  • -
  • This will save us a few gigs of backup space we’re paying for on S3
  • -
  • Also, I noticed the checker log has some errors we should pay attention to:
  • -
- -

- Read more → -
- - - -