Add notes for 2016-10-08

This commit is contained in:
Alan Orth 2016-10-08 09:35:05 +03:00
parent 41dc9de4d2
commit 323d9ad30b
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
5 changed files with 116 additions and 0 deletions

View File

@ -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)

View File

@ -161,6 +161,30 @@ $ ./delete-metadata-values.py -i authors-delete-3.csv -f dc.contributor.author -
<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>

View File

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

View File

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

View File

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