mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-04 14:23:01 +01:00
Add notes for 2018-04-25
This commit is contained in:
parent
b0eb4dff1b
commit
be4df4f64f
@ -492,5 +492,17 @@ org.apache.tomcat.jdbc.pool.PoolExhaustedException: [localhost-startStop-2] Time
|
|||||||
- So it must be one of Maven's dependencies...
|
- 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
|
- 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
|
- 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
|
- 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
|
- 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
|
||||||
|
```
|
||||||
|
@ -21,7 +21,7 @@ Catalina logs at least show some memory errors yesterday:
|
|||||||
|
|
||||||
<meta property="article:published_time" content="2018-04-01T16:13:54+02:00"/>
|
<meta property="article:published_time" content="2018-04-01T16:13:54+02:00"/>
|
||||||
|
|
||||||
<meta property="article:modified_time" content="2018-04-24T16:38:05+03:00"/>
|
<meta property="article:modified_time" content="2018-04-24T16:53:28+03:00"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ Catalina logs at least show some memory errors yesterday:
|
|||||||
"url": "https://alanorth.github.io/cgspace-notes/2018-04/",
|
"url": "https://alanorth.github.io/cgspace-notes/2018-04/",
|
||||||
"wordCount": "0",
|
"wordCount": "0",
|
||||||
"datePublished": "2018-04-01T16:13:54+02:00",
|
"datePublished": "2018-04-01T16:13:54+02:00",
|
||||||
"dateModified": "2018-04-24T16:38:05+03:00",
|
"dateModified": "2018-04-24T16:53:28+03:00",
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
@ -669,10 +669,23 @@ org.apache.tomcat.jdbc.pool.PoolExhaustedException: [localhost-startStop-2] Time
|
|||||||
<li>So it must be one of Maven’s dependencies…</li>
|
<li>So it must be one of Maven’s dependencies…</li>
|
||||||
<li>I will watch it for a few days because it could be an issue that will be resolved before Ubuntu 18.04’s release</li>
|
<li>I will watch it for a few days because it could be an issue that will be resolved before Ubuntu 18.04’s release</li>
|
||||||
<li>Otherwise I will post a bug to the ubuntu-release mailing list</li>
|
<li>Otherwise I will post a bug to the ubuntu-release mailing list</li>
|
||||||
|
<li>Looks like the only way to fix this is to install <code>openjdk-8-jdk-headless</code> before (so it pulls in the JRE) in a separate transaction, or to manually install <code>openjdk-8-jre-headless</code> in the same apt transaction as <code>maven</code></li>
|
||||||
<li>Also, I started porting PostgreSQL 9.6 into the Ansible infrastructure scripts</li>
|
<li>Also, I started porting PostgreSQL 9.6 into the Ansible infrastructure scripts</li>
|
||||||
<li>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</li>
|
<li>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</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2018-04-25">2018-04-25</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Still testing the <a href="https://github.com/ilri/rmg-ansible-public">Ansible infrastructure playbooks</a> for Ubuntu 18.04, Tomcat 8.5, and PostgreSQL 9.6</li>
|
||||||
|
<li>One other new thing I notice is that PostgreSQL 9.6 no longer uses <code>createuser</code> and <code>nocreateuser</code>, as those have actually meant <code>superuser</code> and <code>nosuperuser</code> and have been deprecated for <em>ten years</em></li>
|
||||||
|
<li>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:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ psql dspacetest -c 'alter user dspacetest superuser;'
|
||||||
|
$ pg_restore -O -U dspacetest -d dspacetest -W -h localhost /tmp/dspace_2018-04-18.backup
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2018-04/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/2018-04/</loc>
|
||||||
<lastmod>2018-04-24T16:38:05+03:00</lastmod>
|
<lastmod>2018-04-24T16:53:28+03:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
@ -159,7 +159,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||||
<lastmod>2018-04-24T16:38:05+03:00</lastmod>
|
<lastmod>2018-04-24T16:53:28+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -170,7 +170,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-04-24T16:38:05+03:00</lastmod>
|
<lastmod>2018-04-24T16:53:28+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -182,13 +182,13 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
||||||
<lastmod>2018-04-24T16:38:05+03:00</lastmod>
|
<lastmod>2018-04-24T16:53:28+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-04-24T16:38:05+03:00</lastmod>
|
<lastmod>2018-04-24T16:53:28+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user