esp32-idf-sqlite3 icon indicating copy to clipboard operation
esp32-idf-sqlite3 copied to clipboard

ESP32 nodemcu-32s - "Can't open database: unable to open database file"

Open pixel-shock opened this issue 1 year ago • 2 comments

Hi,

I am getting this error while following the examples

Can't open database: unable to open database file

and have no clue why. The file exists on the FS (SPIFFS) and it's accessable and readable with "normal" FS functions like fs.open.

Image

I would appreciate any ideas to solve the problem 😉

PS: Is this repo still maintained?

pixel-shock avatar Jan 20 '25 06:01 pixel-shock

it's accessable and readable with "normal" FS functions like fs.open

This repository uses posix open instead of fs.open.

You need an environment for this to work. https://github.com/espressif/esp-idf/tree/master/examples/storage/spiffs

nopnop2002 avatar Jan 24 '25 21:01 nopnop2002

sorry for that ... that was just the only log I got. But nontheless - I switchted to a simple json storage ... the lib is to big for my project and it's not working and maybe not maintained anymore ..

But thank you anyways!

pixel-shock avatar Jan 25 '25 13:01 pixel-shock