GeoNode / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
https://geonode.org/
Other
1.46k stars 1.13k forks source link

Geonode cant upload geoTiff #12615

Open fabiomonticelli23 opened 2 months ago

fabiomonticelli23 commented 2 months ago

Expected Behavior

Uploading a geotiff

Actual Behavior

While trying to load a geotiff via API or GUI gives

Steps to Reproduce the Problem

1.build application with docker compose 2.calling post api/v2/uploads/upload 3.loading a geotiff gives this error: Failed to make DELETE request: 500, Failed to create reader from file:/usr/src/geonode/geonode/uploaded/tmpo3qrjgqc/output.tiff

image

Specifications

fabiomonticelli23 commented 2 months ago

i thought it was a permission error and i tried to add in settings.py this 2 variable:

FILE_UPLOAD_PERMISSIONS = 0o777 FILE_UPLOAD_DIRECTORY_PERMISSIONS = 0o777

but got the same result