TTN stack V3 on docker for Windows


(Icecoldangel) #1

running docker desktop on Windows10 pro.

cockroach log (.env\data\cockroach\logs) shows:

I190131 19:55:22.077773 28 storage/engine/rocksdb.go:574 opening rocksdb instance at “/cockroach/cockroach-data/cockroach-temp122902772”
E190131 19:55:22.129380 1 cli/error.go:230 failed to start server: could not create temp storage: could not open rocksdb instance: IO error: While fsync: a directory: Invalid argument
Error: failed to start server: could not create temp storage: could not open rocksdb instance: IO error: While fsync: a directory: Invalid argument

if you try docker-compose up

cockroach_1 | * ERROR: failed to start server: could not create temp storage: could not open rocksdb instance: IO error: While fsync: a directory: Invalid argument
cockroach_1 | *
cockroach_1 | Failed running “start”
lorawan-stack-master_cockroach_1 exited with code 1

There appears to be a ticket on cockroach for this issue (and possible work around) but I have not got it working yet: https://github.com/cockroachdb/docs/issues/3184