Identical issue.
On the host, the XXXXX
volume is an overlay (I don’t want to take the risk of loosing my data on the underlying filesystem and I don’t want to get GB of data duplicated either):
{
"CreatedAt": "2020-11-03T04:23:18Z",
"Driver": "local",
"Labels": null,
"Mountpoint": "/var/lib/docker/volumes/XXXX/_data",
"Name": "XXXX",
"Options": {
"device": "overlay",
"o": "lowerdir=/mnt/extra/gphotos,upperdir=/mnt/extra/pydio-upper,workdir=/mnt/extra/.work.pydio-upper",
"type": "overlay"
},
"Scope": "local"
}
]
In that /mnt/extra/gphotos
directories I’ve various files and directories.
I run cells, with this command:
docker run -ti --network pydionet -e CELLS_NO_TLS=1 -e CELLS_EXTERNAL=https://foo -e CELLS_BIND=127.0.0.1:8080 -p 8080:8080 -p 33060:33060 -v cells-workdir:/var/cells -v XXXXX:/var/cells/data/XXXX -v cells-logdir:/var/cells/logs -v /etc/localtime:/etc/localtime:ro pydio/cells
and I’m experiencing the same problem.
2020-11-03T13:47:36.233Z INFO pydio.grpc.data.sync.XXXX Sync XXXX - Try to contact Objects
2020-11-03T13:47:36.527Z ERROR pydio.grpc.data.objects.local1 panic: runtime error: index out of range [0] with length 0
2020-11-03T13:47:36.529Z ERROR pydio.grpc.data.objects.local1
2020-11-03T13:47:36.537Z ERROR pydio.grpc.data.objects.local1 goroutine 699 [running]:
2020-11-03T13:47:36.539Z ERROR pydio.grpc.data.objects.local1 github.com/pydio/cells/vendor/github.com/pydio/minio-srv/cmd.newObjectLayer(0x0, 0x0, 0x0, 0x2, 0x1, 0x1, 0x0)
2020-11-03T13:47:36.540Z ERROR pydio.grpc.data.objects.local1 /opt/teamcity/agent/work/fb9e7e7133d45375/go/src/github.com/pydio/cells/vendor/github.com/pydio/minio-srv/cmd/server-main.go:411 +0x1b9
2020-11-03T13:47:36.543Z ERROR pydio.grpc.data.objects.local1 github.com/pydio/cells/vendor/github.com/pydio/minio-srv/cmd.serverMain(0xc000cd4160)
2020-11-03T13:47:36.545Z ERROR pydio.grpc.data.objects.local1 /opt/teamcity/agent/work/fb9e7e7133d45375/go/src/github.com/pydio/cells/vendor/github.com/pydio/minio-srv/cmd/server-main.go:330 +0x858
2020-11-03T13:47:36.546Z ERROR pydio.grpc.data.objects.local1 github.com/pydio/cells/vendor/github.com/pydio/minio-srv/vendor/github.com/minio/cli.HandleAction(0x4073d80, 0x7f7eb18, 0xc000cd4160, 0xc000ca0f00, 0x0)
2020-11-03T13:47:36.800Z ERROR pydio.grpc.data.objects.local1 /opt/teamcity/agent/work/fb9e7e7133d45375/go/src/github.com/pydio/cells/vendor/github.com/pydio/minio-srv/vendor/github.com/minio/cli/app.go:499 +0x7c
2020-11-03T13:47:36.802Z ERROR pydio.grpc.data.objects.local1 github.com/pydio/cells/vendor/github.com/pydio/minio-srv/vendor/github.com/minio/cli.Command.Run(0x4739b01, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x47808b9, 0x1c, 0x0, ...)
2020-11-03T13:47:36.804Z ERROR pydio.grpc.data.objects.local1 /opt/teamcity/agent/work/fb9e7e7133d45375/go/src/github.com/pydio/cells/vendor/github.com/pydio/minio-srv/vendor/github.com/minio/cli/command.go:214 +0x991
2020-11-03T13:47:36.806Z ERROR pydio.grpc.data.objects.local1 github.com/pydio/cells/vendor/github.com/pydio/minio-srv/vendor/github.com/minio/cli.(*App).Run(0xc000b21a00, 0xc0005e6100, 0x8, 0x8, 0x0, 0x0)
2020-11-03T13:47:36.808Z ERROR pydio.grpc.data.objects.local1 /opt/teamcity/agent/work/fb9e7e7133d45375/go/src/github.com/pydio/cells/vendor/github.com/pydio/minio-srv/vendor/github.com/minio/cli/app.go:260 +0x6ab
2020-11-03T13:47:36.810Z ERROR pydio.grpc.data.objects.local1 github.com/pydio/cells/vendor/github.com/pydio/minio-srv/cmd.Main(0xc0005e6100, 0x8, 0x8)
2020-11-03T13:47:36.812Z ERROR pydio.grpc.data.objects.local1 /opt/teamcity/agent/work/fb9e7e7133d45375/go/src/github.com/pydio/cells/vendor/github.com/pydio/minio-srv/cmd/main.go:155 +0x89
2020-11-03T13:47:36.813Z ERROR pydio.grpc.data.objects.local1 github.com/pydio/cells/data/source/objects/grpc.(*ObjectHandler).StartMinioServer(0xc0009fe720, 0x848c400, 0xc000c67350, 0xc00057ce78, 0x6, 0xc00090ef60, 0x22)
2020-11-03T13:47:36.814Z ERROR pydio.grpc.data.objects.local1 /opt/teamcity/agent/work/fb9e7e7133d45375/go/src/github.com/pydio/cells/data/source/objects/grpc/handler.go:129 +0x639
2020-11-03T13:47:36.815Z ERROR pydio.grpc.data.objects.local1 created by github.com/pydio/cells/data/source/objects/grpc.init.0.func1.1.1
2020-11-03T13:47:36.816Z ERROR pydio.grpc.data.objects.local1 /opt/teamcity/agent/work/fb9e7e7133d45375/go/src/github.com/pydio/cells/data/source/objects/grpc/plugins.go:76 +0x324
2020-11-03T13:47:36.561Z ERROR pydio.grpc.data.objects.local1 SubProcess was not killed properly: exit status 2
2020-11-03T13:47:36.817Z ERROR pydio.grpc.data.objects.local1 Restarting service in 3s..
Sadly it even breaks all other datasources: In the backend they all happen to be “unvailable”.
I think it’s related to Sync DataSource (similar use case)