-
-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File not found by id during indexing #1355
Comments
If you browse the data folder yourself, can you find the file? What are the permissions of the file (ls -la)? |
No, this file does not exist. |
Then this issue is about stale index entries not being removed. Do you know how the file got removed? Was/is it added to an album? Info about its lifetime can help the debugging. External storage (app) or nextcloud internal? Your issue should be resolved if you run But if it does not bother you too much, you could let it be for a while to try to hunt down a cause or steps to reproduce. |
No, unfortunately, I don't know. We don't use the album feature; The Photos app is deactivated. Suspicious is that this file has no file extension in the log file, but it as a dot a bit earlier in the name:
This file path points to the internal folder of a user, and we are also using group folders. I could imagine that this file was moved from the personal to a group folder.
Unfortunately, it does not. It ends with the same error message. |
I found the entry with the corresponding fileid in the table |
Very weird indeed. I am not familiar with the database tables memories uses, but maybe you could check if you can find the same etag? Just to be clear, the "Recrutement chargé.e de mission juin 2024" is an image? Does the file have a proper fileextension at the end? Have you managed to recreate the issue with a different file? Say if you move a by memories indexed image to a group folder? If you change the name to something similar to "Recrutement chargé.e de mission juin 2024" of a image? I have just tried to:
But I cant recreate the issue, the file still shows up in memories (at the new location) no errors are logged. I have also tried the same but without the JPG, still works. I moved to a group folder which was then removed from the account, still no error.. I don't have more ideas on how to reproduce the issue right now at least, but I believe that should be the priority, at least as-long as the only issue is the error message (and nothing else is broken). Edit: forgot to ask: You mention its in the logs, does the file still exist? |
Thanks for looking into this!
Me neither. :) The table
No, it is a directory. By consequence, it has no file extension.
No, the directory does not exist at that place. Therefore, I want to find in the table where this reference is stored. |
I tried something more. I ran
|
Describe the bug
During the automatic and manual indexing, one file is not found, which I can see in the logs and on the console when running the command manually:
Steps To Reproduce
Waiting for automatic or manual indexing results. It also happens with limiting the scan to the user in question:
Running
php occ files:scan user1
did not help.Platform
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: