-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
Scan keeps failing #809
Comments
Do you have an idea, how I can reproduce files without a path? |
No idea to be honest. Maybe the solution for now should be additional logging when this happens to help troubleshooting and to maybe not fail the whole job when that happens? |
So i am now seeing this in the logs:
Not sure if these are simple logging in a caught exception or if they break the task but it seems nothing more got scanned after these show up in the logs. I connected to the backend container and can access all those paths listed as not existing so not sure what the issue is. the folder permissions look good as well ( |
It's a different view: Line 33 in b632864
It's for displaying the directories when choosing the scan directory. Very confusing as this works with recursion, so on the first recursion it actually saw that path, but then it was not accessible anymore in another one. It sounds like your scan job got stuck, because of something else. Is it stuck after scanning a couple of images, or does it never actually start the job? We now have api/rqjobstat, api/rqjoblist/ as endpoints to debug the queue, but it's probably not yet accessible, because I still have to implement CSRF_TRUSTED_ORIGINS here: librephotos/ownphotos/settings.py Line 320 in b632864
|
You can now set the CSRF_TRUSTED_ORIGINS by setting an environment variable. You should be able to view the django-admin panel, which allows you to look into the rqworker queues. The address is /api/django-rq/. It would be interesting if the rq job is still in the queue and is not executing or if the issue is somewhere else. I think you also said, that your system is slow. Maybe start it with DEBUG=1, go to api/silk and clear the database of the queries. |
π Bug Report
log
filesπ Description of issue:
I cannot seem to complete a photo scan anymore. It always seems to randomly stop at some point. Logs seem to indicate an error in the file path of a photo not being a string somehow (logs attached)
Please provide additional information:
ownphotos.zip
The text was updated successfully, but these errors were encountered: