mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2018-04-25
This commit is contained in:
@ -492,5 +492,17 @@ org.apache.tomcat.jdbc.pool.PoolExhaustedException: [localhost-startStop-2] Time
|
||||
- So it must be one of Maven's dependencies...
|
||||
- I will watch it for a few days because it could be an issue that will be resolved before Ubuntu 18.04's release
|
||||
- Otherwise I will post a bug to the ubuntu-release mailing list
|
||||
- Looks like the only way to fix this is to install `openjdk-8-jdk-headless` before (so it pulls in the JRE) in a separate transaction, or to manually install `openjdk-8-jre-headless` in the same apt transaction as `maven`
|
||||
- Also, I started porting PostgreSQL 9.6 into the Ansible infrastructure scripts
|
||||
- This should be a drop in I believe, though I will definitely test it more locally as well as on DSpace Test once we move to DSpace 5.8 and Ubuntu 18.04 in the coming months
|
||||
|
||||
## 2018-04-25
|
||||
|
||||
- Still testing the [Ansible infrastructure playbooks](https://github.com/ilri/rmg-ansible-public) for Ubuntu 18.04, Tomcat 8.5, and PostgreSQL 9.6
|
||||
- One other new thing I notice is that PostgreSQL 9.6 no longer uses `createuser` and `nocreateuser`, as those have actually meant `superuser` and `nosuperuser` and have been deprecated for *ten years*
|
||||
- So for my notes, when I'm importing a CGSpace database dump I need to amend my notes to give super user permission to a user, rather than create user:
|
||||
|
||||
```
|
||||
$ psql dspacetest -c 'alter user dspacetest superuser;'
|
||||
$ pg_restore -O -U dspacetest -d dspacetest -W -h localhost /tmp/dspace_2018-04-18.backup
|
||||
```
|
||||
|
Reference in New Issue
Block a user