Failed rebuild index

Used Zammad version: 5.0.x
Used Zammad installation type: (source, package, docker-compose, …) Package
Operating system: Debian 11
Browser + version: Chrome 96.0.4664.110 (Official Build) (64-bit)
Expected behavior:
I have tried to rebuild the index, but I got this error, some file is missing (I use NFS storage)

rake aborted!

Unable to send Ticket.find(14395).search_index_update_backend backend: #<Errno::ENOENT: No such file or directory @ rb_sysopen - /opt/zammad/storage/fs/f786/1ebe/0a5e6/1122a/1812c51/fb8442a/f6aa0da57f5c659d6ef7286d4fae5c5f>

Actual behavior:
Failing searches by ticket number, none found

Thanks

Is there a way to rebuild by skipping missing tickets?

No.
It also wouldn’t fix the issue, but cure symptoms.

Your attachment storage is incomplete. You’re missing attachment files in Zammad, this is why the search index fails. This is what you need to fix.