CKAN common errors

These are two errors and the solutions encountered installing CKAN:

1. Upload error: An Error occurred while sending the job: 500 Server Error: INTERNAL SERVER ERROR

with this error in datapusher.error.log:
OperationalError: (OperationalError) attempt to write a readonly database u’INSERT INTO jobs …

The solution is:

check the configuration parameter SQLALCHEMY_DATABASE_URI in datapusher_settings.py, it should point to a file where the webserver has permissions to write

2. Error: Process completed but unable to post to result_url

with this error in datapusher.error.log:
ConnectionError: (‘Connection aborted.’, error(111, ‘Connection refused’))

The solution is:

check the parameter ckan.site_url in development.ini/production.ini, it should have the correct port and host:

ckan.site_url=http://{ckan_host}:{ckan_port}

Lascia un commento

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...