Skip to content

Update of db-sync readme #146

Open
Open

Description

@wojtek19022

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.

Activity

  1. CeliaBuira commented on Feb 6, 2025

    @CeliaBuira

    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 ?

  2. wojtek19022 commented on Feb 8, 2025

    @wojtek19022
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions