PHP-Modul imagick fehlt

Nextcloud version (eg, 20.0.5): 22.2.3
Operating system and version (eg, Ubuntu 20.04): Debian 11
Apache or nginx version (eg, Apache 2.4.25): 2.4.51
PHP version (eg, 7.4): 8.0.12

The issue you are facing:
Auf der Seite Einstellungen wird bemÀngelt, dass das PHP-Modul imagick fehlt.

Is this the first time you’ve seen this error? Y

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

<?php
$CONFIG = array (
  'instanceid' => '[possible sensitive data removed by Mod/JK]',
  'passwordsalt' => '[possible sensitive data removed by Mod/JK]',
  'secret' => '[possible sensitive data removed by Mod/JK]',
  'trusted_domains' => 
  array (
    0 => 'xxx.ddns.net',
    1 => 'xxx.dynu.net',
    2 => 'MCP-Server',
  ),
  'datadirectory' => '/var/nextcloud_data',
  'dbtype' => 'mysql',
  'version' => '22.2.3.0',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_Darkwing3',
  'dbpassword' => 'xxx',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0,
    'password' => '',
    'dbindex' => 0,
  ),
  'logtimezone' => 'UTC',
  'installed' => true,
  'updater.release.channel' => 'stable',
  'mail_smtpmode' => 'smtp',
  'mail_from_address' => 'xxx',
  'mail_domain' => 'xxx.de',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'mail.gmx.net',
  'mail_smtpsecure' => 'tls',
  'mail_smtpname' => 'xxx',
  'mail_smtppassword' => 'xxx',
  'maintenance' => false,
  'theme' => '',
  'trashbin_retention_obligation' => 'auto, 30',
  'logfile' => '/var/log/nextcloud.log',
  'loglevel' => 2,
  'log_rotate_size' => 10485760,
  'htaccess.RewriteBase' => '/nextcloud',
  'overwrite.cli.url' => 'https://xxx.dynu.net/nextcloud',
  'mysql.utf8mb4' => true,
  'mail_smtpport' => '587',
  'mail_sendmailmode' => 'smtp',
  'default_phone_region' => 'DE',
  'updater.secret' => 'xxx',
);

Hallo @MegaV0lt

Wenn das bemÀngelt wird, ist es vielleicht tatsÀchlich so
 :wink:

Hast du mal versucht das Modul zu installieren?

apt install php-imagick

php-imagick ist drauf.

Habe es mit installation von
php8.0-imagick und

php8.0-apcu

lösen können

1 Like

php8.0-imagick ist nicht in den offiziellen Paketquellen von Debian 11 Bullseye enthalten.
Von wo hast du es installiert, wenn ich fragen darf?
Die ersten Pakete zu php8.0 (nicht php8.0-imagick) sind mittlerweile bei Debian Sid enthalten. In Testing und Bookworm sind sie noch nicht zu finden. Aber bis Debian Bookworm dauert es ja auch noch fast zwei Jahre. :wink:

Hab die von hier: https://packages.sury.org/php/
Außerdem lĂ€uft PHP-fpm

Danke. Wobei ich wĂŒrde unter Debian Bullseye weiter auf PHP 7.4 setzen. Gibt es GrĂŒnde bzw. Vorteile fĂŒr PHP 8.0?

Bei Ubuntu wird wahrscheinlich mit Ubuntu 22.04 LTS dann PHP 8.0 interessant. Dort fehlt im ĂŒbrigen bei 21.10 auch noch php8.0-imagick.
Ubuntu – Package Search Results -- php8.0

Keine Ahnung. Hab ich vor ne Weile schon gemacht; Bevor PHP8 raus kam

https://kinsta.com/de/blog/php-8/

1 Like

ich habe noch 3 Angaben in deiner config.php entfernt
 die waren teilweise ziemlich wichtig. Bitte betrachte deine Instanz als kompromittiert.

Mist. Hab nach dem EinfĂŒgen vergessen nach oben zu scrollen