mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes for 2018-10-15
This commit is contained in:
@ -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;'
|
||||
```
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user