Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emails troubleshooting #532

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

Emails troubleshooting #532

wants to merge 16 commits into from

Conversation

MarcelGeo
Copy link
Contributor

Added:

  • emails are not send section to server troubleshooting
  • updates in env variables

- emails are not send section to server troubleshooting
- updates in env variables
@MarcelGeo MarcelGeo requested a review from tomasMizera December 3, 2024 13:10
Copy link
Contributor

@tomasMizera tomasMizera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @alex-cit, can I ask you to fix/rephrase grammar here? Thanks!

src/server/troubleshoot/index.md Outdated Show resolved Hide resolved
Copy link
Contributor

@alex-cit alex-cit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! I added some suggestions (I hope they don't change the meaning of the instructions :) )

src/server/administer/environment.md Outdated Show resolved Hide resolved
src/server/install/index.md Outdated Show resolved Hide resolved
src/server/troubleshoot/index.md Outdated Show resolved Hide resolved
src/server/troubleshoot/index.md Outdated Show resolved Hide resolved
src/server/troubleshoot/index.md Outdated Show resolved Hide resolved
src/server/troubleshoot/index.md Outdated Show resolved Hide resolved
src/server/troubleshoot/index.md Outdated Show resolved Hide resolved
src/server/troubleshoot/index.md Outdated Show resolved Hide resolved
src/server/troubleshoot/index.md Outdated Show resolved Hide resolved
src/server/troubleshoot/index.md Outdated Show resolved Hide resolved
src/server/administer/environment.md Show resolved Hide resolved
src/server/troubleshoot/index.md Outdated Show resolved Hide resolved
src/server/troubleshoot/index.md Outdated Show resolved Hide resolved
src/server/troubleshoot/index.md Show resolved Hide resolved
@varmar05

This comment was marked as resolved.

@MarcelGeo
Copy link
Contributor Author

@MarcelGeo let's make sure we address typical issues

* celery worker container crashing - generic config issue (e.g. RUN_CELERY legacy issues)

* celery worker process not working / stuck - generic config issue (e.g. MONKEY_PATCH issue)

* email not processed - probably not sent to queue by flask (mail config issue)

* email processed (success in logs) but no email received - SMTP config issue

added success scenario for emails. Celery troubleshooting will be another task.

@MarcelGeo
Copy link
Contributor Author

@alex-cit review new changes and we can merge It :)

Copy link
Contributor

@alex-cit alex-cit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! I have left some suggestions

| `MAIL_PASSWORD` | string | `None` | Password for user connecting to SMTP server. |
| `MAIL_USE_TLS`🛡️ | Boolean | `true` | Use TLS encryption when connecting to SMTP server. |
| `MAIL_USE_SSL`🛡️ | Boolean | `false` | Whether to use SSL encryption when connecting to SMTP server. |
| `MAIL_BCC` | string | `None` | Email address to send copies of all emails. sent. Should be system/application administrator. Mandatory in versions until 2024.4.0 |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| `MAIL_BCC` | string | `None` | Email address to send copies of all emails. sent. Should be system/application administrator. Mandatory in versions until 2024.4.0 |
| `MAIL_BCC` | string | `None` | Email address to send copies of all sent emails. Should be system/application administrator. Mandatory in versions until 2024.4.0. |

@@ -43,4 +44,4 @@ $ docker exec merginmaps-server flask user create <username> <password> --is-adm

### Setup environment
Now tweak deployment settings by modifying environment variables. You have to fix all variables marked as `fixme` (with asterisks) in this list of [environment variables](../administer/environment.md).
Now tweak deployment settings by modifying environment variables. You have to fix all variables marked as required in this list of [environment variables](../administer/environment.md). In [troubleshoot](../troubleshoot/index.md) section are listed some of the most common issues with custom deployments.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Now tweak deployment settings by modifying environment variables. You have to fix all variables marked as required in this list of [environment variables](../administer/environment.md). In [troubleshoot](../troubleshoot/index.md) section are listed some of the most common issues with custom deployments.
Now tweak deployment settings by modifying environment variables. You have to fix all variables marked as required in this list of [environment variables](../administer/environment.md). Some of the most common issues with custom deployments are listed in the [troubleshoot](../troubleshoot/index.md) section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants