Where on the filesystem is it trying to create the sqlite database?
Resolved 💬 10 comments Opened May 6, 2025 by ianchesal Closed May 7, 2025
For running containered, I'd like to know were on the filesystem the CLI is trying to create the database so I can ensure it's mapped in as a bind mount, persisted between sessions, and has the correct permissions inside the container to read and write the database.
This is what I'm seeing:
codeuser@8419d2b29ca8:/app$ claude --resume
Database is not available. Continue/resume features are disabled.
This is likely due to issues with the better-sqlite3 dependency.
To fix: Try globally reinstalling better-sqlite3 with your package manager.
For more detail, see: https://github.com/WiseLibs/better-sqlite3/blob/master/docs/troubleshooting.md
And I'm fairly confident it's just a read/write issue on whatever path the CLI is trying to use for this database I need to sort out in my container.
This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗