URL linked image failed to load on Notes

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Hey everyone!
I am facing this issue i have never faced before and i am posting it here hoping that somone might have encountered the same issue and can help me point in the right direction.
Thank you very much!

Nextcloud version _: 27.1.3
Operating system and version: 20.04.6 LTS (Focal Fossa)
Apache or nginx version : Apache/2.4.58
PHP version _: PHP 8.1.26

The issue you are facing:

I insert an URL on Notes and it is supposed to show an image but it shows an error “Failed to load ‘link’” . When moving the .md file on another Nextcloud server with the same configuration the images load just fine.

Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:

  1. Create a Note
  2. Insert a link of an image
  3. Screenshot from the server where the issue is happening.

Screenshot for the same file on another Nextcloud server with the same configuration.

Screenshot from 2023-12-07 22-26-52

The output of your Nextcloud log in Admin > Logging:

Nothing on the Logs

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => '**********',
  'passwordsalt' => '**************',
  'secret' => '********************',
  'trusted_domains' => 
  array (
    0 => '**************',
    1 => '****************',
  ),
  'datadirectory' => '/var/www/data',
  'dbtype' => 'mysql',
  'version' => '27.1.3.2',
  'overwrite.cli.url' => '************',
  'htaccess.RewriteBase' => '/',
  'dbname' => '******',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => '*****',
  'dbpassword' => '**************',
  'installed' => true,
  'defaultapp' => 'files',
  'twofactor_enforced' => 'true',
  'twofactor_enforced_groups' => 
  array (
  ),
  'twofactor_enforced_excluded_groups' => 
  array (
  ),
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => 'true',
  'redis' => 
  array (
    'host' => '/run/redis/redis-server.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'cloud',
  'mail_domain' => '**********',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => '**********',
  'mail_smtpport' => '465',
  'mail_smtpname' => '*************',
  'mail_smtppassword' => '**********',
  'default_phone_region' => 'GB',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 0,
  'app_install_overwrite' => 
  array (
    0 => 'external',
    1 => 'calendar',
  ),
  'mysql.utf8mb4' => true,
  'updater.secret' => *****************',
);

The output of your Apache/nginx/system log in /var/log/____:

[Thu Dec 07 15:45:32.306271 2023] [core:notice] [pid 119813:tid 140124638962944] AH00094: Command line: '/usr/sbin/apache2'
[Thu Dec 07 15:47:06.652366 2023] [mpm_event:notice] [pid 119813:tid 140124638962944] AH00492: caught SIGWINCH, shutting down gracefully
[Thu Dec 07 15:47:10.012340 2023] [core:warn] [pid 119813:tid 140124638962944] AH00045: child process 119816 still did not exit, sending a SIGTERM
[Thu Dec 07 15:47:12.014626 2023] [core:warn] [pid 119813:tid 140124638962944] AH00045: child process 119816 still did not exit, sending a SIGTERM
[Thu Dec 07 15:47:14.016939 2023] [core:warn] [pid 119813:tid 140124638962944] AH00045: child process 119816 still did not exit, sending a SIGTERM
[Thu Dec 07 15:47:16.019234 2023] [core:error] [pid 119813:tid 140124638962944] AH00046: child process 119816 still did not exit, sending a SIGKILL
[Thu Dec 07 15:47:17.065303 2023] [mpm_event:notice] [pid 119958:tid 140496368129280] AH00489: Apache/2.4.58 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured -- resuming normal operations
[Thu Dec 07 15:47:17.065407 2023] [core:notice] [pid 119958:tid 140496368129280] AH00094: Command line: '/usr/sbin/apache2'
[Thu Dec 07 15:47:46.535267 2023] [access_compat:error] [pid 119960:tid 140495871198976] [client**********] AH01797: client denied by server configuration: /var/www/html/config

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

{"reqId":"9EE2BSoIAip5D5N8qrTl","level":0,"time":"2023-12-07T21:19:00+00:00","remoteAddr":"******","user":"****","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/****/","message":"No flow configurations is going to run Block access to a file","userAgent":"Mozilla/5.0 (Windows) mirall/3.10.1stable-Win64 (build 20231025) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"27.1.3.2","data":{"level":"0","app":"workflowengine"}}
{"reqId":"9EE2BSoIAip5D5N8qrTl","level":0,"time":"2023-12-07T21:19:00+00:00","remoteAddr":"******","user":"******","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/******/","message":"Flow activation: rules were requested for operation Block access to a file","userAgent":"Mozilla/5.0 (Windows) mirall/3.10.1stable-Win64 (build 20231025) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"27.1.3.2","data":{"level":"0","app":"workflowengine"}}
{"reqId":"9EE2BSoIAip5D5N8qrTl","level":0,"time":"2023-12-07T21:19:00+00:00","remoteAddr":"******","user":"******","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/******/","message":"No flow configurations is going to run Block access to a file","userAgent":"Mozilla/5.0 (Windows) mirall/3.10.1stable-Win64 (build 20231025) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"27.1.3.2","data":{"level":"0","app":"workflowengine"}}
{"reqId":"9EE2BSoIAip5D5N8qrTl","level":0,"time":"2023-12-07T21:19:00+00:00","remoteAddr":"******","user":"******","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/******/","message":"Flow activation: rules were requested for operation Block access to a file","userAgent":"Mozilla/5.0 (Windows) mirall/3.10.1stable-Win64 (build 20231025) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"27.1.3.2","data":{"level":"0","app":"workflowengine"}}
{"reqId":"9EE2BSoIAip5D5N8qrTl","level":0,"time":"2023-12-07T21:19:00+00:00","remoteAddr":"******","user":"******","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/******/","message":"No flow configurations is going to run Block access to a file","userAgent":"Mozilla/5.0 (Windows) mirall/3.10.1stable-Win64 (build 20231025) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"27.1.3.2","data":{"level":"0","app":"workflowengine"}}

Still struggling with this issue. Have tried changing SSL certs which i thought may have caused the issue but did not solve it. Do not know where else to look…

Solved the issue by installing Mardown Editor on the Apps.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.