root@btc-01:~# ll /data-02/repo/rosetta/
total 12
drwxr-xr-x 3 root root 4096 Aug 15 19:38 ./
drwxr-xr-x 7 root root 4096 Aug 15 19:38 ../
drwxrwxrwx 2 root root 4096 Aug 15 18:45 _data/
root@btc-01:~# docker run --volume /data-02/repo/rosetta:/data --interactive --tty --publish 58081:8080 --rm dfinity/rosetta-api:v1.8.0 --mainnet --not-whitelisted
11:39:24.301368 INFO [main] ic_rosetta_api - Starting ic-rosetta-api, pkg_version: 1.8.0
11:39:24.301392 INFO [main] ic_rosetta_api - Listening on 0.0.0.0:8080
11:39:24.301471 INFO [main] ic_rosetta_api - Token symbol set to ICP
thread 'main' panicked at 'Unable to open SQLite database connection: SqliteFailure(Error { code: CannotOpen, extended_code: 14 }, Some("unable to open database file: /data/db.sqlite"))', rs/rosetta-api/ledger_canister_blocks_synchronizer/src/blocks.rs:659:47
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I’ve already created this directory, but when I mount /data-02/repo/rosetta:/data with --volume, it gives me an error!!
1 post - 1 participant