diff --git a/content/posts/2018-10.md b/content/posts/2018-10.md index b7b4bf3be..003d311a1 100644 --- a/content/posts/2018-10.md +++ b/content/posts/2018-10.md @@ -275,5 +275,19 @@ $ ./fix-metadata-values.py -i /tmp/2018-10-11-top-authors.csv -f dc.contributor. - I fixed it so that I could reindex, but I guess the rest of DSpace actually didn't start up... - Create an account on DSpace Test for Felix from Earlham so he can test COPO submission - I created a new collection and added him as the administrator so he can test submission + - He said he actually wants to test creation of communities, collections, etc, so I had to make him a super admin for now + - I told him we need to think about the workflow more seriously in the future +- I ended up having some issues with podman and went back to Docker, so I had to re-create my containers: + +``` +$ sudo docker run --name nexus --network dspace-build -d -v /home/aorth/.local/lib/containers/volumes/nexus_data:/nexus_data -p 8081:8081 sonatype/nexus3 +$ sudo docker run --name dspacedb -v /home/aorth/.local/lib/containers/volumes/dspacedb_data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres:9.6-alpine +$ createuser -h localhost -U postgres --pwprompt dspacetest +$ createdb -h localhost -U postgres -O dspacetest --encoding=UNICODE dspacetest +$ psql -h localhost -U postgres dspacetest -c 'alter user dspacetest superuser;' +$ pg_restore -h localhost -U postgres -d dspacetest -O --role=dspacetest -h localhost ~/Downloads/cgspace_2018-10-11.backup +$ psql -h localhost -U postgres -f ~/src/git/DSpace/dspace/etc/postgres/update-sequences.sql dspacetest +$ psql -h localhost -U postgres dspacetest -c 'alter user dspacetest nosuperuser;' +``` diff --git a/docs/2018-10/index.html b/docs/2018-10/index.html index 72eb3ce76..16eef5d82 100644 --- a/docs/2018-10/index.html +++ b/docs/2018-10/index.html @@ -9,7 +9,7 @@ - + @@ -24,9 +24,9 @@ "@type": "BlogPosting", "headline": "October, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-10/", - "wordCount": "1938", + "wordCount": "2088", "datePublished": "2018-10-01T22:31:54+03:00", - "dateModified": "2018-10-15T08:14:22+03:00", + "dateModified": "2018-10-15T16:03:02+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -410,9 +410,22 @@ COPY 10000
$ sudo docker run --name nexus --network dspace-build -d -v /home/aorth/.local/lib/containers/volumes/nexus_data:/nexus_data -p 8081:8081 sonatype/nexus3
+$ sudo docker run --name dspacedb -v /home/aorth/.local/lib/containers/volumes/dspacedb_data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres:9.6-alpine
+$ createuser -h localhost -U postgres --pwprompt dspacetest
+$ createdb -h localhost -U postgres -O dspacetest --encoding=UNICODE dspacetest
+$ psql -h localhost -U postgres dspacetest -c 'alter user dspacetest superuser;'
+$ pg_restore -h localhost -U postgres -d dspacetest -O --role=dspacetest -h localhost ~/Downloads/cgspace_2018-10-11.backup
+$ psql -h localhost -U postgres -f ~/src/git/DSpace/dspace/etc/postgres/update-sequences.sql dspacetest
+$ psql -h localhost -U postgres dspacetest -c 'alter user dspacetest nosuperuser;'
+
+
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
index 2d6e2b200..fbaf7f012 100644
--- a/docs/sitemap.xml
+++ b/docs/sitemap.xml
@@ -4,7 +4,7 @@