After installing Cursor CLI and restarting the command line, when trying to run a prompt, it displays the following: Error: SQLITE_IOERR: disk I/O error
The message appears briefly and then returns to the input to type the prompt.
Hey, thanks for the report. This looks like a disk permissions or storage issue with the SQLite database that Cursor CLI uses locally. Here’s what you can try:
First, check that you have enough disk space and that your home directory has write permissions. The CLI stores its database in your user directory.
Also check your filesystem on Ubuntu 22.04, especially if you use an encrypted home directory or have disk errors.
After doing this, cursor-agent works normally. This strongly suggests the issue is with SQLite file locking/IO semantics on virtiofs rather than storage/permissions.