这是indexloc提供的服务,不要输入任何密码
Skip to content

Error: SQLITE_CANTOPEN: unable to open database file #109

@jhalbrecht

Description

@jhalbrecht

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions