diff --git a/content/2016-08.md b/content/2016-08.md index b28fed214..fd0f5bb13 100644 --- a/content/2016-08.md +++ b/content/2016-08.md @@ -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 diff --git a/public/2016-08/index.html b/public/2016-08/index.html index 8923e44f4..1628ac3f2 100644 --- a/public/2016-08/index.html +++ b/public/2016-08/index.html @@ -296,6 +296,40 @@ Database Driver: PostgreSQL Native Driver version PostgreSQL 9.1 JDBC4 (build 90 + +

2016-08-23

+ + + +
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';
+
+ + + +
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
+
+ + diff --git a/public/index.xml b/public/index.xml index e78c4cdda..be02a8bfe 100644 --- a/public/index.xml +++ b/public/index.xml @@ -235,6 +235,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> diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index fc96375fd..9c2a253f4 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -235,6 +235,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>