OCDS documentation tasks

Clean draft documentation

  1. SSH into standard.open-contracting.org as the ocds-docs user.

  2. Run 1-size.sh to get the total sizes of old drafts. For example, for drafts older than 180 days:

    ./1-size.sh 180
    
  3. Run 2-delete.sh to delete the old drafts. For example, for drafts older than 180 days:

    ./2-delete.sh 180
    

Check 404 errors

  1. SSH into standard.open-contracting.org as the root user.

  2. Count 404 errors:

    zgrep " 404 " /var/log/apache2/other_vhosts_access.log* | cut -d ' ' -f 8 | sort | uniq -c | sort -n