Forum Linux.debian/ubuntu Roundcube : Installation OK mais l'installer du site web non

Posté par  . Licence CC By‑SA.
Étiquettes :
1
17
mar.
2024

Bonjour à tous,

Je suis sur debian bookworm avec roundcube en 1.6.5+dfsg-1~deb12u1.

J'ai choisi la database postgresql via l'assistant de configuration de debian.

L'installation c'est bien déroulé mais m'indiquant les warnings que je retrouve quand je fais appel à l'URL et/ou l'installer.
https://mail.domain.org/
ou
https://mail.domain.org/installer/

Logs de l'installation
```

$dpkg-reconfigure roundcube-core
dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
creating postgres user roundcube:  already exists.
resetting password:  success.
dbconfig-common: dumping pgsql database roundcube to /var/tmp/roundcube.roundcube.2024-03-17-21.23.pgsql.YqZEZg.
dbconfig-common: dropping old pgsql database roundcube.
dropping database roundcube: success.
verifying database roundcube was dropped: success.
creating database roundcube: success.
verifying database roundcube exists: success.
populating database via sql...  done.
dbconfig-common: flushing administrative password
INFO: Running /usr/share/roundcube/bin/update.sh as user 'www-data'
PHP Warning:  Undefined array key "log_dir" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 233
PHP Warning:  Undefined array key "log_dir" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 233
PHP Warning:  Undefined array key "temp_dir" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 233
PHP Warning:  Undefined array key "temp_dir" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 233
PHP Warning:  Undefined array key "drafts_mbox" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 243
PHP Warning:  Undefined array key "junk_mbox" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 243
PHP Warning:  Undefined array key "sent_mbox" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 243
PHP Warning:  Undefined array key "trash_mbox" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 243
PHP Warning:  Undefined array key "log_driver" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 247
PHP Warning:  Undefined array key "mime_magic" in /usr/share/roundcube/program/include/rcmail_install.php on line 377
PHP Warning:  Undefined array key "log_driver" in /usr/share/roundcube/program/include/rcmail_install.php on line 404
PHP Warning:  Undefined array key "ldap_public" in /usr/share/roundcube/program/include/rcmail_install.php on line 421
Replacing config file /etc/roundcube/config.inc.php with new version
roundcube-cleandb.service is a disabled or a static unit not running, not starting it.
roundcube-gc.service is a disabled or a static unit not running, not starting it.
Logs de nginx


*2285 FastCGI sent in stderr: "PHP message: PHP Warning:  include(/etc/roundcube/debian-db-roundcube.php): 
Failed to open stream: No such file or directory in /etc/roundcube/config.inc.php on line 23; 
PHP message: PHP Warning:  include(): Failed opening '/etc/roundcube/debian-db-roundcube.php' for inclusion (include_path='/var/lib/roundcube/program/lib:.:/usr/share/php:/usr/share/roundcube/program/lib') in /etc/roundcube/config.inc.php on line 23; 

PHP message: PHP Warning:  Undefined array key "log_dir" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 233; 
PHP message: PHP Warning:  Undefined array key "log_dir" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 233; 
PHP message: PHP Warning:  Undefined array key "temp_dir" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 233; 
PHP message: PHP Warning:  Undefined array key "temp_dir" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 233; 
PHP message: PHP Warning:  Undefined array key "drafts_mbox" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 243; 
PHP message: PHP Warning:  Undefined array key "junk_mbox" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 243; 
PHP message: PHP Warning:  Undefined array key "sent_mbox" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 243; 
PHP message: PHP Warning:  Undefined array key "trash_mbox" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 243; 
PHP message: PHP Warning:  Undefined array key "log_driver" in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 247; 
PHP message: PHP Warning:  file_put_contents(/var/lib/errors.log): Failed to open stream: Permission denied in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1373; 
PHP message: PHP Warning:  Configuration error. Unsupported database driver:  in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1496" while reading r...
J'ai déjà essayé de réinstaller.

Merci pour votre aide
  • # roundcube + roundcube-core

    Posté par  . Évalué à 1 (+0/-0).

    J'ai eu besoin de purger et installer les paquets suivant.

    roundcube roundcube-core

  • # Droits d'accès

    Posté par  . Évalué à 2 (+1/-0).

    On dirait que roundcube (enfin, PHP) n'a pas les droits d'accès aux fichiers de configuration (defaults.inc.php et/ou config.inc.php).

    www-data devrait y avoir accès au moins en lecture.

    • [^] # Re: Droits d'accès

      Posté par  . Évalué à 3 (+0/-0).

      /usr/share/roundcube est le dossier "modele" fournit par le paquet, mais je ne travaille pas sur ce dossier
      perso je copie son contenu dans /var/www/html/roundcube

      et je fais pointer mon vhost (apache ou nginx) sur ce dossier
      sur lequel je peux alors faire les modifications que je souhaites

Envoyer un commentaire

Suivre le flux des commentaires

Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.