Add notes for 2016-08-23

This commit is contained in:
Alan Orth 2016-08-23 16:16:10 +03:00
parent 57e91eaa5b
commit 99075bb3d4
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
4 changed files with 128 additions and 0 deletions

View File

@ -186,3 +186,29 @@ Database Driver: PostgreSQL Native Driver version PostgreSQL 9.1 JDBC4 (build 90
```
- So I'm not sure why they have problems when we move to DSpace 5.5 (even the 5.1 migrations themselves show as "Missing")
## 2016-08-23
- Help Paola from CCAFS with her thumbnails again
- Talk to Atmire about the DSpace 5.5 issue, and it seems to be caused by a bug in FlywayDB
- They said I should delete the Atmire migrations
```
dspacetest=# delete from schema_version where description = 'Atmire CUA 4 migration' and version='5.1.2015.12.03.2';
dspacetest=# delete from schema_version where description = 'Atmire MQM migration' and version='5.1.2015.12.03.3';
```
- After that DSpace starts up by XMLUI now has unrelated issues that I need to solve!
```
org.apache.avalon.framework.configuration.ConfigurationException: Type 'ThemeResourceReader' does not exist for 'map:read' at jndi:/localhost/themes/0_CGIAR/sitemap.xmap:136:77
context:/jndi:/localhost/themes/0_CGIAR/sitemap.xmap - 136:77
```
- Looks like we're missing some stuff in the XMLUI module's `sitemap.xmap`, as well as in each of our XMLUI themes
- Diff them with these to get the `ThemeResourceReader` changes:
- `dspace-xmlui/src/main/webapp/sitemap.xmap`
- `dspace-xmlui-mirage2/src/main/webapp/sitemap.xmap`
- Then we had some NullPointerException from the SolrLogger class, which is apparently part of Atmire's CUA module
- I tried with a small version bump to CUA but it didn't work (version `5.5-4.1.1-0`)
- Also, I started looking into huge pages to prepare for PostgreSQL 9.5, but it seems Linode's kernels don't enable them

View File

@ -296,6 +296,40 @@ Database Driver: PostgreSQL Native Driver version PostgreSQL 9.1 JDBC4 (build 90
<ul>
<li>So I&rsquo;m not sure why they have problems when we move to DSpace 5.5 (even the 5.1 migrations themselves show as &ldquo;Missing&rdquo;)</li>
</ul>
<h2 id="2016-08-23">2016-08-23</h2>
<ul>
<li>Help Paola from CCAFS with her thumbnails again</li>
<li>Talk to Atmire about the DSpace 5.5 issue, and it seems to be caused by a bug in FlywayDB</li>
<li>They said I should delete the Atmire migrations
<br /></li>
</ul>
<pre><code>dspacetest=# delete from schema_version where description = 'Atmire CUA 4 migration' and version='5.1.2015.12.03.2';
dspacetest=# delete from schema_version where description = 'Atmire MQM migration' and version='5.1.2015.12.03.3';
</code></pre>
<ul>
<li>After that DSpace starts up by XMLUI now has unrelated issues that I need to solve!</li>
</ul>
<pre><code>org.apache.avalon.framework.configuration.ConfigurationException: Type 'ThemeResourceReader' does not exist for 'map:read' at jndi:/localhost/themes/0_CGIAR/sitemap.xmap:136:77
context:/jndi:/localhost/themes/0_CGIAR/sitemap.xmap - 136:77
</code></pre>
<ul>
<li>Looks like we&rsquo;re missing some stuff in the XMLUI module&rsquo;s <code>sitemap.xmap</code>, as well as in each of our XMLUI themes</li>
<li>Diff them with these to get the <code>ThemeResourceReader</code> changes:
<ul>
<li><code>dspace-xmlui/src/main/webapp/sitemap.xmap</code></li>
<li><code>dspace-xmlui-mirage2/src/main/webapp/sitemap.xmap</code></li>
</ul></li>
<li>Then we had some NullPointerException from the SolrLogger class, which is apparently part of Atmire&rsquo;s CUA module</li>
<li>I tried with a small version bump to CUA but it didn&rsquo;t work (version <code>5.5-4.1.1-0</code>)</li>
<li>Also, I started looking into huge pages to prepare for PostgreSQL 9.5, but it seems Linode&rsquo;s kernels don&rsquo;t enable them</li>
</ul>
</section>

View File

@ -235,6 +235,40 @@ Database Driver: PostgreSQL Native Driver version PostgreSQL 9.1 JDBC4 (build 90
&lt;ul&gt;
&lt;li&gt;So I&amp;rsquo;m not sure why they have problems when we move to DSpace 5.5 (even the 5.1 migrations themselves show as &amp;ldquo;Missing&amp;rdquo;)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2016-08-23&#34;&gt;2016-08-23&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Help Paola from CCAFS with her thumbnails again&lt;/li&gt;
&lt;li&gt;Talk to Atmire about the DSpace 5.5 issue, and it seems to be caused by a bug in FlywayDB&lt;/li&gt;
&lt;li&gt;They said I should delete the Atmire migrations
&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;dspacetest=# delete from schema_version where description = &#39;Atmire CUA 4 migration&#39; and version=&#39;5.1.2015.12.03.2&#39;;
dspacetest=# delete from schema_version where description = &#39;Atmire MQM migration&#39; and version=&#39;5.1.2015.12.03.3&#39;;
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;After that DSpace starts up by XMLUI now has unrelated issues that I need to solve!&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;org.apache.avalon.framework.configuration.ConfigurationException: Type &#39;ThemeResourceReader&#39; does not exist for &#39;map:read&#39; at jndi:/localhost/themes/0_CGIAR/sitemap.xmap:136:77
context:/jndi:/localhost/themes/0_CGIAR/sitemap.xmap - 136:77
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Looks like we&amp;rsquo;re missing some stuff in the XMLUI module&amp;rsquo;s &lt;code&gt;sitemap.xmap&lt;/code&gt;, as well as in each of our XMLUI themes&lt;/li&gt;
&lt;li&gt;Diff them with these to get the &lt;code&gt;ThemeResourceReader&lt;/code&gt; changes:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;dspace-xmlui/src/main/webapp/sitemap.xmap&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;dspace-xmlui-mirage2/src/main/webapp/sitemap.xmap&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;Then we had some NullPointerException from the SolrLogger class, which is apparently part of Atmire&amp;rsquo;s CUA module&lt;/li&gt;
&lt;li&gt;I tried with a small version bump to CUA but it didn&amp;rsquo;t work (version &lt;code&gt;5.5-4.1.1-0&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Also, I started looking into huge pages to prepare for PostgreSQL 9.5, but it seems Linode&amp;rsquo;s kernels don&amp;rsquo;t enable them&lt;/li&gt;
&lt;/ul&gt;
</description>
</item>

View File

@ -235,6 +235,40 @@ Database Driver: PostgreSQL Native Driver version PostgreSQL 9.1 JDBC4 (build 90
&lt;ul&gt;
&lt;li&gt;So I&amp;rsquo;m not sure why they have problems when we move to DSpace 5.5 (even the 5.1 migrations themselves show as &amp;ldquo;Missing&amp;rdquo;)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2016-08-23&#34;&gt;2016-08-23&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Help Paola from CCAFS with her thumbnails again&lt;/li&gt;
&lt;li&gt;Talk to Atmire about the DSpace 5.5 issue, and it seems to be caused by a bug in FlywayDB&lt;/li&gt;
&lt;li&gt;They said I should delete the Atmire migrations
&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;dspacetest=# delete from schema_version where description = &#39;Atmire CUA 4 migration&#39; and version=&#39;5.1.2015.12.03.2&#39;;
dspacetest=# delete from schema_version where description = &#39;Atmire MQM migration&#39; and version=&#39;5.1.2015.12.03.3&#39;;
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;After that DSpace starts up by XMLUI now has unrelated issues that I need to solve!&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;org.apache.avalon.framework.configuration.ConfigurationException: Type &#39;ThemeResourceReader&#39; does not exist for &#39;map:read&#39; at jndi:/localhost/themes/0_CGIAR/sitemap.xmap:136:77
context:/jndi:/localhost/themes/0_CGIAR/sitemap.xmap - 136:77
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Looks like we&amp;rsquo;re missing some stuff in the XMLUI module&amp;rsquo;s &lt;code&gt;sitemap.xmap&lt;/code&gt;, as well as in each of our XMLUI themes&lt;/li&gt;
&lt;li&gt;Diff them with these to get the &lt;code&gt;ThemeResourceReader&lt;/code&gt; changes:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;dspace-xmlui/src/main/webapp/sitemap.xmap&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;dspace-xmlui-mirage2/src/main/webapp/sitemap.xmap&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;Then we had some NullPointerException from the SolrLogger class, which is apparently part of Atmire&amp;rsquo;s CUA module&lt;/li&gt;
&lt;li&gt;I tried with a small version bump to CUA but it didn&amp;rsquo;t work (version &lt;code&gt;5.5-4.1.1-0&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Also, I started looking into huge pages to prepare for PostgreSQL 9.5, but it seems Linode&amp;rsquo;s kernels don&amp;rsquo;t enable them&lt;/li&gt;
&lt;/ul&gt;
</description>
</item>