Nextcloud version (eg, 29.0.5): 29.0.6
Operating system and version (eg, Ubuntu 24.04): linuxserver/nextcloud:version-29.0.6
The issue you are facing:
I recently upgraded from NC 28 to NC 29. Most things are working just fine, but there’s a few pages that fail to load properly. Mainly the map in PhoneTrack, and all the pictures in Memories.
I noticed in my browser console output, I’m receiving errors like this when trying to load images from https://a.tile.openstreetmap.org
:
ERR_BLOCKED_BY_RESPONSE.NotSameOriginAfterDefaultedToSameOriginByCoep
For the Memories app, I see this failing to load: https://nextcloud.mydomain.com/apps/memories/js/memories-components_frame_XImgWorkerStub_ts.js?v=c995126c0962cc8aa175
I’m fairly certain that’s why none of my pictures are loading. It’s marked as blocked for a similar cross-origin-embedder-policy missing error.
Nothing has changed in regard to my reverse proxy setup. What could be causing this?
I’ve thoroughly reviewed error logs as outlined below but I’ve found nothing relevant.
This is what my nginx proxy config looks like:
server {
listen 443 ssl;
include /etc/nginx/snippets/ssl_params.conf;
server_name nextcloud.mydomain.com;
client_max_body_size 20G;
location / {
proxy_pass https://internalhost.mydomain.com:8888;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_connect_timeout 10m;
proxy_send_timeout 10m;
proxy_read_timeout 10m;
proxy_buffering off;
}
location = /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location = /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
}
and my config.php:
<?php
$CONFIG = array (
'memcache.local' => '\\OC\\Memcache\\APCu',
'debug' => false,
'datadirectory' => '/data',
'instanceid' => 'redacted',
'passwordsalt' => 'redacted',
'secret' => 'redacted',
'trusted_domains' =>
array (
0 => 'nextcloud.mydomain.com',
),
'redis' =>
array (
'host' => 'nextcloud_valkey',
'port' => '6379',
),
'overwrite.cli.url' => 'https://nextcloud.mydomain.com',
'dbtype' => 'pgsql',
'version' => '29.0.6.1',
'dbname' => 'nextcloud',
'dbhost' => 'nextcloud_postgres',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => 'redacted',
'installed' => true,
'mail_from_address' => 'nextcloud',
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_domain' => 'mydomain.com',
'auth.bruteforce.protection.enabled' => true,
'overwritehost' => 'nextcloud.mydomain.com',
'overwriteprotocol' => 'https',
'trusted_proxies' =>
array (
0 => '192.168.2.3',
),
'forwarded_for_headers' =>
array (
0 => 'HTTP_X_FORWARDED',
1 => 'HTTP_X_FORWARDED_FOR',
),
'mail_smtphost' => 'mail.smtp2go.com',
'mail_smtpport' => '587',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'twofactor_enforced' => 'false',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
'app_install_overwrite' =>
array (
6 => 'news',
),
'mail_sendmailmode' => 'smtp',
'mail_smtpauth' => 1,
'mail_smtpname' => 'mydomain.com',
'mail_smtppassword' => 'redacted',
'memories.exiftool' => '/config/www/nextcloud/apps/memories/bin-ext/exiftool-amd64-musl',
'memories.vod.path' => '/config/www/nextcloud/apps/memories/bin-ext/go-vod-amd64',
'memories.vod.ffmpeg' => '/usr/bin/ffmpeg',
'memories.vod.ffprobe' => '/usr/bin/ffprobe',
'filelocking.enabled' => 'true',
'memcache.locking' => '\\OC\\Memcache\\APCu',
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\Movie',
1 => 'OC\\Preview\\Image',
),
'mysql.utf8mb4' => true,
'upgrade.disable-web' => true,
'memories.db.triggers.fcu' => true,
'default_phone_region' => 'CA',
'maintenance_window_start' => 1,
'memories.gis_type' => 2,
);
Is this the first time you’ve seen this error? (Y/N): Y