You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/08/23 09:27:17 UTC

[GitHub] [superset] korjavin opened a new issue, #21160: Docker compose is broken

korjavin opened a new issue, #21160:
URL: https://github.com/apache/superset/issues/21160

   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   
   1. docker-compose up
   2. http://localhost:8088  <- error
   3. Scroll down to console
   4. See error
   ```
   superset_worker         |     raise exception
   superset_worker         |   File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1819, in _execute_context
   superset_worker         |     self.dialect.do_execute(
   superset_worker         |   File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 732, in do_execute
   superset_worker         |     cursor.execute(statement, parameters)
   superset_worker         | sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) relation "report_schedule" does not exist
   superset_worker         | LINE 2: FROM report_schedule 
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Docker compose deployment fails with "relation "report_schedule" does not exist" [superset]

Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on issue #21160:
URL: https://github.com/apache/superset/issues/21160#issuecomment-1810695815

   Closing as stale.  If folks encounter this issue again, please open a new issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] alephpt commented on issue #21160: Docker compose is broken

Posted by "alephpt (via GitHub)" <gi...@apache.org>.
alephpt commented on issue #21160:
URL: https://github.com/apache/superset/issues/21160#issuecomment-1736520181

   from what I can gather you need `psycopg2==2.9.3` in your requirements-local.txt and then you need to run `docker-compose -f docker-compose-non-dev.yml up`.
   
   From what I have gathered, docker-compose is not meant to be used to build the front-end and you will get errors in that regard, and non-dev does not rebuild the containers.. so you kind of have to use both of them together if you're going to try and use docker for production.
   
   I believe superset was meant to be run on bare metal or containerized in kubernetes via helm deployments.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] Narender-007 commented on issue #21160: Docker compose is broken

Posted by "Narender-007 (via GitHub)" <gi...@apache.org>.
Narender-007 commented on issue #21160:
URL: https://github.com/apache/superset/issues/21160#issuecomment-1711173005

   > A clear and concise description of what the bug is.
   > 
   > #### How to reproduce the bug
   > 1. docker-compose up
   > 2. http://localhost:8088  <- error
   > 3. Scroll down to console
   > 4. See error
   > 
   > ```
   > superset_worker         |     raise exception
   > superset_worker         |   File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1819, in _execute_context
   > superset_worker         |     self.dialect.do_execute(
   > superset_worker         |   File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 732, in do_execute
   > superset_worker         |     cursor.execute(statement, parameters)
   > superset_worker         | sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) relation "report_schedule" does not exist
   > superset_worker         | LINE 2: FROM report_schedule 
   > ```
   
   trying this command work it successfully
   i have got same error working successfully 
   
   step1: docker-compose down -v
   step2: docker-compose up


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] boulund commented on issue #21160: Docker compose is broken

Posted by GitBox <gi...@apache.org>.
boulund commented on issue #21160:
URL: https://github.com/apache/superset/issues/21160#issuecomment-1285626795

   I also experience the same problem. I documented my findings for the latest `2.0.0`, `2.0.1rc1` and `2.0.1rc2` tags in issue #17822 .


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] fajarprayogi commented on issue #21160: Docker compose is broken

Posted by "fajarprayogi (via GitHub)" <gi...@apache.org>.
fajarprayogi commented on issue #21160:
URL: https://github.com/apache/superset/issues/21160#issuecomment-1713293213

   > > A clear and concise description of what the bug is.
   > > #### How to reproduce the bug
   > > 
   > > 1. docker-compose up
   > > 2. http://localhost:8088  <- error
   > > 3. Scroll down to console
   > > 4. See error
   > > 
   > > ```
   > > superset_worker         |     raise exception
   > > superset_worker         |   File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1819, in _execute_context
   > > superset_worker         |     self.dialect.do_execute(
   > > superset_worker         |   File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 732, in do_execute
   > > superset_worker         |     cursor.execute(statement, parameters)
   > > superset_worker         | sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) relation "report_schedule" does not exist
   > > superset_worker         | LINE 2: FROM report_schedule 
   > > ```
   > 
   > trying this command work it successfully i have got same error working successfully
   > 
   > step1: docker-compose down -v step2: docker-compose up
   
   but this method run me in development env, if i run docker-compuse up with non dev nev still same


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] mAd-DaWg commented on issue #21160: Docker compose is broken

Posted by GitBox <gi...@apache.org>.
mAd-DaWg commented on issue #21160:
URL: https://github.com/apache/superset/issues/21160#issuecomment-1258093683

   I havent been able to find a single release for superset where docker-compose actually works. Attached is the logs for the docker-compose up for superset-1.5.2rc3. the master branch isn't any better.
   
   [superset_errors.txt](https://github.com/apache/superset/files/9646907/superset_errors.txt)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Docker compose deployment fails with "relation "report_schedule" does not exist" [superset]

Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on issue #21160:
URL: https://github.com/apache/superset/issues/21160#issuecomment-1761816321

   I gave this issue a more descriptive title.  I am not able to reproduce this error out of the box when setting up a new deployment with `docker compose` and Superset version 3.0.0.  I wonder if this issue should be closed -- it does not have a clear bug to solve -- but will leave it open a while longer in case others disagree.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Docker compose deployment fails with "relation "report_schedule" does not exist" [superset]

Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke closed issue #21160: Docker compose deployment fails with "relation "report_schedule" does not exist"
URL: https://github.com/apache/superset/issues/21160


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org