question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docker-compose installation stop with SQL errors

See original GitHub issue

Hi 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:closed
  • Created 6 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
arikfrcommented, Dec 13, 2017

You probably need a newer version of Node.js and npm.

1reaction
arikfrcommented, Dec 11, 2017

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?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing MySQL in Docker fails with error message "Can't ...
Installing MySQL in Docker fails with error message "Can't connect to local MySQL server through socket" - Stack Overflow. Stack Overflow for ...
Read more >
Docker-Compose up -d fails with unhealthy xconnect and cm
When I run docker-compose up it times out on the xconnect healthcheck because of a SQL login error to the Sitecore.Xdb.Collection.
Read more >
Error with docker-compose installation at alfresco-admin-app ...
I apply Alfresco 30 Day Trial After logging in deployment does not finish downloading images. It gets stuck on an "unauthorized access"
Read more >
Configure and customize SQL Server Docker containers
Understand the different ways to customize SQL Server Docker Containers and how you can configure it based on your requirements.
Read more >
Docker Compose Installation Guide
If you don't already have Docker Compose installed, ... inedo-sql restart: unless-stopped ports: - "1433:1433" networks: inedo: aliases: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found