diff --git a/content/posts/2021-03.md b/content/posts/2021-03.md
index fd8f2bc1d..4f0660435 100644
--- a/content/posts/2021-03.md
+++ b/content/posts/2021-03.md
@@ -101,9 +101,8 @@ value.partition(/[0-9]+\([0-9]+\)/)[1].replace(/^\d+\((\d+)\)/,"$1") # to get jo
```console
$ docker-compose -f docker/docker-compose.yml down
$ docker volume create docker_esData_7
-$ docker container create --name dummy -v docker_esData_7:/root hello-world
$ docker container create --name es_dummy -v docker_esData_7:/usr/share/elasticsearch/data:rw elasticsearch:7.6.2
-$ docker cp docker/esData_7/nodes es_dummy:/usr/share/elasticsearch/data
+$ docker cp docker/esData_7/nodes es_dummy:/usr/share/elasticsearch/data
$ docker rm es_dummy
# edit docker/docker-compose.yml to switch from bind mount to volume
$ docker-compose -f docker/docker-compose.yml up -d
@@ -118,4 +117,49 @@ $ docker-compose -f docker/docker-compose.yml up -d
$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp'
```
+## 2021-03-05
+
+- Check the results of the AReS harvesting from last night:
+
+```console
+$ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty'
+{
+ "count" : 101761,
+ "_shards" : {
+ "total" : 1,
+ "successful" : 1,
+ "skipped" : 0,
+ "failed" : 0
+ }
+}
+```
+
+- Set the current items index to read only and make a backup:
+
+```console
+$ curl -X PUT "localhost:9200/openrxv-items/_settings" -H 'Content-Type: application/json' -d' {"settings": {"index.blocks.write":true}}'
+$ curl -s -X POST http://localhost:9200/openrxv-items/_clone/openrxv-items-2021-03-05
+```
+
+- Delete the current items index and clone the temp one to it:
+
+```console
+$ curl -XDELETE 'http://localhost:9200/openrxv-items'
+$ curl -X PUT "localhost:9200/openrxv-items-temp/_settings" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": true}}'
+$ curl -s -X POST http://localhost:9200/openrxv-items-temp/_clone/openrxv-items
+```
+
+- Then delete the temp and backup:
+
+```console
+$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp'
+{"acknowledged":true}%
+$ curl -XDELETE 'http://localhost:9200/openrxv-items-2021-03-05'
+```
+
+- I made some pull requests to OpenRXV:
+ - [docker/docker-compose.yml: Use docker volumes](https://github.com/ilri/OpenRXV/pull/86)
+ - [docker/docker-compose.yml: Pin Redis to version 5](https://github.com/ilri/OpenRXV/pull/87)
+- I deployed the latest changes from the last few days on AReS production
+
diff --git a/docs/2021-03/index.html b/docs/2021-03/index.html
index 9e7b88141..2a777317c 100644
--- a/docs/2021-03/index.html
+++ b/docs/2021-03/index.html
@@ -19,7 +19,7 @@ Also, we found some issues building and running OpenRXV currently due to ecosyst
-
+
@@ -44,9 +44,9 @@ Also, we found some issues building and running OpenRXV currently due to ecosyst
"@type": "BlogPosting",
"headline": "March, 2021",
"url": "https://alanorth.github.io/cgspace-notes/2021-03/",
- "wordCount": "802",
+ "wordCount": "936",
"datePublished": "2021-03-01T10:13:54+02:00",
- "dateModified": "2021-03-04T22:46:05+02:00",
+ "dateModified": "2021-03-05T20:52:36+02:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@@ -235,9 +235,8 @@ value.partition(/[0-9]+\([0-9]+\)/)[1].replace(/^\d+\((\d+)\)/,"$1") #
$ docker-compose -f docker/docker-compose.yml down
$ docker volume create docker_esData_7
-$ docker container create --name dummy -v docker_esData_7:/root hello-world
$ docker container create --name es_dummy -v docker_esData_7:/usr/share/elasticsearch/data:rw elasticsearch:7.6.2
-$ docker cp docker/esData_7/nodes es_dummy:/usr/share/elasticsearch/data
+$ docker cp docker/esData_7/nodes es_dummy:/usr/share/elasticsearch/data
$ docker rm es_dummy
# edit docker/docker-compose.yml to switch from bind mount to volume
$ docker-compose -f docker/docker-compose.yml up -d
@@ -251,7 +250,47 @@ $ docker-compose -f docker/docker-compose.yml up -d
Delete the openrxv-items-temp
index to test a fresh harvesting:
$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp'
-
+
2021-03-05
+
+- Check the results of the AReS harvesting from last night:
+
+$ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty'
+{
+ "count" : 101761,
+ "_shards" : {
+ "total" : 1,
+ "successful" : 1,
+ "skipped" : 0,
+ "failed" : 0
+ }
+}
+
+- Set the current items index to read only and make a backup:
+
+$ curl -X PUT "localhost:9200/openrxv-items/_settings" -H 'Content-Type: application/json' -d' {"settings": {"index.blocks.write":true}}'
+$ curl -s -X POST http://localhost:9200/openrxv-items/_clone/openrxv-items-2021-03-05
+
+- Delete the current items index and clone the temp one to it:
+
+$ curl -XDELETE 'http://localhost:9200/openrxv-items'
+$ curl -X PUT "localhost:9200/openrxv-items-temp/_settings" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": true}}'
+$ curl -s -X POST http://localhost:9200/openrxv-items-temp/_clone/openrxv-items
+
+- Then delete the temp and backup:
+
+$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp'
+{"acknowledged":true}%
+$ curl -XDELETE 'http://localhost:9200/openrxv-items-2021-03-05'
+
+- I made some pull requests to OpenRXV:
+
+
+- I deployed the latest changes from the last few days on AReS production
+
+
diff --git a/docs/categories/index.html b/docs/categories/index.html
index b2d837b2f..9bb066de5 100644
--- a/docs/categories/index.html
+++ b/docs/categories/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html
index 2a13e14c9..ec2c3f468 100644
--- a/docs/categories/notes/index.html
+++ b/docs/categories/notes/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html
index fca6bff7f..052e38bc7 100644
--- a/docs/categories/notes/page/2/index.html
+++ b/docs/categories/notes/page/2/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html
index 916fd4cc6..1a303084b 100644
--- a/docs/categories/notes/page/3/index.html
+++ b/docs/categories/notes/page/3/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html
index 644e1de05..cc3cf52b5 100644
--- a/docs/categories/notes/page/4/index.html
+++ b/docs/categories/notes/page/4/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/categories/notes/page/5/index.html b/docs/categories/notes/page/5/index.html
index 1aaf4bf7f..6f08a0684 100644
--- a/docs/categories/notes/page/5/index.html
+++ b/docs/categories/notes/page/5/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/index.html b/docs/index.html
index c2bd19277..927db07d8 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/page/2/index.html b/docs/page/2/index.html
index ffb5af820..c7081f263 100644
--- a/docs/page/2/index.html
+++ b/docs/page/2/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/page/3/index.html b/docs/page/3/index.html
index 3feb7e99d..8149c44b5 100644
--- a/docs/page/3/index.html
+++ b/docs/page/3/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/page/4/index.html b/docs/page/4/index.html
index a532b484d..993bc9189 100644
--- a/docs/page/4/index.html
+++ b/docs/page/4/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/page/5/index.html b/docs/page/5/index.html
index d055b1f8f..d424e87b5 100644
--- a/docs/page/5/index.html
+++ b/docs/page/5/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/page/6/index.html b/docs/page/6/index.html
index 233ae3d34..11f129fac 100644
--- a/docs/page/6/index.html
+++ b/docs/page/6/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/page/7/index.html b/docs/page/7/index.html
index 31a3816d8..edd2c6bcc 100644
--- a/docs/page/7/index.html
+++ b/docs/page/7/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/posts/index.html b/docs/posts/index.html
index 36ff9f890..de4152b96 100644
--- a/docs/posts/index.html
+++ b/docs/posts/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html
index 630bf1cf3..65ea78878 100644
--- a/docs/posts/page/2/index.html
+++ b/docs/posts/page/2/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html
index 336d78ce6..5bf016d37 100644
--- a/docs/posts/page/3/index.html
+++ b/docs/posts/page/3/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html
index 432b03cf7..a86f16766 100644
--- a/docs/posts/page/4/index.html
+++ b/docs/posts/page/4/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html
index a603be872..91f83e7b1 100644
--- a/docs/posts/page/5/index.html
+++ b/docs/posts/page/5/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html
index a017fb903..9e5a49370 100644
--- a/docs/posts/page/6/index.html
+++ b/docs/posts/page/6/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/posts/page/7/index.html b/docs/posts/page/7/index.html
index dc3a07c27..556246998 100644
--- a/docs/posts/page/7/index.html
+++ b/docs/posts/page/7/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
index e4bfa2477..966893480 100644
--- a/docs/sitemap.xml
+++ b/docs/sitemap.xml
@@ -3,19 +3,19 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
https://alanorth.github.io/cgspace-notes/categories/
- 2021-03-04T22:46:05+02:00
+ 2021-03-05T20:52:36+02:00
https://alanorth.github.io/cgspace-notes/
- 2021-03-04T22:46:05+02:00
+ 2021-03-05T20:52:36+02:00
https://alanorth.github.io/cgspace-notes/2021-03/
- 2021-03-04T22:46:05+02:00
+ 2021-03-05T20:52:36+02:00
https://alanorth.github.io/cgspace-notes/categories/notes/
- 2021-03-04T22:46:05+02:00
+ 2021-03-05T20:52:36+02:00
https://alanorth.github.io/cgspace-notes/posts/
- 2021-03-04T22:46:05+02:00
+ 2021-03-05T20:52:36+02:00
https://alanorth.github.io/cgspace-notes/2021-02/
2021-03-04T22:46:05+02:00