How to get rid of "module "imagick" in this instance has no SVG support" warning

NC 30.0.0, Ubuntu Server 24.04.2, php 8.3, Apache 2.4.58

“The PHP module “imagick” in this instance has no SVG support. For better compatibility it is recommended to install it.”

And a not very helpful reference to check the manual.

Imagick is actually installed:

$ php -m
[PHP Modules]
...
imagick
...

In my logs I have about 150 errors saying the same thing:

[no app in context] Fejl: image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/nextcloud
GET /ocs/v2.php/apps/notifications/api/v2/notifications
from xx.xxx.xxx.xx by user at 22. sep. 2024 11.15.06

They end on sept 22, not sure why.

I have read
https://help.nextcloud.com/t/how-to-enable-svg-for-php-imagick/108646
and
https://help.nextcloud.com/t/this-instance-is-missing-php-modules-imagick/136492

Nothing seems to work, and I’m a little lost here.

Thanks in advance!

https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/theming.html#theming-of-icons

In Debian bookworm the package is currently libmagickcore-6.q16-6-extra.

1 Like

Thanks! Didn’t do much for me, though:

$ sudo apt install libmagickcore-6.q16-6-extra
...
Note, selecting 'libmagickcore-6.q16-7-extra' instead of 'libmagickcore-6.q16-6-extra'
libmagickcore-6.q16-7-extra is already the newest version (8:6.9.12.98+dfsg1-5.2build2).

Note the second error you posted regarding whiteboard isn’t related. It’s fixed and will be in the next maintenance release: https://github.com/nextcloud/server/issues/47985

1 Like