akaunting / docker

Docker Image for Akaunting
https://github.com/akaunting/akaunting
GNU General Public License v3.0
182 stars 85 forks source link

Email Errors break add user flow #89

Closed JackPala closed 1 year ago

JackPala commented 1 year ago

Under /settings/email/ - using any other email driver than "Log Emails" results in an error "Oops! Something Went Wrong" when attempting to add users

no errors appearing in the docker logs, nor anything appearing overtly with APP_DEBUG=true set in the docker env

JackPala commented 1 year ago

The error was able to spit out an error code on the forgot password link. The cause is due to a lack of sender in the SMTP variable. By disabling the firewall of the program, and docker compose down followed by an up didn't work.

However, letting it sit overnight DID seem to allow it time to get the settings for the sender, especially once the SMTP sender matched the email of the company (But I don't know if that's required). Regardless, that seemed to fix it.

Unsure if that is related to the docker since the firewall env change was required, or if it akaunting itself.