okfn / docker-ckan

Docker images and Docker Compose setup for CKAN [Not Maintained]
GNU Affero General Public License v3.0
81 stars 88 forks source link

Datapusher missing --enable-threads? #106

Open t-book opened 1 year ago

t-book commented 1 year ago

Hi,

thanks for this great docker composition of cKAN.

When running the stack and trying to upload/preview a csv file I do see a warning in datapusher logs that it is missing --enable--threads on uWSGI startup

https://github.com/okfn/docker-ckan/blob/4b4e21ba4e21ada2e64f35731f56fcd664d16aea/datapusher/Dockerfile#L56

After adding the option:

`uwsgi --plugins=http,python --http=0.0.0.0:8800 --socket=/tmp/uwsgi.sock --enable-threads --ini=`echo ${APP_DIR}`/datapusher-uwsgi.ini --wsgi-file=`echo ${APP_DIR}`/datapusher.wsgi"]`

The preview of CSV files in a datatable preview works nicely.

Thought I leave this information for others or devs in case the current is not intendent.