Anomalie #3905
Impossible d'inviter un nouvel admin sur status.chapril.org : Error 500
100%
Description
Actuellement, le mot de passe admin de status.chapril.org est le seul moyen de se connecter et de déclarer des incidents ou une maintenance.
Afin que des animateurs de service puissent le faire, il faut utiliser la fonctionnalité d'invitation prévue dans le menu Équipe > Inviter un nouveau membre de l'équipe.
Problème : dans le formulaire, après avoir saisie une adresse de courriel et cliqué sur le bouton « Inviter », on a :
Error 500 Houston, We Have A Problem. Internal Server Error What does this mean? Something went wrong on our servers while we were processing your request. An error has occurred and this resource cannot be displayed. This occurrence has been logged, and a highly trained team of monkeys has been dispatched to deal with your problem. We're really sorry about this, and will work hard to get this resolved as soon as possible. This error can be identified by 9cfe6573-2d7f-4fa9-9e87-443c33ed2dbf. You might want to take a note of this code. Perhaps you would like to go to our home page?
Demandes liées
Historique
Mis à jour par Christian P. Momon il y a plus de 4 ans
Tentative de suivre la documentation officielle : https://docs.cachethq.io/docs/configuring-mail
php artisan config:cache # If you experience any issues after running this command, run this too: $ rm -rf bootstrap/cache/*
Mais alors tout le site devient « Internal Error 500 ». Obligé de restaurer via BorgBackup.
Conseil : faire un tarball avant toute modification…
Mis à jour par Christian P. Momon il y a plus de 4 ans
- Statut changé de Nouveau à En cours de traitement
Le courriel n'est pas configuré dans le fichier .env.
Modification du fichier .env :
MAIL_DRIVER=sendmail MAIL_HOST=localhost MAIL_PORT=25 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ADDRESS=contact@chapril.org MAIL_NAME=Équipe Chapril MAIL_ENCRYPTION=tls
Après plusieurs recherche, impossibilité de propager la configuration de .env. Donc modification directe du fichier Cachet/bootstrap/cache/config.php :
'mail' => array ( 'driver' => 'sendmail', 'host' => 'localhost', 'port' => 25, 'from' => array ( 'address' => 'contact@chapril.org', 'name' => 'Équipe Chapril', ), 'encryption' => 'tls', 'username' => NULL, 'password' => NULL, 'sendmail' => '/usr/sbin/sendmail -bs', ),
Et là, ça fonctionne. Joie. Sauf qu'en cliquant sur le lien du courriel reçu, on a un formulaire non sécurisé : le target du formulaire est en http://.
Résultat : la solution est non complète et non viable :-/
Mis à jour par Christian P. Momon il y a plus de 4 ans
- Lié à Anomalie #3907: Ressources HTTP et non HTTPS ajouté
Mis à jour par Christian P. Momon il y a plus de 4 ans
- Statut changé de En cours de traitement à Attente d'information
Mis à jour par Romain H. il y a plus de 4 ans
- Statut changé de Attente d'information à Résolu
- % réalisé changé de 0 à 100
Corrigé par la mise à jour de Cachet (#3881).