diff --git a/content/posts/2018-07.md b/content/posts/2018-07.md
index fa14b51ad..ecd3a35bb 100644
--- a/content/posts/2018-07.md
+++ b/content/posts/2018-07.md
@@ -7,26 +7,45 @@ tags: ["Notes"]
## 2018-07-01
-- Test the DSpace 5.8 upgrade on DSpace Test
-- First take a backup of the current database:
+- I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:
```
$ pg_dump -b -v -o --format=custom -U dspace -f dspace-2018-07-01.backup dspace
```
-- During the `mvn package` stage I kept getting issues with java running out of memory:
+- During the `mvn package` stage on the 5.8 branch I kept getting issues with java running out of memory:
```
There is insufficient memory for the Java Runtime Environment to continue.
```
-- So I reduced the Tomcat memory heap from 5120m to 4096m so I could try to allocate more to the build process (machine only has 8GB of RAM):
+
+
+- As the machine only has 8GB of RAM, I reduced the Tomcat memory heap from 5120m to 4096m so I could try to allocate more to the build process:
```
$ export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx1024m"
-$ mvn package...
+$ mvn -U -Dmirage2.on=true -Dmirage2.deps.included=false -Denv=dspacetest.cgiar.org -P \!dspace-lni,\!dspace-rdf,\!dspace-sword,\!dspace-swordv2 clean package
```
-
+- Then I stopped the Tomcat 7 service, ran the ant update, and manually ran the old and ignored SQL migrations:
+
+```
+$ sudo su - postgres
+$ psql dspace
+...
+dspace=# begin;
+BEGIN
+dspace=# \i Atmire-DSpace-5.8-Schema-Migration.sql
+DELETE 0
+UPDATE 1
+DELETE 1
+dspace=# commit
+dspace=# \q
+$ exit
+$ dspace database migrate ignored
+```
+
+- After that I started Tomcat 7 and DSpace seems to be working, now I need to tell our colleagues to try stuff and report issues they have
diff --git a/docs/2018-07/index.html b/docs/2018-07/index.html
new file mode 100644
index 000000000..62733482b
--- /dev/null
+++ b/docs/2018-07/index.html
@@ -0,0 +1,263 @@
+
+
+
+
-
Read more →
diff --git a/docs/index.xml b/docs/index.xml
index f6860ff50..c7426bf56 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -20,28 +20,19 @@
<h2 id="2018-07-01">2018-07-01</h2>
<ul>
-<li>Test the DSpace 5.8 upgrade on DSpace Test</li>
-<li>First take a backup of the current database:</li>
+<li>I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:</li>
</ul>
<pre><code>$ pg_dump -b -v -o --format=custom -U dspace -f dspace-2018-07-01.backup dspace
</code></pre>
<ul>
-<li>During the <code>mvn package</code> stage I kept getting issues with java running out of memory:</li>
+<li>During the <code>mvn package</code> stage on the 5.8 branch I kept getting issues with java running out of memory:</li>
</ul>
<pre><code>There is insufficient memory for the Java Runtime Environment to continue.
</code></pre>
-<ul>
-<li>So I reduced the Tomcat memory heap from 5120m to 4096m so I could try to allocate more to the build process (machine only has 8GB of RAM):</li>
-</ul>
-
-<pre><code>$ export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx1024m"
-$ mvn package...
-</code></pre>
-
<p></p>
diff --git a/docs/posts/index.html b/docs/posts/index.html
index f44405f16..dbb49f9da 100644
--- a/docs/posts/index.html
+++ b/docs/posts/index.html
@@ -113,28 +113,19 @@
2018-07-01
-
Test the DSpace 5.8 upgrade on DSpace Test
-
First take a backup of the current database:
+
I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:
-
Read more →
diff --git a/docs/posts/index.xml b/docs/posts/index.xml
index 3fb2b3500..5e1cd49dc 100644
--- a/docs/posts/index.xml
+++ b/docs/posts/index.xml
@@ -20,28 +20,19 @@
<h2 id="2018-07-01">2018-07-01</h2>
<ul>
-<li>Test the DSpace 5.8 upgrade on DSpace Test</li>
-<li>First take a backup of the current database:</li>
+<li>I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:</li>
</ul>
<pre><code>$ pg_dump -b -v -o --format=custom -U dspace -f dspace-2018-07-01.backup dspace
</code></pre>
<ul>
-<li>During the <code>mvn package</code> stage I kept getting issues with java running out of memory:</li>
+<li>During the <code>mvn package</code> stage on the 5.8 branch I kept getting issues with java running out of memory:</li>
</ul>
<pre><code>There is insufficient memory for the Java Runtime Environment to continue.
</code></pre>
-<ul>
-<li>So I reduced the Tomcat memory heap from 5120m to 4096m so I could try to allocate more to the build process (machine only has 8GB of RAM):</li>
-</ul>
-
-<pre><code>$ export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx1024m"
-$ mvn package...
-</code></pre>
-
<p></p>
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
index 05ae9c2a7..c4cb1b702 100644
--- a/docs/sitemap.xml
+++ b/docs/sitemap.xml
@@ -4,7 +4,7 @@
https://alanorth.github.io/cgspace-notes/2018-07/
- 2018-07-01T12:56:54+03:00
+ 2018-07-01T14:34:56+03:00
@@ -174,7 +174,7 @@
https://alanorth.github.io/cgspace-notes/
- 2018-07-01T12:56:54+03:00
+ 2018-07-01T14:34:56+03:000
@@ -185,7 +185,7 @@
https://alanorth.github.io/cgspace-notes/tags/notes/
- 2018-07-01T12:56:54+03:00
+ 2018-07-01T14:34:56+03:000
@@ -197,13 +197,13 @@
https://alanorth.github.io/cgspace-notes/posts/
- 2018-07-01T12:56:54+03:00
+ 2018-07-01T14:34:56+03:000https://alanorth.github.io/cgspace-notes/tags/
- 2018-07-01T12:56:54+03:00
+ 2018-07-01T14:34:56+03:000
diff --git a/docs/tags/index.html b/docs/tags/index.html
index 759e171e6..0db5a810c 100644
--- a/docs/tags/index.html
+++ b/docs/tags/index.html
@@ -113,28 +113,19 @@
2018-07-01
-
Test the DSpace 5.8 upgrade on DSpace Test
-
First take a backup of the current database:
+
I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:
-
Read more →
diff --git a/docs/tags/notes/index.xml b/docs/tags/notes/index.xml
index 7076fdfa1..0683579cb 100644
--- a/docs/tags/notes/index.xml
+++ b/docs/tags/notes/index.xml
@@ -20,28 +20,19 @@
<h2 id="2018-07-01">2018-07-01</h2>
<ul>
-<li>Test the DSpace 5.8 upgrade on DSpace Test</li>
-<li>First take a backup of the current database:</li>
+<li>I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:</li>
</ul>
<pre><code>$ pg_dump -b -v -o --format=custom -U dspace -f dspace-2018-07-01.backup dspace
</code></pre>
<ul>
-<li>During the <code>mvn package</code> stage I kept getting issues with java running out of memory:</li>
+<li>During the <code>mvn package</code> stage on the 5.8 branch I kept getting issues with java running out of memory:</li>
</ul>
<pre><code>There is insufficient memory for the Java Runtime Environment to continue.
</code></pre>
-<ul>
-<li>So I reduced the Tomcat memory heap from 5120m to 4096m so I could try to allocate more to the build process (machine only has 8GB of RAM):</li>
-</ul>
-
-<pre><code>$ export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx1024m"
-$ mvn package...
-</code></pre>
-
<p></p>