-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
ImagickException Failed to read the file #47289
Comments
I’ve observed that on my iPhone running iOS 18 with the Nextcloud client version 5.5.4.13, having "Most Compatible" turned off and Live Photos enabled causes errors when uploading photos. However, when "Most Compatible" is turned on, everything works fine, and the photos are saved as JPEGs. I also tested the same setup on my iPad, which isn’t on iOS 18, and with "Most Compatible" off, it works correctly. I’m wondering if iOS 18 has introduced changes to the HEIC format that are causing issues with Nextcloud uploads. |
similar situation here NC 29 inside docker photos uploaded by iOS 18 device, with "Most Compatible" turned off and Live Photos enabled log reports
|
@hbprotoss i think is has to do with someone on ios18 and nextcloud iOS client. But let's see what happens! The iOS team can explain what's going on |
the underlining lib has fixed the issue, hope nextcloud to update dep |
I had (attempted to) report this issue in nextcloud/previewgenerator#504, this appears to be the case for every heic photo (not screenshot or video) I've taken since moving up to the iOS 18 public beta. The link to the libheif is what I'd found as the most likely culprit as well. I did not upload the images with the NC iOS app, so I doubt that's part of the issue. |
Looks like I am also running into this exact issue. Also running IOS 18.1 beta and am not able to view those HEIC photos in nextcloud. |
|
I can confirm this issue with Nextcloud version 30.0.0.14 (Hub 9, Docker). HEIC files up to the iOS18 (stable) update are displayed correctly. |
I have upgrade to 30.0.0.14, preview still not working for both old and new uploaded HEIC photos |
This issue is related with libheif, not supporting the latest format of the HEIC images. This has been fixed, but ImageMagick needs to be compiled against it. Not sure if this is ever going to be solved within Nextcloud. I've created a Dockerfile to solve this temporarily, which builds on top of the Nextcloud community docker image. You can take ideas from here @ https://github.com/crazyfacka/dockerimages/blob/main/nextcloud/Dockerfile |
Thanks @crazyfacka for sharing this. Your workaround works for me! |
What’s the status of this issue? It’s becoming really annoying right now. Nextcloud is useless for me now without working previews for HEIC images. |
Agree, I’m using immich now |
temporary work around i will just upload Jpgs |
There aren't any changes required in Nextcloud Server for this. Functionality depends on your underlying host. It would need >1.18.0 of libheif and, IIRC, an updated ImageMagick rebuilt against it. https://github.com/strukturag/libheif/releases/tag/v1.18.0 Those using the community micro-services Docker image (not OP) should track nextcloud/docker#2332 since in that case the dependencies are in-image. Everyone else: you'll have to deal with it with your distro vendor/etc. |
NC 30 RC1
Not running docker
Ubuntu 22.04
PHP 8.3
Redis
Apache2
imagemagick is already the newest version (8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Also nothing change on my system only nextcloud update so why are we getting this all of a sudden never had issue with HEIC photos before
when i open the photo
The text was updated successfully, but these errors were encountered: