AtlasOfLivingAustralia / ala-install

Ansible playbooks for installing the ALA components
https://www.ala.org.au
Apache License 2.0
26 stars 52 forks source link

404 when getting name data from ALA #291

Open vjrj opened 5 years ago

vjrj commented 5 years ago

When trying to update our species web service I get 404:

TASK [namedata : get source name data from ALA] *********************************************************************************************************************************************
(...)
failed: [especies.gbif.es] (item=combined) => {
    "changed": false, 
    "dest": "/data/bie/import", 
    "gid": 119, 
    "group": "tomcat7", 
    "invocation": {
        "module_args": {
            "attributes": null, 
            "backup": null, 
            "checksum": "", 
            "client_cert": null, 
            "client_key": null, 
            "content": null, 
            "delimiter": null, 
            "dest": "/data/bie/import", 
            "directory_mode": null, 
            "follow": false, 
            "force": false, 
            "force_basic_auth": false, 
            "group": null, 
            "headers": null, 
            "http_agent": "ansible-httpget", 
            "mode": null, 
            "owner": null, 
            "regexp": null, 
            "remote_src": null, 
            "selevel": null, 
            "serole": null, 
            "setype": null, 
            "seuser": null, 
            "sha256sum": "", 
            "src": null, 
            "timeout": 10, 
            "tmp_dest": null, 
            "unsafe_writes": null, 
            "url": "https://archives.ala.org.au/archives/nameindexes/latest/combined-latest.zip", 
            "url_password": null, 
            "url_username": null, 
            "use_proxy": true, 
            "validate_certs": true
        }
    }, 
    "item": "combined", 
    "mode": "0755", 
    "msg": "Request failed", 
    "owner": "tomcat7", 
    "response": "HTTP Error 404: Not Found", 
    "size": 4096, 
    "state": "directory", 
    "status_code": 404, 
    "uid": 114, 
    "url": "https://archives.ala.org.au/archives/nameindexes/latest/combined-latest.zip"
}

It seems that the latest link is missing for combined. https://archives.ala.org.au/archives/nameindexes/latest/

Thanks

vjrj commented 5 years ago

I'm using a inventory similar to ansible/inventories/living-atlas so the demo playbook should fail also in this task.

As a workaround we can add namedata_datestamp=20171012.