-
-
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
Error Loading FileName.JPG #21740
Comments
This issue could be connected to/duplicate of this #21646? |
I cannot confirm or deny. |
If you disable |
Thanks, that fixed it, but I am quite confident this configuration worked on 18.XX version |
Yep, there is a bug in that app that's causing the problem. Looks like they're fixing it (nextcloud/user_usage_report#45) |
Seems like this was fixed in nextcloud/user_usage_report#45 |
I just had this issue after upgrading my docker instance to nextcloud:22 and deactivating the user_usage_report appears to have fixed it. |
I too have just upgraded my server to Nextcloud 22 and noticed the same error when trying to display images (Videos worked fine). I found this issue and disabled user_usage_report and found that images are now displaying properly without the error. Seems the bug for user_usage_report has returned with Nextcloud 22. |
Same here, after Upgrade to Nextcloud 22 the error is back. Hopefully the author can make the adjustment to be compatible with version 22. |
Same here, after a fresh install using Nextcloud 22. |
See #27852 |
ty worked for me |
I had the same error with NC22 and solved it with the same solution. |
Same here, Nextcloud 22.1.1, fixed by disabling "user_usage_report"-app. |
@synthead Maybe open a fresh issue for 23.0.1 since this got closed. |
Leaving this here in case this helps anyone else: for very large images, NC will refuse to create thumbnails unless you raise this value: server/config/config.sample.php Lines 1079 to 1086 in 88ded73
I set mine to |
THIS solved my recent issues with Nextcloud. I got a new phone with a 48MP sensor and only some images were too big and errored out, some loaded fine which was confusing me. Bumped this to 512megs and everything is perfect, thank you! Disabling user usage reports did not help. |
Can confirm above posts, raising it to 512 fixed it. |
server/config/config.sample.php Lines 1079 to 1086 in 88ded73
Someone know how to change this in snap version? |
For some more context (and to make this even more search index-able): I also ran into this issue (duh), using a 42 MP camera. The issue is confusing because image dimensions and image file sizes are somewhat decoupled. For example, exporting from Lightroom (or any other tool) might see an image with lower pixel count be larger in size than a second image just next to it in the series. This is at the same JPEG quality of course. The above My camera has a native resolution of 7952 x 5304 (but at just 24 bits), which is above the threshold: So, |
changing |
I'm on a VPS with 4GB RAM and as soon as I change the default of 'preview_max_memory' to 512 generating thumbnails from my Canon R5 files fills the 4GB RAM until php8.1-fpm gets killed by OOM. Am I missing some other config option? I'm running NC 25.0.1 |
How to use GitHub
Steps to reproduce
Some of the pictures were uploaded through the web interface and shared, others placed on the server folder, and discovered with occ.
Expected behaviour
Tell us what should happen
The jpg picture should display
Actual behaviour
Tell us what happens instead
Windows with an error saying: Error Loading FileName.jpg
Server configuration
Operating system:
Ubuntu/ Linux 5.4.0-40-generic x86_64
Web server:
Apache2
Database:
PostgreSQL 12.2 (Ubuntu 12.2-4) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.3.0-8ubuntu1) 9.3.0, 64-bit
PHP version:
7.4.3
Nextcloud version: (see Nextcloud admin page)
19.0.0
Updated from an older Nextcloud/ownCloud or fresh install:
it was https://www.hanssonit.se/nextcloud-vm/ downloaded and installed on about 30/31 of May. It was some 18 version
Where did you install Nextcloud from:
https://www.hanssonit.se/nextcloud-vm/
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: sftp
Are you using encryption: no
Are you using an external user-backend, if yes which one: sshfs mounted as files folder of one user (also affected, but all users are affected even the ones using the installed folder structure on the vm)
Client configuration
Browser:
Brave (~Chromium)
Operating system:
Ubuntu 20.04
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
When I am opening jpg, there is plenty of these sql errors: PDOException","Message":"SQLSTATE[42883]. This is just a few lines from the log
Browser log
Browser log
a) The javascript console log
The text was updated successfully, but these errors were encountered: