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.

ENiGMA throws a database error on first launch

See original GitHub issue

Short problem description The first time ENiGMA is run an error is thrown about missing database tables, and then exits. When relaunching, it goes away.

Error initializing: { [Error: SQLITE_ERROR: no such table: system_stat] errno: 1, code: 'SQLITE_ERROR' }
Error initializing: { [Error: SQLITE_ERROR: no such table: system_stat] errno: 1, code: 'SQLITE_ERROR' }

Environment

  • Using Node 4.4, occurs on multiple 4.4.x versions
  • npm install reports success
  • Actual Node.js version (node --version): 4.4.7
  • Operating system: Linux david-ThinkPad-T410 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux. Also occurs on Raspberry Pi Raspbian, so not suspected to be OS specific.
  • Revision: b80cd18 (occured prior to this revision)

Expected behavior Enigma should launch with no errors on first run.

Actual behavior Enigma starts, then immediately exits with the following error:

Error initializing: { [Error: SQLITE_ERROR: no such table: system_stat] errno: 1, code: 'SQLITE_ERROR' }
Error initializing: { [Error: SQLITE_ERROR: no such table: system_stat] errno: 1, code: 'SQLITE_ERROR' }

Steps to reproduce Perform a clean install of Enigma so no database exists, then launch Enigma for the first time.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
davestephenscommented, Sep 1, 2016

Typically I can’t reproduce this now, when I could consistently last week. I’m about to do a new install, will see if it happens again…

0reactions
NuSkoolercommented, Jan 10, 2017

@Fastidious Yes this “should be fixed”. Please post a stack + log if possible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - ENIGMA Development Environment
This page will provide several commonly encountered problems, errors, exceptions, or issues, and try to provide a solution, workaround, ...
Read more >
Enigma Reference Manual
This first chapter should give you some valuable information about these questions, and provide some basic knowledge you will need to manage level...
Read more >
An error occurred using the connection to database '' on ...
When I run update-database it is throwing this exception: fail: Microsoft.EntityFrameworkCore.Database.Connection[20004] An error occurred using ...
Read more >
How To Fix The "Error Establishing a Database Connection" in ...
The first thing to do is check to ensure your database login credentials are correct. This is by far the most common reason...
Read more >
SQL SERVER - FIX : ERROR : Cannot open database ...
In newly opened screen of Login Properties, go to the “User Mapping” tab. Then, on the “User Mapping” tab, select the desired database...
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