-
-
Notifications
You must be signed in to change notification settings - Fork 267
OpenError: IO error: ./tmp/database: Invalid argument #606
Comments
|
|
@vweevers I created a repo to reproduce the steps: https://github.com/cre8/leveldb: running
Even when the tmp folder does not exist yet docker will create and use it |
Ah, you're using alpine? IIRC leveldown doesn't support it, in the past I had to do |
I don't think that alpine is the problem: I used the image for some weeks and it worked pretty well. I changed the image to a normal node one:
still the same error... |
OK. Well if anything, At a quick glance, your setup looks good otherwise. Will need more time to investigate. |
@cre8 Did you manage to solve this or is this still an issue? Please re-open if needed. |
@ralphtheninja I found a solution, but I can't remember the fixes I made to fix it... |
I use level in a docker container and it worked quite well, but the last days I get an error:
(node:16) UnhandledPromiseRejectionWarning: OpenError: IO error: ./tmp/database: Invalid argument at /block/node_modules/levelup/lib/levelup.js:87:23
The folder and files for the database are created. When I change the location to
./database
it works, but no more with a location in a subfolder.The text was updated successfully, but these errors were encountered: