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 2021/02/06 16:07:12 UTC

[GitHub] [superset] JakeXu commented on issue #12723: database test does not exist,and image 404

JakeXu commented on issue #12723:
URL: https://github.com/apache/superset/issues/12723#issuecomment-774499852


   > I have the same issue when running docker-compose up from a Mac running latest Docker Desktop. There's no evidence of network errors in the startup logs, but I have flask_appbuilder errors. And the end result is the same - a blank page with broken image links and buttons.
   > 
   > ```
   > db_1                     | CREATE DATABASE
   > db_1                     |
   > db_1                     |
   > db_1                     | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
   > db_1                     |
   > db_1                     | 2021-01-25 18:27:34.546 UTC [48] LOG:  received fast shutdown request
   > db_1                     | waiting for server to shut down....2021-01-25 18:27:34.547 UTC [48] LOG:  aborting any active transactions
   > db_1                     | 2021-01-25 18:27:34.549 UTC [48] LOG:  worker process: logical replication launcher (PID 55) exited with exit code 1
   > db_1                     | 2021-01-25 18:27:34.551 UTC [50] LOG:  shutting down
   > db_1                     | 2021-01-25 18:27:34.563 UTC [48] LOG:  database system is shut down
   > db_1                     |  done
   > db_1                     | server stopped
   > db_1                     |
   > db_1                     | PostgreSQL init process complete; ready for start up.
   > db_1                     |
   > db_1                     | 2021-01-25 18:27:34.659 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
   > db_1                     | 2021-01-25 18:27:34.659 UTC [1] LOG:  listening on IPv6 address "::", port 5432
   > db_1                     | 2021-01-25 18:27:34.661 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
   > db_1                     | 2021-01-25 18:27:34.672 UTC [76] LOG:  database system was shut down at 2021-01-25 18:27:34 UTC
   > db_1                     | 2021-01-25 18:27:34.677 UTC [1] LOG:  database system is ready to accept connections
   > superset_node            | npm WARN using --force I sure hope you know what you are doing.
   > superset_app             |  * Serving Flask app "superset.app:create_app()" (lazy loading)
   > superset_app             |  * Environment: development
   > superset_app             |  * Debug mode: on
   > superset_app             |  * Running on http://0.0.0.0:8088/ (Press CTRL+C to quit)
   > superset_app             |  * Restarting with stat
   > superset_tests_worker    | INFO:superset.utils.logging_configurator:logging was configured successfully
   > db_1                     | 2021-01-25 18:27:38.783 UTC [83] FATAL:  database "test" does not exist
   > superset_tests_worker    | /usr/local/lib/python3.7/site-packages/flask_caching/__init__.py:192: UserWarning: Flask-Caching: CACHE_TYPE is set to null, caching is effectively disabled.
   > superset_tests_worker    |   "Flask-Caching: CACHE_TYPE is set to null, "
   > superset_tests_worker    | ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: (psycopg2.OperationalError) FATAL:  database "test" does not exist
   > superset_tests_worker    |
   > superset_tests_worker    | (Background on this error at: http://sqlalche.me/e/13/e3q8)
   > ```
   
   After changing to the CentOS environment with RAM 8G, everything is well done, fixed it for me, you can try it


----------------------------------------------------------------
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.

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