OCDS documentation tasks¶
Clean draft documentation¶
SSH into
standard.open-contracting.orgas theocds-docsuser.Run
1-size.shto get the total sizes of old drafts. For example, for drafts older than 180 days:./1-size.sh 180
Run
2-delete.shto delete the old drafts. For example, for drafts older than 180 days:./2-delete.sh 180
Check 404 errors¶
SSH into
standard.open-contracting.orgas therootuser.Count 404 errors:
zgrep " 404 " /var/log/apache2/other_vhosts_access.log* | cut -d ' ' -f 8 | sort | uniq -c | sort -n