Hello everyone! I have a nextcloud server in version 25.0.6 and installed by snap… I get this error: The PHP module “imagick” is not active, but the Theming application is enabled. For Favicon generation to work correctly, this module must be installed and active.
Thanks for your help
jtr
May 28, 2023, 3:05pm
2
It’s expected behavior at the present time (at least in the snap):
opened 07:00PM - 11 Nov 20 UTC
closed 07:02PM - 11 Nov 20 UTC
#### Describe the bug
imagick is missing
#### To Reproduce
Steps to reprodu… ce the behavior:
1. Go to settings -> overview
2. see missing php-module
#### Expected behavior
Green checkmark System running fine.
#### Screenshots
![grafik](https://user-images.githubusercontent.com/47042125/98851992-4e56d400-2457-11eb-8e84-4b8e4148cfb8.png)
#### OS/snapd/snap version
Arch Linux Kernel 5.9.6
$ snap list nextcloud
Name Version Rev Tracking Publisher Notes
nextcloud 20.0.1snap1 24051 latest/stable nextcloud✓ -
and:
$ snap version
snap 2.47.1-2
snapd 2.47.1-2
series 16
arch -
kernel 5.9.6-arch1-1
opened 08:09PM - 16 Dec 18 UTC
closed 05:27PM - 19 Mar 22 UTC
enhancement
2. developing
security
technical debt
_EDIT (SEO): The PHP module "imagick" is not enabled although the theming app is… . For favicon generation to work correctly, you need to install and enable this module._
A few days ago it was [brought up to my attention](https://github.com/nextcloud/vm/issues/743) that using Imagick could have very negative effects on security. The Nextcloud snap decided to not using it due to that fact, and I've now mitigated the same threat(s) as well by not using it in the Nextcloud VM.
[Here](https://github.com/nextcloud/nextcloud-snap/pull/629) are the discussion regarding the decision in the Nextcloud snap, and I think it totally makes sense not to use it in the Nextcloud Server as well.
The situation now though is that it's recomended and the setup checks will inform the user that the package is missing. As Nextcloud is advertising it's secure, then why use a package that is prune to a lot of CVEs in the past?
**Regarding alternatives** I think [this post](https://github.com/nextcloud/nextcloud-snap/pull/629#issuecomment-419894034) sums it up quite well.
Please consider removing the recommendation in future versions, and please also consider replacing the use of Imagick with something better and more secure.
Thank you for your reply! I’m not very good at this… What do I have to do to remove this message? Thanks
jtr
May 29, 2023, 10:46pm
4
If you’re using the community maintained Snap, nothing. They aren’t supporting Imagick in the Snap. The message is just a warning. I think the only thing it breaks is favicon generation. Unless you’re having a specific problem you can safely ignore it. Or if you need that functionality, use a method other than the Snap to install Nextcloud.