You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
With the official docker image (chrislusf/seaweedfs) configuring the filer with leveldb3 as filer store with target dir /data/filerldb3 fails on startup as the directory doesn't exist.
W0314 09:04:01 1 filer_server.go:117] skipping default store dir in ./filerldb2
I0314 09:04:01 1 leveldb3_store.go:47] filer store leveldb3 dir: /data/filerldb3
F0314 09:04:01 1 configuration.go:25] failed to initialize store for leveldb3: Check Level Folder /data/filerldb3 Writable: stat /data/filerldb3: no such file or directory
goroutine 1 [running]:
github.com/chrislusf/seaweedfs/weed/glog.stacks(0xc0005b7a00, 0xc0005b01e0, 0xb0, 0x1d7)
/home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/glog/glog.go:767 +0xb9
github.com/chrislusf/seaweedfs/weed/glog.(*loggingT).output(0x363eb40, 0xc000000003, 0xc00060a700, 0x2b487cc, 0x10, 0x19, 0x0)
/home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/glog/glog.go:718 +0x37a
github.com/chrislusf/seaweedfs/weed/glog.(*loggingT).printf(0x363eb40, 0x3, 0x22e8ae5, 0x26, 0xc00035f9b8, 0x2, 0x2)
/home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/glog/glog.go:656 +0x153
github.com/chrislusf/seaweedfs/weed/glog.Fatalf(...)
/home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/glog/glog.go:1149
github.com/chrislusf/seaweedfs/weed/filer.(*Filer).LoadConfiguration(0xc0006fe630, 0x3635f60)
/home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/filer/configuration.go:25 +0xf7e
github.com/chrislusf/seaweedfs/weed/server.NewFilerServer(0xc0003f9440, 0xc0003f9440, 0xc0000da180, 0x1, 0x0, 0x0)
/home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/server/filer_server.go:127 +0x593
github.com/chrislusf/seaweedfs/weed/command.(*FilerOptions).startFiler(0x363e8c0)
/home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/command/filer.go:159 +0x338
github.com/chrislusf/seaweedfs/weed/command.runFiler(0x361f1c0, 0xc00013c170, 0x0, 0x0, 0x0)
/home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/command/filer.go:138 +0x92
main.main()
/home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/weed.go:66 +0x30f
Expected behavior
As the /data folder already exists in the docker contianer I would expect the filer to create the /data/filerldb3 directory on startup.
The default storage location /data/filerldb2 is already created in the Dockerfile, but there is no obvious way to create the additional required directory without creating a custom Dockerfile or overriding the entrypoint to do a mkdir first.
The text was updated successfully, but these errors were encountered:
Sponsors SeaweedFS via Patreon https://www.patreon.com/seaweedfs
Describe the bug
With the official docker image (
chrislusf/seaweedfs
) configuring the filer withleveldb3
as filer store with target dir/data/filerldb3
fails on startup as the directory doesn't exist.System Setup
weed version
docker-compose.yml
filer.toml
Expected behavior
As the
/data
folder already exists in the docker contianer I would expect the filer to create the/data/filerldb3
directory on startup.The default storage location
/data/filerldb2
is already created in the Dockerfile, but there is no obvious way to create the additional required directory without creating a custom Dockerfile or overriding the entrypoint to do a mkdir first.The text was updated successfully, but these errors were encountered: