Using Memories and Photos on RaspberryPi ? - No Previews Showing

I have set up my new RPi 5 and it is smoothly running on NextCloudPi (NC 30). All needed features are installed, but as I opened up the Memories-App, I can only see these ugly beauties:

I did the following error-checks:

  • nc-scan
  • nc-previews
  • nc-fix-permissions
  • clear-php-opcache
  • and of course several reboots ^^
    All without any error-logs :confused:

Even shortly uploaded photos don’t appear other than with missing preview.

This is my ncp-report:

NextcloudPi diagnostics

Cannot load Zend OPcache - it was already loaded
Cannot load Zend OPcache - it was already loaded
NextcloudPi version  v1.55.3
NextcloudPi image
OS                   Armbian-unofficial 24.8.2 Bookworm \l . 6.6.45-current-bcm2712 (aarch64)
automount            yes
USB devices          sda
datadir              /media/myCloudDrive/ncdata
data in SD           no
data filesystem      ext2/ext3
data disk usage      1.9T/3.6T
rootfs usage         16G/118G
swapfile             /dev/zram2
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    30.0.6.2
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
HPB service          up
Postfix service      up
Internet check       ok
Public IPv4          ***REMOVED SENSITIVE VALUE***
Public IPv6          ***REMOVED SENSITIVE VALUE***
Port 80              open
Port 443             open
IP                   ***REMOVED SENSITIVE VALUE***
Gateway              ***REMOVED SENSITIVE VALUE***
Interface            end0
Certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
Uptime               1day

Nextcloud configuration

Cannot load Zend OPcache - it was already loaded
{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "5": "nextcloudpi.local",
            "7": "nextcloudpi",
            "8": "nextcloudpi.lan",
            "11": "spurgo.ddns.net",
            "1": "192.168.1.105",
            "12": "spurgo.hopto.org",
            "20": "spurgo.ddns.net",
            "22": "192.168.1.5",
            "3": "nextcloudpi",
            "": "nextcloudpi",
            "21": "spurgo.hopto.org",
            "14": "nextcloudpi"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "30.0.6.2",
        "overwrite.cli.url": "https:\/\/nextcloudpi\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/media\/myCloudDrive\/ncdata\/tmp",
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "jpeg_quality": 60,
        "overwriteprotocol": "https",
        "maintenance": false,
        "logfile": "\/media\/myCloudDrive\/ncdata\/nextcloud.log",
        "loglevel": 0,
        "log_type": "file",
        "htaccess.RewriteBase": "\/",
        "theme": "",
        "has_rebuilt_cache": true,
        "mail_sendmailmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "data-fingerprint": "23be0a22e30e10acfc7196faf02ff519",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [
            "admin"
        ],
        "twofactor_enforced_excluded_groups": [
            "hirnformation",
            "Bruchst\u00fccke"
        ],
        "memories.db.triggers.fcu": true,
        "memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-aarch64-glibc",
        "memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-aarch64",
        "maintenance_window_start": 1,
        "enabledPreviewProviders": [
            "OC\\Preview\\TIFF",
            "OC\\Preview\\Movie",
            "OC\\Preview\\Imaginary"
        ],
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "defaultapp": "",
        "memories.gis_type": 1
    }
}

HTTPd logs

[Sun Mar 09 19:28:46.859132 2025] [authz_host:error] [pid 71611:tid 71633] [remote 192.168.1.55:55829] AH01753: access check of 'localhost' to /js/ncp.js failed, reason: unable to get the remote host name, referer: https://192.168.1.5:4443/
[Sun Mar 09 19:28:46.995753 2025] [authz_host:error] [pid 71611:tid 71631] [remote 192.168.1.55:55829] AH01753: access check of 'localhost' to /js/minified.js failed, reason: unable to get the remote host name, referer: https://192.168.1.5:4443/
[Sun Mar 09 19:28:47.007686 2025] [authz_host:error] [pid 71611:tid 71625] [remote 192.168.1.55:55829] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Sun Mar 09 19:28:47.015895 2025] [authz_host:error] [pid 71611:tid 71633] [remote 192.168.1.55:55829] AH01753: access check of 'localhost' to /js/ncp.js failed, reason: unable to get the remote host name, referer: https://192.168.1.5:4443/
[Sun Mar 09 19:28:47.018140 2025] [authz_host:error] [pid 71611:tid 71628] [remote 192.168.1.55:55829] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Sun Mar 09 19:29:03.444182 2025] [authz_host:error] [pid 71611:tid 71617] [remote 192.168.1.55:55829] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Sun Mar 09 19:29:03.534718 2025] [authz_host:error] [pid 71611:tid 71617] [remote 192.168.1.55:55829] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Sun Mar 09 19:29:07.694300 2025] [authz_host:error] [pid 71611:tid 71630] [remote 192.168.1.55:55829] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Sun Mar 09 19:29:07.792450 2025] [authz_host:error] [pid 71611:tid 71630] [remote 192.168.1.55:55829] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Sun Mar 09 20:12:20.444401 2025] [authz_host:error] [pid 71622:tid 71647] [remote 192.168.1.55:56474] AH01753: access check of 'localhost' to /img/favicon.png failed, reason: unable to get the remote host name
[Mon Mar 10 06:51:08.776683 2025] [authnz_external:error] [pid 85286:tid 85292] [remote 192.168.1.119:50350] AuthExtern pwauth [/usr/sbin/pwauth]: Failed (1) for user ncp
[Mon Mar 10 06:51:08.777395 2025] [auth_basic:error] [pid 85286:tid 85292] [remote 192.168.1.119:50350] AH01617: user ncp: authentication failure for "/": Password Mismatch
[Mon Mar 10 07:18:24.115928 2025] [mpm_event:notice] [pid 71610:tid 71610] AH00493: SIGUSR1 received.  Doing graceful restart
[Mon Mar 10 07:18:24.128626 2025] [ssl:warn] [pid 71610:tid 71610] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Mar 10 07:18:24.135344 2025] [mpm_event:notice] [pid 71610:tid 71610] AH00489: Apache/2.4.62 (Debian) OpenSSL/3.0.15 configured -- resuming normal operations
[Mon Mar 10 07:18:24.135368 2025] [core:notice] [pid 71610:tid 71610] AH00094: Command line: '/usr/sbin/apache2'
[Tue Mar 11 12:23:05.610262 2025] [proxy_fcgi:error] [pid 175634:tid 175658] [remote 192.168.1.119:53376] AH01067: Failed to read FastCGI header
[Tue Mar 11 12:23:05.611094 2025] [proxy_fcgi:error] [pid 175634:tid 175658] (104)Connection reset by peer: [remote 192.168.1.119:53376] AH01075: Error dispatching request to :4443:
[Tue Mar 11 12:23:05.703171 2025] [proxy_fcgi:error] [pid 175634:tid 175652] [remote 192.168.1.119:53376] AH01067: Failed to read FastCGI header
[Tue Mar 11 12:23:05.703373 2025] [proxy_fcgi:error] [pid 175634:tid 175652] (104)Connection reset by peer: [remote 192.168.1.119:53376] AH01075: Error dispatching request to :4443:

Database logs

tail: cannot open '/var/log/mysql/*.log' for reading: No such file or directory

Nextcloud logs

{"reqId":"Z9AsfhdGLE1L_-8g-dsnVAAAAJI","level":0,"time":"2025-03-11T12:28:46+00:00","remoteAddr":"1.2.3.4","user":"--","app":"no app in context","method":"GET","url":"/index.php/apps/notify_push/test/remote","message":"OCA\\NotifyPush\\Controller\\TestController::remote uses the @NoCSRFRequired annotation and should use the #[OCP\\AppFramework\\Http\\Attribute\\NoCSRFRequired] attribute instead","userAgent":"--","version":"30.0.6.2","data":[]}
{"reqId":"Z9AsfhdGLE1L_-8g-dsnVAAAAJI","level":0,"time":"2025-03-11T12:28:46+00:00","remoteAddr":"1.2.3.4","user":"--","app":"no app in context","method":"GET","url":"/index.php/apps/notify_push/test/remote","message":"OCA\\NotifyPush\\Controller\\TestController::remote uses the @NoCSRFRequired annotation and should use the #[OCP\\AppFramework\\Http\\Attribute\\NoCSRFRequired] attribute instead","userAgent":"--","version":"30.0.6.2","data":[]}
{"reqId":"KHggUrukZCcEQ4uzvuCk","level":0,"time":"2025-03-11T12:28:47+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/Generate.php#252","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}
{"reqId":"KHggUrukZCcEQ4uzvuCk","level":0,"time":"2025-03-11T12:28:47+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/PreGenerate.php#214","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}
{"reqId":"H2ZnFQzvBYqZikfYF5AA","level":0,"time":"2025-03-11T12:28:47+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/Generate.php#252","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}
{"reqId":"H2ZnFQzvBYqZikfYF5AA","level":0,"time":"2025-03-11T12:28:47+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/PreGenerate.php#214","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}
{"reqId":"jY2gYlBREbmnZrdf1hAv","level":0,"time":"2025-03-11T12:28:48+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/Generate.php#252","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}
{"reqId":"jY2gYlBREbmnZrdf1hAv","level":0,"time":"2025-03-11T12:28:48+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/PreGenerate.php#214","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}
{"reqId":"oLaFAmM2COqwlpyKdvTq","level":0,"time":"2025-03-11T12:28:49+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/Generate.php#252","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}
{"reqId":"oLaFAmM2COqwlpyKdvTq","level":0,"time":"2025-03-11T12:28:49+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/PreGenerate.php#214","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}
{"reqId":"J5FnnaCiVh7UJCNQ2Wu0","level":0,"time":"2025-03-11T12:28:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/Generate.php#252","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}
{"reqId":"J5FnnaCiVh7UJCNQ2Wu0","level":0,"time":"2025-03-11T12:28:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/PreGenerate.php#214","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}
{"reqId":"LZ3PgOq7ovzLyhu6L7Kk","level":0,"time":"2025-03-11T12:28:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/Generate.php#252","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}
{"reqId":"LZ3PgOq7ovzLyhu6L7Kk","level":0,"time":"2025-03-11T12:28:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/PreGenerate.php#214","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}
{"reqId":"e2OrmISTAahNdbfQMerp","level":0,"time":"2025-03-11T12:28:51+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/Generate.php#252","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}
{"reqId":"e2OrmISTAahNdbfQMerp","level":0,"time":"2025-03-11T12:28:51+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/PreGenerate.php#214","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}
{"reqId":"cly5byygGk0XYiiXeYFa","level":0,"time":"2025-03-11T12:28:51+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/Generate.php#252","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}
{"reqId":"cly5byygGk0XYiiXeYFa","level":0,"time":"2025-03-11T12:28:51+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/PreGenerate.php#214","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}
{"reqId":"Uo6S3sosKNiKQf5gPZrE","level":0,"time":"2025-03-11T12:28:52+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/Generate.php#252","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}
{"reqId":"Uo6S3sosKNiKQf5gPZrE","level":0,"time":"2025-03-11T12:28:52+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/ncp-previewgenerator/ncp-previewgenerator-nc21/lib/Command/PreGenerate.php#214","userAgent":"--","version":"30.0.6.2","data":{"app":"PHP"}}

Maybe you need more preview providers.
Read the according docs of Photos and Memories.

I made every step according to the Configuration. I only disabled previews for moving images as to not need to install ffmpeg by now.

This is the settings-page:

The imaginary-msg was new to me, but I dont know how to disable/enable.

Which could be found whrer?
What apps has to be installed to see this?

What does

sudo nc-previews

now? (logs)

It’s in the Administration-Backend of “Memories” (The official Memories App from Nextcloud Store) And the Configuration is explained here.

Just runs without errors. But nothing changes.

Thank you, so I have not installed memories.

So, on cli, what happens ?

sudo ncc memories:index

I installed Memories on my test-server; wow, that’s far to much for me now, so a last tip from me to your problem, try deactivate Memories app temporarly and check previews. (Photo and previewgenerator apps active)

This topic was automatically closed after 90 days. New replies are no longer allowed.