Skip to content

tmp data path #33

@benjiqq

Description

@benjiqq

I get the following error. Tried a fix with sbt recompile && sbt startLocal1 and deleting all tmp folders, but didn't work for me.

tmp data gets stored in e.g. /tmp/wallet1 . I suggest a folder such as /tmp/scorex/wallet1 (so one can rm -r /tmp/scorex).

[main] >> [ERROR] scorex.Server$ >> 12:35:45.527  STARTUP ERROR: 
org.mapdb.DBException$DataCorruption: wrong header in file: /tmp/wallet1/wallet.s.dat
    at org.mapdb.StoreDirect.initOpen(StoreDirect.java:178) ~[scorex.jar:1.1.0-SNAPSHOT]
    at org.mapdb.StoreWAL.initOpenPost(StoreWAL.java:227) ~[scorex.jar:1.1.0-SNAPSHOT]
...
Caused by: java.io.IOException: Parent folder does not exist: /tmp/data1/signatures
    at org.mapdb.Volume$FileChannelVol.checkFolder(Volume.java:1790)
    at org.mapdb.Volume$MappedFileVol.<init>(Volume.java:1158)
    ... 24 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions