docker-compose installation stop with SQL errors
See original GitHub issueHi All,
I’m trying to install redash using docker-compose on Linux Ubuntu 16.04.
I’ve installed docker, docker-compose, nodejs npm
I unziped the full GIT in a dedicated folder.
then from this folder I started
docker-compose up
the install start and run for few minutes, then
first error :
worker_1 | [2017-12-11 01:49:01,392][PID:11][INFO][Worker-3] Current version: 4.0.0 worker_1 | [2017-12-11 01:49:01,392][PID:10][INFO][Worker-2] task_name=redash.tasks.refresh_schemas task_id=f7f34432-7a57-4be6-b2d5-01ba56e54e44 task=refresh_schemas state=start worker_1 | [2017-12-11 01:49:01,393][PID:1][INFO][MainProcess] Received task: redash.tasks.cleanup_tasks[2972f10c-7a17-41da-ab5b-1288176cf45e] worker_1 | [2017-12-11 01:49:01,396][PID:1][INFO][MainProcess] Received task: redash.tasks.refresh_queries[f73de587-681d-4820-9f33-b1083ba6cc83] worker_1 | [2017-12-11 01:49:01,397][PID:1][INFO][MainProcess] Received task: redash.tasks.cleanup_query_results[f63116ca-1258-409f-a78d-0993b30af2ae] postgres_1 | ERROR: relation "data_sources" does not exist at character 395 postgres_1 | STATEMENT: SELECT data_sources.id AS data_sources_id, data_sources.org_id AS data_sources_org_id, data_sources.name AS data_sources_name, data_sources.type AS data_sources_type, data_sources.options AS data_sources_options, data_sources.queue_name AS data_sources_queue_name, data_sources.scheduled_queue_name AS data_sources_scheduled_queue_name, data_sources.created_at AS data_sources_created_at postgres_1 | FROM data_sources worker_1 | [2017-12-11 01:49:01,420][PID:1][ERROR][MainProcess] Task redash.tasks.refresh_schemas[f7f34432-7a57-4be6-b2d5-01ba56e54e44] raised unexpected: ProgrammingError('(psycopg2.ProgrammingError) relation "data_sources" does not exist\nLINE 2: FROM data_sources\n ^\n',) worker_1 | Traceback (most recent call last): worker_1 | File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 240, in trace_task
Many SQL error in between
last error
ProgrammingError: (psycopg2.ProgrammingError) relation "queries" does not exist worker_1 | LINE 2: FROM queries LEFT OUTER JOIN query_results AS query_results_...
Here the install freeze.
I run manualy after that :
docker-compose run --rm server create_db
that look like working
but with
http://localhost:5000/
I can display the initial login page to setup the admin access, but upon submission I have a web error and i’m stuck.
==> any idea how to fix the install process ?
Best Regards, Stephane
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top GitHub Comments
You probably need a newer version of Node.js and npm.
Hi,
Running
create_db
is one of the required steps to make it work, until you run the application will indeed complain about missing columns.Did you run the setup phase after running
create_db
? If you have, what is the current server error you’re getting?