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