Project

General

Profile

Anomalie #5862

lamp: ERROR: Failed to load plugin file /var/lib/roundcube/plugins/dkimstatus/dkimstatus.php

Added by Pierre-Louis Bonicoli 4 months ago. Updated 4 months ago.

Status:
Fermé
Priority:
Normale
Category:
Task
Target version:
Start date:
04/22/2022
Due date:
% Done:

100%

Estimated time:
Difficulté:
2 Facile

Description

La liste admins-auto reçoit régulièrement ce message:

Delivered-To: www-data@april.org
Received: from lamp.april.org (lamp.cluster.april.org [172.16.0.11])
    by vip.april.org (Postfix) with ESMTP id 3D18639F
    for <www-data@april.org>; Wed, 20 Apr 2022 05:00:11 +0200 (CEST)
Received: by lamp.april.org (Postfix, from userid 33)
    id BB87D30D1; Wed, 20 Apr 2022 05:00:05 +0200 (CEST)
From: root@april.org (Cron Daemon)
To: www-data@april.org
MIME-Version: 1.0
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/var/www>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=www-data>
Message-Id: <20220420030007.BB87D30D1@lamp.april.org>
Subject: [ADMINS AUTO] Cron <www-data@lamp> test -x
 /usr/share/roundcube/bin/cleandb.sh && /usr/share/roundcube/bin/cleandb.sh
 >/dev/null
Reply-To: root@april.org (Cron Daemon)
List-Id: <admins-auto.april.org>
List-Post: <mailto:admins-auto@april.org>

ERROR: Failed to load plugin file /var/lib/roundcube/plugins/dkimstatus/dkimstatus.php

Je me propose d'investiguer le problème :)

History

#1

Updated by Pierre-Louis Bonicoli 4 months ago

  • Status changed from Nouveau to En cours de traitement
#2

Updated by Pierre-Louis Bonicoli 4 months ago

  • Status changed from En cours de traitement to Résolu
  • % Done changed from 0 to 100

Le mail provient de la machine lamp.cluster.april.org.

Le fichier mentionné (/var/lib/roundcube/plugins/dkimstatus/dkimstatus.php) faisait parti du paquet Debian roundcube-plugins-extra de buster, ce plugin a été remplacé par le plugin authres_status depuis bullseye (#948030).

L'ancien plugin est donc mentionné dans la configuration de roundcube:

(April) root@lamp:~# grep -B 1 dkim /etc/roundcube/config.inc.php
$config['plugins'] = array(
'contextmenu', 'dkimstatus', 'emoticons', 'jqueryui', 'password', 'managesieve', 'subscriptions_option', 'vcard_attachments', 'help', 'database_attachments', 'userinfo');

Le fichier config.inc.php est absent du dépôt, ssh://april@admin.cluster.april.org/srv/common-vm.git, il peut donc être modifié directement.
J'ai remplacé le plugin dkimstatus par authres_status.
Au vu du contenu de la configuration par défaut (/usr/share/roundcube/plugins/authres_status/config.inc.php.dist) il n'est pas nécessaire la modifier (/etc/roundcube/plugins/authres_status/config.inc.php).

L'erreur a bien disparu, la notification par mail ne devrait plus avoir lieu:

(April) root@lamp:~# su - www-data -s /bin/sh -c "/usr/share/roundcube/bin/cleandb.sh" # ensure error is gone
0 records deleted from 'contacts'
0 records deleted from 'contactgroups'
0 records deleted from 'identities'

#3

Updated by Pierre-Louis Bonicoli 4 months ago

  • Subject changed from réduction des notifications par mail to lamp: ERROR: Failed to load plugin file /var/lib/roundcube/plugins/dkimstatus/dkimstatus.php
#4

Updated by Quentin Gibeaux 4 months ago

  • Status changed from Résolu to Fermé
#5

Updated by Pierre-Louis Bonicoli 4 months ago

  • Target version changed from Backlog to Avril 2022

Also available in: Atom PDF