u/Dewdropmon

Error trying to launch.

I'm having trouble getting Stacher7 to launch on Linux Mint. It was working normally this morning. When i got home from work I had to restart my computer and when I tried to start Stacher up again, it wouldn't open at all. It started a bunch of background processes but the program window never appeared. when I tried to launch it from the terminal I got this error.

Error initializing database: SqliteError: database is locked
    at Database.pragma (/usr/lib/stacher7/resources/app.asar/node_modules/better-sqlite3/lib/methods/pragma.js:10:27)
    at Ae.initializeDatabase (/usr/lib/stacher7/resources/app.asar/.vite/build/main.js:1:53276)
    at new Ae (/usr/lib/stacher7/resources/app.asar/.vite/build/main.js:1:52928)
    at Ae.getInstance (/usr/lib/stacher7/resources/app.asar/.vite/build/main.js:552:1102)
    at Module.<anonymous> (/usr/lib/stacher7/resources/app.asar/.vite/build/main.js:552:1162)
    at Module._compile (node:internal/modules/cjs/loader:1714:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1848:10)
    at Module.load (node:internal/modules/cjs/loader:1448:32)
    at Module._load (node:internal/modules/cjs/loader:1270:12)
    at c._load (node:electron/js2c/node_init:2:17993) {
  code: 'SQLITE_BUSY'
}
Database Error
An error occurred while initializing the database: SqliteError: database is locked
No license key file found.
Registering IPC event handlers for LicenseManager
(node:8854) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `stacher7 --trace-deprecation ...` to show where the warning was created)
A JavaScript error occurred in the main process
Uncaught Exception:
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Ct.deserialize (/usr/lib/stacher7/resources/app.asar/.vite/build/main.js:645:23642)
    at new Ct (/usr/lib/stacher7/resources/app.asar/.vite/build/main.js:645:22440)
    at Module.<anonymous> (/usr/lib/stacher7/resources/app.asar/.vite/build/main.js:649:25518)
    at Module._compile (node:internal/modules/cjs/loader:1714:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1848:10)
    at Module.load (node:internal/modules/cjs/loader:1448:32)
    at Module._load (node:internal/modules/cjs/loader:1270:12)
    at c._load (node:electron/js2c/node_init:2:17993)
    at node:electron/js2c/browser_init:2:135752

I tried purging and reinstalling but that error persists. I installed from the .deb package on the official website and always updated from within Stacher itself. I was also on the most recent version.

reddit.com
u/Dewdropmon — 1 day ago