Error loading jpg and jpeg files

Not showing .jpg and .jpeg files after update to NC 19+.
I see the error message - “error loading FILENAME.jpeg”.


But .png showing normal.

Server configuration detail

Operating system: Linux 4.4.208 #1 SMP Wed Jan 8 15:23:19 CST 2020 x86_64

Webserver: Apache/2.4.37 (Unix) OpenSSL/1.0.2u (fpm-fcgi)

Database: mysql 10.0.38

PHP version: 7.4.11

Modules loaded: Core, date, libxml, pcre, fileinfo, filter, gd, hash, SPL, json, pcntl, session, bz2, posix, Reflection, standard, SimpleXML, sockets, imap, sysvmsg, sysvsem, sysvshm, xml, xmlwriter, mysqlnd, cgi-fcgi, bcmath, openssl, calendar, ctype, curl, dba, dom, enchant, mbstring, ftp, gettext, gmp, iconv, intl, ldap, exif, mysqli, odbc, zlib, PDO, pdo_mysql, pdo_sqlite, PDO_ODBC, pspell, shmop, snmp, soap, sqlite3, tokenizer, xmlreader, xsl, zip, Phar, apcu, imagick, redis, smbclient, libsmbclient, Zend OPcache

Nextcloud version: 19.0.5 -

I recompilied the php with options:
and NC working fine now!

Very interesting. Have you on generating the problem only upgrade the nextcloud version or also update the php version? Was it only a php problem or a combination from php and nextcloud?

When I upgrading NC, I got a message that my php version (7.2.x built by myself) is not supported. So I built a new version of php (7.4.11), but didn’t take into account that the compilation options have changed.

< 7.4


so it is my inadvertence when I compiled new php version.

1 Like