-
When I was deployed outline in Docker, I've got those warning information of below text, (node:91) UnhandledPromiseRejectionWarning: SequelizeDatabaseError: relation "users" does not exist
at Query.formatError (/opt/outline/node_modules/sequelize/lib/dialects/postgres/query.js:354:16)
at query.catch.err (/opt/outline/node_modules/sequelize/lib/dialects/postgres/query.js:71:18)
at tryCatcher (/opt/outline/node_modules/sequelize/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/opt/outline/node_modules/sequelize/node_modules/bluebird/js/release/promise.js:517:31)
at Promise._settlePromise (/opt/outline/node_modules/sequelize/node_modules/bluebird/js/release/promise.js:574:18)
at Promise._settlePromise0 (/opt/outline/node_modules/sequelize/node_modules/bluebird/js/release/promise.js:619:10)
at Promise._settlePromises (/opt/outline/node_modules/sequelize/node_modules/bluebird/js/release/promise.js:695:18)
at _drainQueueStep (/opt/outline/node_modules/sequelize/node_modules/bluebird/js/release/async.js:138:12)
at _drainQueue (/opt/outline/node_modules/sequelize/node_modules/bluebird/js/release/async.js:131:9)
at Async._drainQueues (/opt/outline/node_modules/sequelize/node_modules/bluebird/js/release/async.js:147:5)
at Immediate.Async.drainQueues (/opt/outline/node_modules/sequelize/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
(node:91) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:91) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. |
Beta Was this translation helpful? Give feedback.
Answered by
tommoor
Sep 25, 2020
Replies: 2 comments
-
@kxshu How did you fix it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You need to create the database schema:
or
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tommoor
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to create the database schema:
yarn sequelize db:migrate
or
docker run --rm outlinewiki/outline yarn sequelize db:migrate