photos
photos copied to clipboard
[Bug]: Error during scan: exif_read_data(): Process tag(x0000=UndefinedTag): Illegal format code 0x0000, suppose BYTE
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
I have a few photos which cause an error when running occ files:scan --generate-metadata --path="user/files/testimages/" -v. The errors read as follows with different offsets.
Error during scan: exif_read_data(): Process tag(x0000=UndefinedTag): Illegal format code 0x0000, suppose BYTE
Error during scan: exif_read_data(): Process tag(x0000=UndefinedTag): Illegal pointer offset(x8520000 + xFFAA = x852FFAA > x60B4DC)
The files themselves seem okay. I can show them and everything seems fine. However, the error messages are annoying. How can I debug this issue?
Steps to reproduce
- Upload image to Nextcloud
- run
occ files:scan --generate-metadata --path="user/files/testimages/" -v - See error
Expected behavior
No error
Installation method
Community Manual installation with Archive
Nextcloud Server version
28
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- [X] Default user-backend (database)
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
I'm happy to share a file which produces the error