Mail app - cannot open mailbox

Hi,

I am running NextCloud-server on RaspOS based on Debian Buster. It seems that the mail app can log into the mail server but has issues in showing the mail box.

Following entry is found in the logs:

[PHP] Error: PHP Startup: Unable to load dynamic library ‘imagick.so’ (tried: /usr/lib/php/20180731/imagick.so (/usr/lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block), /usr/lib/php/20180731/imagick.so.so (/usr/lib/php/20180731/imagick.so.so: cannot open shared object file: No such file or directory)) at Unknown#0

I know that this is more or less a php issue but maybe someone here has a clue how to fix it.

greets

eins99

Did you install php-imagick?

Yes, imagick is installed.

In the meanwhile I updated NC to 21.0.5 and the mail app worked. But only for a short time. After making some settings about my email accounts I got the same messages again.

doing a occ:maintenance.repair brings the mail app back to live.