Open adinuca opened 5 years ago
Hi @charlesyoung ,
For this contract: https://www.resourcecontracts.org/contract/ocds-591adf-4251085025/view#/text, the PDF version does not exist. Is it normal for contracts to only have the Text version available?
Thank you, Adina
Thanks @adinuca. All agreements should have an associated PDF document so this is strange. I get below message when trying to download the PDF document from the admin site.
@charlesyoung, you got that error because the documents do not exist, these are the only files that do exist for contracts 1802 and 1803:
I've checked if there are logs to see how they disappeared but there aren't any. Do you have a copy of the PDFs? Can they be added back?
This is still happening:
Nov 22 00:43:48 374d4a48ee05 ecs-rc-subsite-staging-var-www-rc-storage-logs: [2019-11-21 22:43:48] lumen.ERROR: exception 'ErrorException' with message 'readfile(https://resourcecontracts-admin-demo.s3-us-west-2.amazonaws.com/156/156-liberia-an-act-ratifying-the-pscs-with-addendum-between-nocol-and-oranto-petroleum-block-lb-11.pdf): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Nov 22 01:21:53 374d4a48ee05 ecs-rc-subsite-staging-var-www-rc-storage-logs: [2019-11-21 23:21:53] lumen.ERROR: File not found:file_get_contents(https://resourcecontracts-admin-demo.s3-us-west-2.amazonaws.com/2106/2106-bahar-energy-limited-socar-oil-affiliate-bahar-and-gum-deniz-fields-in-the-azerbaijan-sector-of-the-caspian-sea-psa-2009.txt): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Nov 22 01:58:36 374d4a48ee05 ecs-rc-subsite-staging-var-www-rc-storage-logs: [2019-11-21 23:58:36] lumen.ERROR: exception 'ErrorException' with message 'readfile(https://resourcecontracts-admin-demo.s3-us-west-2.amazonaws.com/1876/1876-conocophillips-santos-inpex-jpda-03-12-psc-amendment-timor-leste-australia-2003-activity-logs.pdf): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Nov 22 02:23:05 374d4a48ee05 ecs-rc-subsite-staging-var-www-rc-storage-logs: [2019-11-22 00:23:05] lumen.ERROR: exception 'ErrorException' with message 'readfile(https://resourcecontracts-admin-demo.s3-us-west-2.amazonaws.com/2262/2262-contrat-dassociation-borj-el-khadra.pdf): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Nov 22 02:38:40 374d4a48ee05 ecs-rc-subsite-staging-var-www-rc-storage-logs: [2019-11-22 00:38:40] lumen.ERROR: File not found:file_get_contents(https://resourcecontracts-admin-demo.s3-us-west-2.amazonaws.com/2275/2275-convention-grombalia.txt): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Nov 22 02:40:17 374d4a48ee05 ecs-rc-subsite-staging-var-www-rc-storage-logs: [2019-11-22 00:40:17] lumen.ERROR: exception 'ErrorException' with message 'readfile(https://resourcecontracts-admin-demo.s3-us-west-2.amazonaws.com/2189/2189-model-contract-psa-1999.pdf): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Nov 22 02:46:56 374d4a48ee05 ecs-rc-subsite-staging-var-www-rc-storage-logs: [2019-11-22 00:46:56] lumen.ERROR: exception 'ErrorException' with message 'readfile(https://resourcecontracts-admin-demo.s3-us-west-2.amazonaws.com/2029/2029-model-contract-societe-nationale-doperations-petroliers-de-la-cote-divoire-psa-1990.pdf): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Nov 22 03:24:56 374d4a48ee05 ecs-rc-subsite-staging-var-www-rc-storage-logs: [2019-11-22 01:24:56] lumen.ERROR: exception 'ErrorException' with message 'readfile(https://resourcecontracts-admin-demo.s3-us-west-2.amazonaws.com/2275/2275-convention-grombalia.pdf): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Nov 22 04:08:48 374d4a48ee05 ecs-rc-subsite-staging-var-www-rc-storage-logs: [2019-11-22 02:08:48] lumen.ERROR: File not found:file_get_contents(https://resourcecontracts-admin-demo.s3-us-west-2.amazonaws.com/2477/2477-cahier-des-charges-oued-el-ghar.txt): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Nov 22 04:17:30 374d4a48ee05 ecs-rc-subsite-staging-var-www-rc-storage-logs: [2019-11-22 02:17:30] lumen.ERROR: File not found:file_get_contents(https://resourcecontracts-admin-demo.s3-us-west-2.amazonaws.com/2559/2559-drc-societe-de-developpement-industriel-et-miniere-du-congo-binzi-limited-first-quantum-minerals-lmited-jva-2000.txt): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Nov 22 04:39:48 374d4a48ee05 ecs-rc-subsite-staging-var-www-rc-storage-logs: [2019-11-22 02:39:48] lumen.ERROR: File not found:file_get_contents(https://resourcecontracts-admin-demo.s3-us-west-2.amazonaws.com/2578/2578-avenant-n-2-contrat-associat-conces-baguel.txt): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Nov 22 04:51:17 374d4a48ee05 ecs-rc-subsite-staging-var-www-rc-storage-logs: [2019-11-22 02:51:17] lumen.ERROR: exception 'ErrorException' with message 'readfile(https://resourcecontracts-admin-demo.s3-us-west-2.amazonaws.com/2237/2237-convention-ksar-haddada.pdf): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Nov 22 05:42:31 374d4a48ee05 ecs-rc-subsite-staging-var-www-rc-storage-logs: [2019-11-22 03:42:31] lumen.ERROR: exception 'ErrorException' with message 'readfile(https://resourcecontracts-admin-demo.s3-us-west-2.amazonaws.com/2586/2586-kamoa-copper-sa-zijin-mining-group-co-limited-kamoa-holding-limited-2016.pdf): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Nov 22 06:01:34 e1c70a2e6efd ecs-rp2-production-nginx-error.log: 2019/11/22 04:01:34 [crit] 14#14: *293168 connect() to [::1]:7000 failed (99: Address not available) while connecting to upstream, client: 10.0.0.55, server: localhost, request: "GET /dataset/rgi-hydrocarbons-2016-open-data-portal-2 HTTP/1.1", upstream: "http://[::1]:7000/dataset/rgi-hydrocarbons-2016-open-data-portal-2", host: "www.resourceprojects.org"
Nov 22 06:10:17 374d4a48ee05 ecs-rc-subsite-staging-var-www-rc-storage-logs: [2019-11-22 04:10:17] lumen.ERROR: File not found:file_get_contents(https://resourcecontracts-admin-demo.s3-us-west-2.amazonaws.com/2765/2765-medea-development-limited-cola-natural-resources-ghana-national-petroleum-corporation-east-cape-three-points-concession-agreement-2013.txt): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Nov 22 06:56:57 374d4a48ee05 ecs-rc-subsite-staging-var-www-rc-storage-logs: [2019-11-22 04:56:57] lumen.ERROR: exception 'ErrorException' with message 'readfile(https://resourcecontracts-admin-demo.s3-us-west-2.amazonaws.com/2385/2385-ndiouck-wakali-ginde-concession-2016.pdf): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Nov 22 07:05:12 374d4a48ee05 ecs-rc-subsite-staging-var-www-rc-storage-logs: [2019-11-22 05:05:12] lumen.ERROR: File not found:file_get_contents(https://resourcecontracts-admin-demo.s3-us-west-2.amazonaws.com/2761/2761-agm-petroleum-ghana-limited-ghana-national-petroleum-corporation-gnpc-exploration-and-production-company-limited-south-deepwater-tano-block-extension-.txt): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
@adinuca commented on Tue Jul 02 2019
Why
RC subsites cannot access files from S3.
What
Notes
@adinuca commented on Tue Jul 02 2019
PDF does not exist in S3.