And also seems to work, but when I run it and I try in the front-end to "Upload to DataStore" I get the following error:
--- no python application found, check your startup logs for errors ---
[uwsgi-http key: 127.0.0.1:8800 client_addr: 127.0.0.1 client_port: 64132] hr_instance_read(): Connection reset by peer [plugins/http/http.c line 647]
[pid: 2308|app: -1|req: -1/1] 127.0.0.1 () {36 vars in 423 bytes} [Thu Oct 15 14:46:46 2020] POST /job => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
And on the Browser:
Upload error: An Error occurred while sending the job: 500 Server Error: Internal Server Error for url: http://127.0.0.1:8800/job
I would appreciate if you could help me on this one. Thanks!
Here is the full log: for (datapusher) root@ckan:/usr/lib/ckan/datapusher# /usr/lib/ckan/datapusher/bin/uwsgi -i /usr/lib/ckan/datapusher/src/datapusher/deployment/datapusher-uwsgi.ini
[uWSGI] getting INI configuration from /usr/lib/ckan/datapusher/src/datapusher/deployment/datapusher-uwsgi.ini
*** Starting uWSGI 2.0.19.1 (64bit) on [Thu Oct 15 14:48:09 2020] ***
compiled with version: 8.3.0 on 15 October 2020 11:47:53
os: Linux-4.19.0-9-amd64 #1 SMP Debian 4.19.118-2 (2020-04-29)
nodename: ckan
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /usr/lib/ckan/datapusher
writing pidfile to /tmp/datapusher-uwsgi.pid
detected binary path: /usr/lib/ckan/datapusher/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
setuid() to 33
your processes number limit is 7864
your memory page size is 4096 bytes
*** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers ***
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uWSGI http bound on 127.0.0.1:8800 fd 4
uwsgi socket 0 bound to TCP address 127.0.0.1:43369 (port auto-assigned) fd 3
Python version: 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0]
PEP 405 virtualenv detected: /usr/lib/ckan/datapusher
Set PythonHome to /usr/lib/ckan/datapusher
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x56314d4b9b40
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 203152 bytes (198 KB) for 1 cores
*** Operational MODE: single process ***
Traceback (most recent call last):
File "/usr/lib/ckan/datapusher/src/datapusher/deployment/datapusher.wsgi", line 11, in <module>
import datapusher.jobs as jobs
ModuleNotFoundError: No module named 'datapusher'
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. going in full dynamic mode ***
spawned uWSGI master process (pid: 2315)
spawned uWSGI worker 1 (pid: 2318, cores: 1)
spawned uWSGI http 1 (pid: 2319)
I am trying to run Datapusher on ckan 2.9.
I follow the installation pages describe in https://github.com/ckan/datapusher/blob/master/README.md
And also seems to work, but when I run it and I try in the front-end to "Upload to DataStore" I get the following error:
And on the Browser:
Upload error: An Error occurred while sending the job: 500 Server Error: Internal Server Error for url: http://127.0.0.1:8800/job
I would appreciate if you could help me on this one. Thanks!
Here is the full log: for
(datapusher) root@ckan:/usr/lib/ckan/datapusher# /usr/lib/ckan/datapusher/bin/uwsgi -i /usr/lib/ckan/datapusher/src/datapusher/deployment/datapusher-uwsgi.ini