Skip to content

Suppress Exif MIMEType errors #1430

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

Open
Zentheon opened this issue Apr 1, 2025 · 2 comments
Open

Suppress Exif MIMEType errors #1430

Zentheon opened this issue Apr 1, 2025 · 2 comments
Labels
feature New feature or request

Comments

@Zentheon
Copy link

Zentheon commented Apr 1, 2025

Is your feature request related to a problem? Please describe.
If the problem is certain images failing to index and filling up the logs, yes. Is it an actual problem? No, not really.

Describe the solution you'd like
Allow suppressing the index errors Memories reports, specifically Exif MIMEType errors.

Describe alternatives you've considered
Problematic files can still be reported in the Memories admin panel.

Additional context
I'm setting up a Nextcloud instance for me and my family. My Dad has a very large collection of files, including photos. Memories auto-indexes the vast majority of these fine, however certain files throw errors. Ultimately, those files in particular are of no consequence and won't be used by Memories anyway.

However, my Nextcloud logs have been filling up with hundreds of indexing errors, and I'd greatly appreciate being able to simply suppress them, as they're irrelevant to me.

@Zentheon Zentheon added the feature New feature or request label Apr 1, 2025
@pulsejet
Copy link
Owner

pulsejet commented Apr 3, 2025

What's the exact error being logged?

@Zentheon
Copy link
Author

Zentheon commented Apr 5, 2025

A few excerpts:

3,"time":"2025-03-31T03:55:06+00:00","remoteAddr":"","user":false,"app":"memories","method":"","url":"--","message":"Failed to index file /Rodney/files/clientfiles/Backup1/$RECYCLE.BIN/S-1-5-21-410880475-3115731914-1988664665-1002/$ID0IJT2.JPG: No MIMEType in EXIF data","userAgent":"--","version":"31.0.2.1","data":{"app":"memories"}}
3,"time":"2025-03-31T13:27:40+00:00","remoteAddr":"","user":false,"app":"memories","method":"","url":"--","message":"Failed to index file /Rodney/files/clientfiles/Elements/Laptop 2016/Documents/hp.applications.package.appdata/HP Games/WildTangent/en/cakemaniatothemax/_310x150.png: No MIMEType in EXIF data","userAgent":"--","version":"31.0.2.1","data":{"app":"memories"}}
3,"time":"2025-03-31T20:43:09+00:00","remoteAddr":"","user":false,"app":"memories","method":"","url":"--","message":"Failed to index file /Rodney/files/clientfiles/Laptop 2016/Documents/hp.applications.package.appdata/HP Games/WildTangent/en/bejeweled2deluxe/_310x150.png: No MIMEType in EXIF data","userAgent":"--","version":"31.0.2.1","data":{"app":"memories"}}

All the errors I saw were from old, probably all broken files. It's not my place to do anything with them though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants