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.

[πŸ›] SequelizeDatabaseError: SQLITE_ERROR: no such table: Wallet

See original GitHub issue

πŸ› Bug report

Description

Not able to run Juice Shop locally or via Docker

Is this a regression?

well, I definitely was running Juice Shop successfully before, do not remember the version exactly

πŸ”¬ Minimal Reproduction

locally:

  1. Install node.js
  2. Run git clone https://github.com/bkimminich/juice-shop.git (or clone your own fork of the repository)
  3. Go into the cloned folder with cd juice-shop
  4. Run npm install (only has to be done before first start or when you change the source code)
  5. Run npm start

via Docker:

  1. Install Docker
  2. Run docker pull bkimminich/juice-shop
  3. Run docker run --rm -p 3000:3000 bkimminich/juice-shop

πŸ”₯ Exception or Error

output is the same for both Docker and local setup:




> juice-shop@10.3.0 start /juice-shop
> node app

info: All dependencies in ./package.json are satisfied (OK)
info: Detected Node.js version v13.14.0 (OK)
info: Detected OS linux (OK)
info: Detected CPU x64 (OK)
info: Required file index.html is present (OK)
info: Required file styles.css is present (OK)
info: Required file main-es2015.js is present (OK)
info: Required file tutorial-es2015.js is present (OK)
info: Required file polyfills-es2015.js is present (OK)
info: Required file runtime-es2015.js is present (OK)
info: Required file vendor-es2015.js is present (OK)
info: Required file main-es5.js is present (OK)
info: Required file tutorial-es5.js is present (OK)
info: Required file polyfills-es5.js is present (OK)
info: Required file runtime-es5.js is present (OK)
info: Required file vendor-es5.js is present (OK)
info: Configuration default validated (OK)
info: Port 3000 is available (OK)
Unhandled rejection SequelizeDatabaseError: SQLITE_ERROR: no such table: Wallets
    at Query.formatError (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:422:16)
    at Query._handleQueryResponse (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:73:18)
    at afterExecute (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:250:31)
    at replacement (/juice-shop/node_modules/sqlite3/lib/trace.js:19:31)
    at Statement.errBack (/juice-shop/node_modules/sqlite3/lib/sqlite3.js:14:21)
Unhandled rejection SequelizeDatabaseError: SQLITE_ERROR: no such table: Feedbacks
    at Query.formatError (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:422:16)
    at Query._handleQueryResponse (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:73:18)
    at afterExecute (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:250:31)
    at replacement (/juice-shop/node_modules/sqlite3/lib/trace.js:19:31)
    at Statement.errBack (/juice-shop/node_modules/sqlite3/lib/sqlite3.js:14:21)
Unhandled rejection SequelizeDatabaseError: SQLITE_ERROR: no such table: Complaints
    at Query.formatError (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:422:16)
    at Query._handleQueryResponse (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:73:18)
    at afterExecute (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:250:31)
    at replacement (/juice-shop/node_modules/sqlite3/lib/trace.js:19:31)
    at Statement.errBack (/juice-shop/node_modules/sqlite3/lib/sqlite3.js:14:21)

🌳 Your Environment




Node: v12.7.0
NPM: 6.10.0
OS: Linux Mint 18.3 (Sylvia)

Additional Information

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
Scar26commented, May 5, 2020

I’ve ran into this issue on an alternate machine before. I don’t know how to fix it as of now and have been unable to reproduce the error, but it’s actually little more than a mild annoyance. If you let it run for a minute, the same errors pop up a few times, after the which the application starts and runs normally without any issues

2reactions
bkimminichcommented, May 5, 2020

I’ll add that to the Troubleshooting guide as a recommendation… The classic β€œplease try again later”… πŸ˜‚

Read more comments on GitHub >

github_iconTop Results From Across the Web

SQLITE_ERROR: no such table: Wallet Β· Issue #1380 ... - GitHub
Run docker run --rm -p 3000:3000 bkimminich/juice-shop. πŸ”₯ Exception or Error. output is the same for both Docker and local setup: > juice-shop@Β ......
Read more >
SequelizeDatabaseError: SQLITE_ERROR: no such table
I'm using Sequelize with sqlite and when i try to insert data to the table gives me the error
Read more >
bkimminich/juice-shop - Gitter
This error originated either by throwing inside of an async function ... Unhandled rejection SequelizeDatabaseError: SQLITE_ERROR: no such table: Feedbacks
Read more >
SQLITE_ERROR: no such table - SAP Community
Hi, in an attempt to learn about the authentication and authorisation in CAP apps on Cloud Foundry I have been using this documentationΒ ......
Read more >
Troubleshooting - Pwning OWASP Juice Shop
If you are sure to have found a bug in the Juice Shop itself please open ... Please do not file questions or...
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