mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-29 09:58:22 +01:00
Update notes for 2019-07-12
This commit is contained in:
parent
38c2fc7149
commit
e459decb03
@ -218,4 +218,28 @@ dc.identifier.issn
|
|||||||
|
|
||||||
- I'm assuming something happened in his browser (like a refresh) after the item was submitted...
|
- I'm assuming something happened in his browser (like a refresh) after the item was submitted...
|
||||||
|
|
||||||
|
## 2019-07-12
|
||||||
|
|
||||||
|
- Atmire responded with some initial feedback about our Tomcat configuration related to the [Solr issue I raised recently](https://tracker.atmire.com/tickets-cgiar-ilri/view-ticket?id=685)
|
||||||
|
- Unfortunately there is no concrete feedback yet
|
||||||
|
- I think we need to upgrade our DSpace Test server so we can fit all the Solr cores...
|
||||||
|
- Actually, I looked and there were over 40 GB free on DSpace Test so I copied the Solr statistics cores for the years 2017 to 2010 from CGSpace to DSpace Test because they weren't actually very large
|
||||||
|
- I re-deployed DSpace for good measure, and I think all Solr cores are loading... I will do more tests later
|
||||||
|
- Run all system updates on DSpace Test (linode19) and reboot it
|
||||||
|
- Try to run `dspace cleanup -v` on CGSpace and ran into an error:
|
||||||
|
|
||||||
|
```
|
||||||
|
Error: ERROR: update or delete on table "bitstream" violates foreign key constraint "bundle_primary_bitstream_id_fkey" on table "bundle"
|
||||||
|
Detail: Key (bitstream_id)=(167394) is still referenced from table "bundle".
|
||||||
|
```
|
||||||
|
|
||||||
|
- The solution is, as always:
|
||||||
|
|
||||||
|
```
|
||||||
|
# su - postgres
|
||||||
|
$ psql dspace -c 'update bundle set primary_bitstream_id=NULL where primary_bitstream_id in (167394);'
|
||||||
|
UPDATE 1
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
<!-- vim: set sw=2 ts=2: -->
|
<!-- vim: set sw=2 ts=2: -->
|
||||||
|
@ -25,7 +25,7 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca
|
|||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-03/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-03/" />
|
||||||
<meta property="article:published_time" content="2019-03-01T12:16:30+01:00"/>
|
<meta property="article:published_time" content="2019-03-01T12:16:30+01:00"/>
|
||||||
<meta property="article:modified_time" content="2019-04-01T17:02:54+03:00"/>
|
<meta property="article:modified_time" content="2019-07-12T14:05:21+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="March, 2019"/>
|
<meta name="twitter:title" content="March, 2019"/>
|
||||||
@ -57,7 +57,7 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca
|
|||||||
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-03\/",
|
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-03\/",
|
||||||
"wordCount": "7105",
|
"wordCount": "7105",
|
||||||
"datePublished": "2019-03-01T12:16:30\x2b01:00",
|
"datePublished": "2019-03-01T12:16:30\x2b01:00",
|
||||||
"dateModified": "2019-04-01T17:02:54\x2b03:00",
|
"dateModified": "2019-07-12T14:05:21\x2b03:00",
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
@ -490,7 +490,7 @@ Detail: Key (bitstream_id)=(164496) is still referenced from table "bundle&
|
|||||||
<li><p>The solution is, as always:</p>
|
<li><p>The solution is, as always:</p>
|
||||||
|
|
||||||
<pre><code># su - postgres
|
<pre><code># su - postgres
|
||||||
$ psql dspacetest -c 'update bundle set primary_bitstream_id=NULL where primary_bitstream_id in (164496);'
|
$ psql dspace -c 'update bundle set primary_bitstream_id=NULL where primary_bitstream_id in (164496);'
|
||||||
UPDATE 1
|
UPDATE 1
|
||||||
</code></pre></li>
|
</code></pre></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -21,7 +21,7 @@ Abenet had another similar issue a few days ago when trying to find the stats fo
|
|||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-07/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-07/" />
|
||||||
<meta property="article:published_time" content="2019-07-01T12:13:51+03:00"/>
|
<meta property="article:published_time" content="2019-07-01T12:13:51+03:00"/>
|
||||||
<meta property="article:modified_time" content="2019-07-11T19:52:07+03:00"/>
|
<meta property="article:modified_time" content="2019-07-11T20:08:42+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="July, 2019"/>
|
<meta name="twitter:title" content="July, 2019"/>
|
||||||
@ -47,9 +47,9 @@ Abenet had another similar issue a few days ago when trying to find the stats fo
|
|||||||
"@type": "BlogPosting",
|
"@type": "BlogPosting",
|
||||||
"headline": "July, 2019",
|
"headline": "July, 2019",
|
||||||
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-07\/",
|
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-07\/",
|
||||||
"wordCount": "1187",
|
"wordCount": "1360",
|
||||||
"datePublished": "2019-07-01T12:13:51\x2b03:00",
|
"datePublished": "2019-07-01T12:13:51\x2b03:00",
|
||||||
"dateModified": "2019-07-11T19:52:07\x2b03:00",
|
"dateModified": "2019-07-11T20:08:42\x2b03:00",
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
@ -378,6 +378,33 @@ dc.identifier.issn
|
|||||||
<li><p>I’m assuming something happened in his browser (like a refresh) after the item was submitted…</p></li>
|
<li><p>I’m assuming something happened in his browser (like a refresh) after the item was submitted…</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2019-07-12">2019-07-12</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Atmire responded with some initial feedback about our Tomcat configuration related to the <a href="https://tracker.atmire.com/tickets-cgiar-ilri/view-ticket?id=685">Solr issue I raised recently</a>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Unfortunately there is no concrete feedback yet</li>
|
||||||
|
<li>I think we need to upgrade our DSpace Test server so we can fit all the Solr cores…</li>
|
||||||
|
<li>Actually, I looked and there were over 40 GB free on DSpace Test so I copied the Solr statistics cores for the years 2017 to 2010 from CGSpace to DSpace Test because they weren’t actually very large</li>
|
||||||
|
<li>I re-deployed DSpace for good measure, and I think all Solr cores are loading… I will do more tests later</li>
|
||||||
|
</ul></li>
|
||||||
|
<li>Run all system updates on DSpace Test (linode19) and reboot it</li>
|
||||||
|
|
||||||
|
<li><p>Try to run <code>dspace cleanup -v</code> on CGSpace and ran into an error:</p>
|
||||||
|
|
||||||
|
<pre><code>Error: ERROR: update or delete on table "bitstream" violates foreign key constraint "bundle_primary_bitstream_id_fkey" on table "bundle"
|
||||||
|
Detail: Key (bitstream_id)=(167394) is still referenced from table "bundle".
|
||||||
|
</code></pre></li>
|
||||||
|
|
||||||
|
<li><p>The solution is, as always:</p>
|
||||||
|
|
||||||
|
<pre><code># su - postgres
|
||||||
|
$ psql dspace -c 'update bundle set primary_bitstream_id=NULL where primary_bitstream_id in (167394);'
|
||||||
|
UPDATE 1
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<!-- vim: set sw=2 ts=2: -->
|
<!-- vim: set sw=2 ts=2: -->
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,30 +4,30 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||||
<lastmod>2019-07-11T19:52:07+03:00</lastmod>
|
<lastmod>2019-07-12T14:05:21+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2019-07/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/2019-07/</loc>
|
||||||
<lastmod>2019-07-11T19:52:07+03:00</lastmod>
|
<lastmod>2019-07-11T20:08:42+03:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
||||||
<lastmod>2019-07-11T19:52:07+03:00</lastmod>
|
<lastmod>2019-07-12T14:05:21+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
||||||
<lastmod>2019-07-11T19:52:07+03:00</lastmod>
|
<lastmod>2019-07-12T14:05:21+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>2019-07-11T19:52:07+03:00</lastmod>
|
<lastmod>2019-07-12T14:05:21+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2019-03/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/2019-03/</loc>
|
||||||
<lastmod>2019-04-01T17:02:54+03:00</lastmod>
|
<lastmod>2019-07-12T14:05:21+03:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
|
Loading…
Reference in New Issue
Block a user