diff --git a/content/post/2016-10.md b/content/post/2016-10.md index fd6542bc0..cbe373ed6 100644 --- a/content/post/2016-10.md +++ b/content/post/2016-10.md @@ -62,3 +62,23 @@ dspacetest=# \copy (select distinct text_value, count(*) as count from metadatav - Turns out the first PDF was exported from InDesign using CMYK and the second one was using sRGB - Run all system updates on DSpace Test and reboot it + +## 2016-10-08 + +- Re-deploy CGSpace with latest changes from late September and early October +- Run fixes for ILRI subjects and delete blank metadata values: + +``` +dspace=# delete from metadatavalue where resource_type_id=2 and text_value=''; +DELETE 11 +``` + +- Run all system updates and reboot CGSpace +- Delete ten gigs of old 2015 Tomcat logs that never got rotated (WTF?): + +``` +root@linode01:~# ls -lh /var/log/tomcat7/localhost_access_log.2015* | wc -l +47 +``` + +- Delete 2GB `cron-filter-media.log` file, as it is just a log from a cron job and it doesn't get rotated like normal log files (almost a year now maybe) diff --git a/public/2016-10/index.html b/public/2016-10/index.html index e806cb29b..4a829055e 100644 --- a/public/2016-10/index.html +++ b/public/2016-10/index.html @@ -161,6 +161,30 @@ $ ./delete-metadata-values.py -i authors-delete-3.csv -f dc.contributor.author -
  • Run all system updates on DSpace Test and reboot it
  • +

    2016-10-08

    + + + +
    dspace=# delete from metadatavalue where resource_type_id=2 and text_value='';
    +DELETE 11
    +
    + + + +
    root@linode01:~# ls -lh /var/log/tomcat7/localhost_access_log.2015* | wc -l
    +47
    +
    + + + diff --git a/public/index.xml b/public/index.xml index 1b5762c47..e2a9e43af 100644 --- a/public/index.xml +++ b/public/index.xml @@ -93,6 +93,30 @@ $ ./delete-metadata-values.py -i authors-delete-3.csv -f dc.contributor.author - <li>Turns out the first PDF was exported from InDesign using CMYK and the second one was using sRGB</li> <li>Run all system updates on DSpace Test and reboot it</li> </ul> + +<h2 id="2016-10-08">2016-10-08</h2> + +<ul> +<li>Re-deploy CGSpace with latest changes from late September and early October</li> +<li>Run fixes for ILRI subjects and delete blank metadata values:</li> +</ul> + +<pre><code>dspace=# delete from metadatavalue where resource_type_id=2 and text_value=''; +DELETE 11 +</code></pre> + +<ul> +<li>Run all system updates and reboot CGSpace</li> +<li>Delete ten gigs of old 2015 Tomcat logs that never got rotated (WTF?):</li> +</ul> + +<pre><code>root@linode01:~# ls -lh /var/log/tomcat7/localhost_access_log.2015* | wc -l +47 +</code></pre> + +<ul> +<li>Delete 2GB <code>cron-filter-media.log</code> file, as it is just a log from a cron job and it doesn&rsquo;t get rotated like normal log files (almost a year now maybe)</li> +</ul> diff --git a/public/post/index.xml b/public/post/index.xml index cc8dd9c48..9c58fc9f7 100644 --- a/public/post/index.xml +++ b/public/post/index.xml @@ -93,6 +93,30 @@ $ ./delete-metadata-values.py -i authors-delete-3.csv -f dc.contributor.author - <li>Turns out the first PDF was exported from InDesign using CMYK and the second one was using sRGB</li> <li>Run all system updates on DSpace Test and reboot it</li> </ul> + +<h2 id="2016-10-08">2016-10-08</h2> + +<ul> +<li>Re-deploy CGSpace with latest changes from late September and early October</li> +<li>Run fixes for ILRI subjects and delete blank metadata values:</li> +</ul> + +<pre><code>dspace=# delete from metadatavalue where resource_type_id=2 and text_value=''; +DELETE 11 +</code></pre> + +<ul> +<li>Run all system updates and reboot CGSpace</li> +<li>Delete ten gigs of old 2015 Tomcat logs that never got rotated (WTF?):</li> +</ul> + +<pre><code>root@linode01:~# ls -lh /var/log/tomcat7/localhost_access_log.2015* | wc -l +47 +</code></pre> + +<ul> +<li>Delete 2GB <code>cron-filter-media.log</code> file, as it is just a log from a cron job and it doesn&rsquo;t get rotated like normal log files (almost a year now maybe)</li> +</ul> diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index 181c4b02a..bd6101d61 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -92,6 +92,30 @@ $ ./delete-metadata-values.py -i authors-delete-3.csv -f dc.contributor.author - <li>Turns out the first PDF was exported from InDesign using CMYK and the second one was using sRGB</li> <li>Run all system updates on DSpace Test and reboot it</li> </ul> + +<h2 id="2016-10-08">2016-10-08</h2> + +<ul> +<li>Re-deploy CGSpace with latest changes from late September and early October</li> +<li>Run fixes for ILRI subjects and delete blank metadata values:</li> +</ul> + +<pre><code>dspace=# delete from metadatavalue where resource_type_id=2 and text_value=''; +DELETE 11 +</code></pre> + +<ul> +<li>Run all system updates and reboot CGSpace</li> +<li>Delete ten gigs of old 2015 Tomcat logs that never got rotated (WTF?):</li> +</ul> + +<pre><code>root@linode01:~# ls -lh /var/log/tomcat7/localhost_access_log.2015* | wc -l +47 +</code></pre> + +<ul> +<li>Delete 2GB <code>cron-filter-media.log</code> file, as it is just a log from a cron job and it doesn&rsquo;t get rotated like normal log files (almost a year now maybe)</li> +</ul>