Closed smit1678 closed 3 years ago
This is another fallout from the server change. For whatever reason, previously /tmp/uploader-api
permanently existed on the host server, however now, as is normal for /tmp
, files and folder are removed once they reach a certain age.
So I easily fixed this just now with mkdir /tmp/uploader-api
. Problem is of course, that will then be deleted again in, I think in about 10 days. So I've also changed the mount declaration in docker-compose.yml
to just mount /tmp
to '/tmp', which just means all the upload imagery will just live in the base of /tmp
, which is not much of a problem.
However, this fix and the ones in hotosm/oam-uploader#78 have not been committed to any repo's yet. I'm waiting for feedback/further problems/better ideas, etc.
Processing error flagged by a user during a recent upload: https://upload.openaerialmap.org/#/status/595d00936fe81d0011b03069.
First glance at the logs seems that it may be related to the tmpfs changes that were recently made. It's a browser-based upload.
Running
gdalinfo /vsicurl/https://s3.amazonaws.com/oam-uploader-production-temp/KhlongToeiBig1duplicate_Orthomosaic_export_WedJul05-w501uxpk.tif
doesn't show anything in particular and so it seems this may be related to the tmpfs change.cc @tombh