mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-22 14:45:03 +01:00
Update notes for 2018-10-15
This commit is contained in:
parent
a568b62cd7
commit
05e45a745e
@ -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...
|
- 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
|
- 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
|
- 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;'
|
||||||
|
```
|
||||||
|
|
||||||
<!-- vim: set sw=2 ts=2: -->
|
<!-- vim: set sw=2 ts=2: -->
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<meta property="og:description" content="2018-10-01 Phil Thornton got an ORCID identifier so we need to add it to the list on CGSpace and tag his existing items I created a GitHub issue to track this #389, because I’m super busy in Nairobi right now 2018-10-03 I see Moayad was busy collecting item views and downloads from CGSpace yesterday: # zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "02/Oct/2018" | awk '{print $1} ' | sort | uniq -c | sort -n | tail -n 10 933 40." />
|
<meta property="og:description" content="2018-10-01 Phil Thornton got an ORCID identifier so we need to add it to the list on CGSpace and tag his existing items I created a GitHub issue to track this #389, because I’m super busy in Nairobi right now 2018-10-03 I see Moayad was busy collecting item views and downloads from CGSpace yesterday: # zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "02/Oct/2018" | awk '{print $1} ' | sort | uniq -c | sort -n | tail -n 10 933 40." />
|
||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2018-10/" /><meta property="article:published_time" content="2018-10-01T22:31:54+03:00"/>
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2018-10/" /><meta property="article:published_time" content="2018-10-01T22:31:54+03:00"/>
|
||||||
<meta property="article:modified_time" content="2018-10-15T08:14:22+03:00"/>
|
<meta property="article:modified_time" content="2018-10-15T16:03:02+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="October, 2018"/>
|
<meta name="twitter:title" content="October, 2018"/>
|
||||||
@ -24,9 +24,9 @@
|
|||||||
"@type": "BlogPosting",
|
"@type": "BlogPosting",
|
||||||
"headline": "October, 2018",
|
"headline": "October, 2018",
|
||||||
"url": "https://alanorth.github.io/cgspace-notes/2018-10/",
|
"url": "https://alanorth.github.io/cgspace-notes/2018-10/",
|
||||||
"wordCount": "1938",
|
"wordCount": "2088",
|
||||||
"datePublished": "2018-10-01T22:31:54+03:00",
|
"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": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
@ -410,9 +410,22 @@ COPY 10000
|
|||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>I created a new collection and added him as the administrator so he can test submission</li>
|
<li>I created a new collection and added him as the administrator so he can test submission</li>
|
||||||
|
<li>He said he actually wants to test creation of communities, collections, etc, so I had to make him a super admin for now</li>
|
||||||
|
<li>I told him we need to think about the workflow more seriously in the future</li>
|
||||||
</ul></li>
|
</ul></li>
|
||||||
|
<li>I ended up having some issues with podman and went back to Docker, so I had to re-create my containers:</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ 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;'
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
<!-- vim: set sw=2 ts=2: -->
|
<!-- vim: set sw=2 ts=2: -->
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2018-10/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/2018-10/</loc>
|
||||||
<lastmod>2018-10-15T08:14:22+03:00</lastmod>
|
<lastmod>2018-10-15T16:03:02+03:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
@ -189,7 +189,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||||
<lastmod>2018-10-15T08:14:22+03:00</lastmod>
|
<lastmod>2018-10-15T16:03:02+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -200,7 +200,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
||||||
<lastmod>2018-10-15T08:14:22+03:00</lastmod>
|
<lastmod>2018-10-15T16:03:02+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -212,13 +212,13 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
||||||
<lastmod>2018-10-15T08:14:22+03:00</lastmod>
|
<lastmod>2018-10-15T16:03:02+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>2018-10-15T08:14:22+03:00</lastmod>
|
<lastmod>2018-10-15T16:03:02+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user