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
{{ message }}
Repository navigation
Context deadline exceeded error when searching indexes #2592
When running opencloud search index --all-spaces the error {"id":"go.micro.client","code":408,"detail":"context deadline exceeded","status":"Request Timeout"} appears after some time
Steps to reproduce
run opencloud search index --all-spaces in container
Expected behavior
Command ends successfully.
Actual behavior
Get {"id":"go.micro.client","code":408,"detail":"context deadline exceeded","status":"Request Timeout"} error
After that, every run of command opencloud search index --all-spaces translates into log 2026-04-09T14:13:38Z ERR sharesstorageprovider: error calling ListReceivedSharesRequest: sharesstorageprovider: error calling ListReceivedSharesRequest code=Unknown end="09/Apr/2026:14:13:38 +0000" from=tcp://127.0.0.1:54594 host.name=opencloud-app-template-6c786f68bc-9lqrl line=github.com/opencloud-eu/reva/v2@v2.42.5/internal/grpc/interceptors/log/log.go:69 pkg=rgrpc service=storage-shares start="09/Apr/2026:14:13:38 +0000" time_ns=183781582 traceid=b897601d41a79b378fea4387cafc068f uri=/cs3.storage.provider.v1beta1.SpacesAPI/ListStorageSpaces user-agent=grpc-go/1.79.2
If anyone tries to run the command opencloud search index --all-spaces to reindex/rescann all files via tika, you have to stop your opencloud instance and remove the content in /data/search directory.
I still get the error calling ListReceivedSharesRequest log message but in this case the reindex works.
If anyone tries to run the command opencloud search index --all-spaces to reindex/rescann all files via tika, you have to stop your opencloud instance and remove the content in /data/search directory. I still get the error calling ListReceivedSharesRequest log message but in this case the reindex works.
Yes you're right, the experience when using the CLI needs to be improved. We also still have the problem that the CLI doesn't wait indefinitely until the reindex process has completed, so returning an error message usually wouldn't reach the user (See #2592). I would defer that to a proper fix alongside #2592 and just go with the server log messages for now.
When tackling this issue, we should report back spaces that could not be reindexed properly (and preferably what went wrong)
Activity
schlegel11 commentedon Apr 18, 2026
If anyone tries to run the command
opencloud search index --all-spacesto reindex/rescann all files via tika, you have to stop your opencloud instance and remove the content in /data/search directory.I still get the
error calling ListReceivedSharesRequestlog message but in this case the reindex works.carlosjfcasero commentedon Apr 21, 2026
I'll try, thank you!
EDIT: It worked!
dschmidt commentedon Jul 31, 2026
Per #3207 (comment)
When tackling this issue, we should report back spaces that could not be reindexed properly (and preferably what went wrong)
Improve "opencloud search index" command