[GH-ISSUE #109] Error: SQLITE_CANTOPEN: unable to open database file #73

Closed
opened 2026-02-22 18:17:46 -05:00 by yindo · 0 comments
Owner

Originally created by @jhalbrecht on GitHub (Jun 26, 2023).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/109

I'm facing this when I attempt to start with yarn dev:server --verbose

I have updated these two .env files to reflect my UID and GID of 1001

./server/.env.development
./frontend/.env.production
jeffa@allmubuntu:~/dev/anything-llm$ yarn dev:server --verbose
yarn run v1.22.19
$ cd server && yarn dev --verbose
$ NODE_ENV=development nodemon --ignore documents --ignore vector-cache --ignore storage --trace-warnings index.js --verbose
[nodemon] 2.0.22
[nodemon] to restart at any time, enter `rs`
[nodemon] or send SIGHUP to 29064 to restart
[nodemon] ignoring: documents vector-cache ./storage/**/*
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node --trace-warnings index.js`
[nodemon] spawning
[nodemon] child pid: 29077
[nodemon] watching 26 files
[MIGRATING] Checking for Workspace migrations
validateTablePragmas: Migrations failed [Error: SQLITE_CANTOPEN: unable to open database file] {
  errno: 14,
  code: 'SQLITE_CANTOPEN'
}
Example app listening on port 3001

In another tab yarn dev:frontend the frontend does come up.

  VITE v4.3.9  ready in 605 ms

  ➜  Local:   http://localhost:3000/
  ➜  press h to show help

Originally created by @jhalbrecht on GitHub (Jun 26, 2023). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/109 I'm facing this when I attempt to start with `yarn dev:server --verbose` I have updated these two .env files to reflect my UID and GID of 1001 ``` ./server/.env.development ./frontend/.env.production ``` ``` jeffa@allmubuntu:~/dev/anything-llm$ yarn dev:server --verbose yarn run v1.22.19 $ cd server && yarn dev --verbose $ NODE_ENV=development nodemon --ignore documents --ignore vector-cache --ignore storage --trace-warnings index.js --verbose [nodemon] 2.0.22 [nodemon] to restart at any time, enter `rs` [nodemon] or send SIGHUP to 29064 to restart [nodemon] ignoring: documents vector-cache ./storage/**/* [nodemon] watching path(s): *.* [nodemon] watching extensions: js,mjs,json [nodemon] starting `node --trace-warnings index.js` [nodemon] spawning [nodemon] child pid: 29077 [nodemon] watching 26 files [MIGRATING] Checking for Workspace migrations validateTablePragmas: Migrations failed [Error: SQLITE_CANTOPEN: unable to open database file] { errno: 14, code: 'SQLITE_CANTOPEN' } Example app listening on port 3001 ``` In another tab `yarn dev:frontend` the frontend does come up. ``` VITE v4.3.9 ready in 605 ms ➜ Local: http://localhost:3000/ ➜ press h to show help ```
yindo closed this issue 2026-02-22 18:17:46 -05:00
yindo changed title from Error: SQLITE_CANTOPEN: unable to open database file to [GH-ISSUE #109] Error: SQLITE_CANTOPEN: unable to open database file 2026-06-05 14:33:20 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#73