theyosh / TerrariumPI

Home automated terrarium/aquarium or other enclosed environment with a Raspberry Pi
https://terrarium.theyosh.nl
GNU General Public License v3.0
413 stars 100 forks source link

[BUG]: Can't get mail notifications to work #851

Closed duenni closed 1 year ago

duenni commented 1 year ago

Setup:

Describe the bug I can't get mail notifications to work and have several issues with it.

To Reproduce / Installation steps

  1. Add a mail notification service and try to edit it afterwards. No matter what field I try to edit I always get a 404 error. I am logged in as admin. SCR-20231021-osf

  2. When adding a notification message and saving it with the mail service enabled I get the folowing: SCR-20231021-ox6 I can save the notification with the mail service unticked. After editing this new notification and enabling the mail service I get a 404 again. SCR-20231021-oyb Editing a notification throws a slightly different error sometimes: SCR-20231021-p3c

Expected behavior Mail notification entry should be editable. A notification should be added without error.

theyosh commented 1 year ago

Hmm, found this also somewhere else. So I think I have fixed it. Do a git pull and restart. It should than work again,

duenni commented 1 year ago

Works like a charm now. 👍 Thanks for fixing it so fast!