Skip to content

Failed to run the query 'PRAGMA journal_mode = WAL' #20118

@chrissound

Description

@chrissound

Description

I think I ran a newer version of opencode, but then went back to 1.3.2. Fair enough something got messed up but maybe some better error handling might be useful here or at least having the log file actually exist.

[chris@worksoul:/vmTmp/git-repos/DeepVector/I7JAPaet]$ opencode
Error: Unexpected error, check log file at /home/chris/.local/share/opencode/log/2026-03-30T190924.log for more details

Failed to run the query 'PRAGMA journal_mode = WAL'

[chris@worksoul:/vmTmp/git-repos/DeepVector/I7JAPaet]$ cat /home/chris/.local/share/opencode/log/2026-03-30T190924.log
cat: /home/chris/.local/share/opencode/log/2026-03-30T190924.log: No such file or directory

[chris@worksoul:/vmTmp/git-repos/DeepVector/I7JAPaet]$ opencode --version
1.3.2

Plugins

none to my knowledge

OpenCode version

1.3.2

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Nixos

Terminal

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions