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

Update of db-sync readme #146

Open
wojtek19022 opened this issue Dec 20, 2024 · 2 comments
Open

Update of db-sync readme #146

wojtek19022 opened this issue Dec 20, 2024 · 2 comments

Comments

@wojtek19022
Copy link

wojtek19022 commented Dec 20, 2024

I encountered some problems with setting up notiffications for fails on some of my projects that i set up with db-sync extension.

There were some errors BUT I MANAGED TO DO IT. Here are some of my key points after tests

Nethertheless, documentation wasn't 1:1 what i had to configure:

  • --log-verbosity parameters aren't any longer errors or messages but: {DEBUG,INFO,WARNING,ERROR,FATAL,CRITICAL}. Yet if i choose ERROR it still displays to me every message from db-sync (every pull every few seconds even if there wasn't any errror in sync)
  • if i didn't set up smtp_username there was this error on startup of a docker container: dynaconf.vendor.box.exceptions.BoxKeyError: "'DynaBox' object has no attribute 'smtp_username'". In documentation this parameter is optional so it is not needed to be written even in yaml file (in my opinion) and if i didn't even write this parameter there, i had this error
  • use_tls parameter isn't even recognised
  • minimal_email_interval by default is set i think to 4 seconds not 4 hours as it is said in documentation. I got new e-mail about sync failure every few seconds.
@ValentinBuira
Copy link

ValentinBuira commented Feb 6, 2025

Hello @wojtek19022 , thanks for the bug report. It seems weird that so much issue are related to email notification. For example the minimal email interval are indeed in hours.
Do you think you could share with me your config.yaml and how you passed it to the docker image or mergin-db-sync executable ?

@wojtek19022
Copy link
Author

wojtek19022 commented Feb 8, 2025

Hi @ValentinBuira

This is my YAML file to configure e-mail notiffications: szablon_projektu_notiffications.txt

It was implemented in Mergin Maps CE 2023.6.1
I'm not using Nginx config
From extensions i'm using only db-sync for which it was implemented

Each of the parameters that have empty string i had to type in

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

No branches or pull requests

2 participants