Describe the bug
When Tika is enabled after the files already exist on Opencloud, it seems that the existing files are not scanned (existing files are around 1TB in size on the server). No .md, .docx, .txt files are indexed.
Only new files that are uploaded when Tika is running in background show up in global search.
Docs mention that with this opencloud search index --all-spaces command the files can be re-indexed. Attempting to run this command immediately throws this error
2026-04-06T18:06:10Z ERR sharesstorageprovider: error calling ListReceivedSharesRequest: sharesstorageprovider: error calling ListReceivedSharesRequest code=Unknown end="06/Apr/2026:18:06:10 +0000" from=tcp://127.0.0.1:49372 host.name=opencloud line=github.com/opencloud-eu/reva/v2@v2.42.6/internal/grpc/interceptors/log/log.go:69 pkg=rgrpc service=storage-shares start="06/Apr/2026:18:06:10 +0000" time_ns=1353928 traceid=5d94de86451e641eeb59d57302a701c9 uri=/cs3.storage.provider.v1beta1.SpacesAPI/ListStorageSpaces user-agent=grpc-go/1.79.3
Steps to reproduce
- Setup Opencloud v4... without Tika, login into the interface so user folder gets created
- Turn off Opencloud and start the transfer with rsync
- Send large sized files to the Opencloud user dir (in my case 1TB of files)
- Turn on Opencloud, wait for the files to be indexed, turn Opencloud off
- Enable Tika and start Opencloud + Tika
- Wait for a few minutes and try to search for file contents in search
Expected behavior
Searching for exact word results in file content match and file shows up in search.
Actual behavior
Searching for exact word results in no found files.
Setup
Opencloud for me runs on rootless podman quadlets, setup below.
opencloud-redacted.md
Additional context
This problem is both on Opencloud v4.0.4 and v6.0.0.
All of the files that exist in Opencloud I originally migrated from Nextcloud using rsync in the backend. I made sure that files are owned by uid,gid 1000 and let Opencloud run for a few hours to index files on startup (took a few hours, but it did finish).
I did a test on another host with docker and fresh Opencloud v6.0.0 install, imported some .md files with rsync in the backend, started the server with Tika and the .md files are indeed indexed correctly.
In my current setup .md file contents only show up for me in search, when I make a new or upload .md file from Opencloud web page, so I don't know why the existing files are not indexed.
I have Opencloud running for a few months now, file indexing should probably be done. Tika container I only enabled yesterday.
Describe the bug
When Tika is enabled after the files already exist on Opencloud, it seems that the existing files are not scanned (existing files are around 1TB in size on the server). No .md, .docx, .txt files are indexed.
Only new files that are uploaded when Tika is running in background show up in global search.
Docs mention that with this
opencloud search index --all-spacescommand the files can be re-indexed. Attempting to run this command immediately throws this errorSteps to reproduce
Expected behavior
Searching for exact word results in file content match and file shows up in search.
Actual behavior
Searching for exact word results in no found files.
Setup
Opencloud for me runs on rootless podman quadlets, setup below.
opencloud-redacted.md
Additional context
This problem is both on Opencloud v4.0.4 and v6.0.0.
All of the files that exist in Opencloud I originally migrated from Nextcloud using rsync in the backend. I made sure that files are owned by uid,gid 1000 and let Opencloud run for a few hours to index files on startup (took a few hours, but it did finish).
I did a test on another host with docker and fresh Opencloud v6.0.0 install, imported some .md files with rsync in the backend, started the server with Tika and the .md files are indeed indexed correctly.
In my current setup .md file contents only show up for me in search, when I make a new or upload .md file from Opencloud web page, so I don't know why the existing files are not indexed.
I have Opencloud running for a few months now, file indexing should probably be done. Tika container I only enabled yesterday.