diff --git a/content/posts/2021-10.md b/content/posts/2021-10.md
index 50794a98c..4687f4c70 100644
--- a/content/posts/2021-10.md
+++ b/content/posts/2021-10.md
@@ -276,4 +276,62 @@ $ csvcut -c 'id,cg.issn[en_US],dc.identifier.issn[en_US],cg.isbn[en_US],dc.ident
- I did cleanups on about seventy items with invalid and mixed ISSNs/ISBNs
+## 2021-10-10
+
+- Start testing DSpace 7.1-SNAPSHOT to see if it has the duplicate item bug on `metadata-export` (DS-4211)
+- First create a new PostgreSQL 13 container:
+
+```console
+$ podman run --name dspacedb13 -v dspacedb13_data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=postgres -p 5433:5432 -d postgres:13-alpine
+$ createuser -h localhost -p 5433 -U postgres --pwprompt dspacetest
+$ createdb -h localhost -p 5433 -U postgres -O dspacetest --encoding=UNICODE dspace7
+$ psql -h localhost -p 5433 -U postgres dspace7 -c 'CREATE EXTENSION pgcrypto;'
+```
+
+- Then edit setting in `dspace/config/local.cfg` and build the backend server with Java 11:
+
+```console
+$ mvn package
+$ cd dspace/target/dspace-installer
+$ ant fresh_install
+# fix database not being fully ready, causing Tomcat to fail to start the server application
+$ ~/dspace7/bin/dspace database migrate
+```
+
+- Copy Solr configs and start Solr:
+
+```console
+$ cp -Rv ~/dspace7/solr/* ~/src/solr-8.8.2/server/solr/configsets
+$ ~/src/solr-8.8.2/bin/solr start
+```
+
+- Start my local Tomcat 9 instance:
+
+```console
+$ systemctl --user start tomcat9@dspace7
+```
+
+- This works, so now I will drop the default database and import a dump from CGSpace
+
+```console
+$ systemctl --user stop tomcat9@dspace7
+$ dropdb -h localhost -p 5433 -U postgres dspace7
+$ createdb -h localhost -p 5433 -U postgres -O dspacetest --encoding=UNICODE dspace7
+$ psql -h localhost -p 5433 -U postgres -c 'alter user dspacetest superuser;'
+$ pg_restore -h localhost -p 5433 -U postgres -d dspace7 -O --role=dspacetest -h localhost dspace-2021-10-09.backup
+$ psql -h localhost -p 5433 -U postgres -c 'alter user dspacetest nosuperuser;'
+```
+
+- Delete Atmire migrations and some others that were "unresolved":
+
+```console
+$ psql -h localhost -p 5433 -U postgres dspace7 -c "DELETE FROM schema_version WHERE description LIKE '%Atmire%' OR description LIKE '%CUA%' OR description LIKE '%cua%';"
+$ psql -h localhost -p 5433 -U postgres dspace7 -c "DELETE FROM schema_version WHERE version IN ('5.0.2017.09.25', '6.0.2017.01.30', '6.0.2017.09.25');"
+```
+
+- Now DSpace 7 starts with my CGSpace data... nice
+- I tested the `metadata-export` on DSpace 7.1-SNAPSHOT and it still has the duplicate items issue introduced by DS-4211
+ - I filed a GitHub issue and notified nwoodward: https://github.com/DSpace/DSpace/issues/7988
+- Start a full reindex on AReS
+
diff --git a/docs/2021-10/index.html b/docs/2021-10/index.html
index 6e2643a0b..1b0ffe590 100644
--- a/docs/2021-10/index.html
+++ b/docs/2021-10/index.html
@@ -25,7 +25,7 @@ So we have 1879/7100 (26.46%) matching already
-
+
@@ -56,9 +56,9 @@ So we have 1879/7100 (26.46%) matching already
"@type": "BlogPosting",
"headline": "October, 2021",
"url": "https://alanorth.github.io/cgspace-notes/2021-10/",
- "wordCount": "1882",
+ "wordCount": "2199",
"datePublished": "2021-10-01T11:14:07+03:00",
- "dateModified": "2021-10-08T17:15:17+03:00",
+ "dateModified": "2021-10-09T22:00:59+03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@@ -412,6 +412,55 @@ $ csvjoin -c id /tmp/ilri-deduplicated-items.csv /tmp/ilri-deduplicated-items-cl
- I did cleanups on about seventy items with invalid and mixed ISSNs/ISBNs
+2021-10-10
+
+- Start testing DSpace 7.1-SNAPSHOT to see if it has the duplicate item bug on
metadata-export
(DS-4211)
+- First create a new PostgreSQL 13 container:
+
+$ podman run --name dspacedb13 -v dspacedb13_data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=postgres -p 5433:5432 -d postgres:13-alpine
+$ createuser -h localhost -p 5433 -U postgres --pwprompt dspacetest
+$ createdb -h localhost -p 5433 -U postgres -O dspacetest --encoding=UNICODE dspace7
+$ psql -h localhost -p 5433 -U postgres dspace7 -c 'CREATE EXTENSION pgcrypto;'
+
+- Then edit setting in
dspace/config/local.cfg
and build the backend server with Java 11:
+
+$ mvn package
+$ cd dspace/target/dspace-installer
+$ ant fresh_install
+# fix database not being fully ready, causing Tomcat to fail to start the server application
+$ ~/dspace7/bin/dspace database migrate
+
+- Copy Solr configs and start Solr:
+
+$ cp -Rv ~/dspace7/solr/* ~/src/solr-8.8.2/server/solr/configsets
+$ ~/src/solr-8.8.2/bin/solr start
+
+- Start my local Tomcat 9 instance:
+
+$ systemctl --user start tomcat9@dspace7
+
+- This works, so now I will drop the default database and import a dump from CGSpace
+
+$ systemctl --user stop tomcat9@dspace7
+$ dropdb -h localhost -p 5433 -U postgres dspace7
+$ createdb -h localhost -p 5433 -U postgres -O dspacetest --encoding=UNICODE dspace7
+$ psql -h localhost -p 5433 -U postgres -c 'alter user dspacetest superuser;'
+$ pg_restore -h localhost -p 5433 -U postgres -d dspace7 -O --role=dspacetest -h localhost dspace-2021-10-09.backup
+$ psql -h localhost -p 5433 -U postgres -c 'alter user dspacetest nosuperuser;'
+
+- Delete Atmire migrations and some others that were “unresolved”:
+
+$ psql -h localhost -p 5433 -U postgres dspace7 -c "DELETE FROM schema_version WHERE description LIKE '%Atmire%' OR description LIKE '%CUA%' OR description LIKE '%cua%';"
+$ psql -h localhost -p 5433 -U postgres dspace7 -c "DELETE FROM schema_version WHERE version IN ('5.0.2017.09.25', '6.0.2017.01.30', '6.0.2017.09.25');"
+
+- Now DSpace 7 starts with my CGSpace data… nice
+- I tested the
metadata-export
on DSpace 7.1-SNAPSHOT and it still has the duplicate items issue introduced by DS-4211
+
+
+- Start a full reindex on AReS
+
diff --git a/docs/categories/index.html b/docs/categories/index.html
index 1f2b0bdfd..f1cbee13b 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 1c4dac8ff..63ea8d045 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 74442dbc1..ff553562a 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 41fbac0b8..0480cfe38 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 4ab040d59..c79390198 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 8c1946310..7ecd3e682 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/categories/notes/page/6/index.html b/docs/categories/notes/page/6/index.html
index dfca41797..6429a99b7 100644
--- a/docs/categories/notes/page/6/index.html
+++ b/docs/categories/notes/page/6/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/index.html b/docs/index.html
index 7261e0d7f..c88e2fe96 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 940bfd49c..ee0063e8e 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 2e5ace70d..04930b604 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 ed9dd1d48..5bfd39a2c 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 5e1ba13f4..8f69009ca 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 670cafb5b..6e70160a1 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 99aafc62a..381109930 100644
--- a/docs/page/7/index.html
+++ b/docs/page/7/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/page/8/index.html b/docs/page/8/index.html
index 1dc7e8af4..71e31a9e9 100644
--- a/docs/page/8/index.html
+++ b/docs/page/8/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/posts/index.html b/docs/posts/index.html
index fac1a4bb8..1da2d55a6 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 13a1e4da8..549891c60 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 186bf5e97..32cedf27e 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 9795d4785..a9138a319 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 f7eed27c6..2a0731980 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 3c137302e..d9751d657 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 b74320e6a..aadfd79c9 100644
--- a/docs/posts/page/7/index.html
+++ b/docs/posts/page/7/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/posts/page/8/index.html b/docs/posts/page/8/index.html
index 0a01d4216..22043dfee 100644
--- a/docs/posts/page/8/index.html
+++ b/docs/posts/page/8/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
index 7cff60982..3ad4aa91e 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-10-08T17:15:17+03:00
+ 2021-10-09T22:00:59+03:00
https://alanorth.github.io/cgspace-notes/
- 2021-10-08T17:15:17+03:00
+ 2021-10-09T22:00:59+03:00
https://alanorth.github.io/cgspace-notes/categories/notes/
- 2021-10-08T17:15:17+03:00
+ 2021-10-09T22:00:59+03:00
https://alanorth.github.io/cgspace-notes/2021-10/
- 2021-10-08T17:15:17+03:00
+ 2021-10-09T22:00:59+03:00
https://alanorth.github.io/cgspace-notes/posts/
- 2021-10-08T17:15:17+03:00
+ 2021-10-09T22:00:59+03:00
https://alanorth.github.io/cgspace-notes/2021-09/
2021-10-04T11:10:54+03:00