Hi :slightly_smiling_face: I have version v.0.93 for Signoz and have configured the SMTP server to s...
k
Hi 🙂 I have version v.0.93 for Signoz and have configured the SMTP server to send emails. Is this the default path where templates should be stored?
Copy code
{
name = "SIGNOZ_EMAILING_TEMPLATES_DIRECTORY"
value = "/opt/signoz/templates"
}
Because during sending invitation email I get an error.
Copy code
"level": "ERROR",
    "code": {
        "function": "github.com/SigNoz/signoz/pkg/modules/user/impluser.(*Module).CreateBulkInvite",
        "file": "/home/runner/work/signoz/signoz/pkg/modules/user/impluser/module.go",
        "line": 109
    },
    "msg": "failed to send email",
    "logger": "github.com/SigNoz/signoz/pkg/modules/user/impluser",
    "error": {
        "type": "internal",
        "code": "internal",
        "message": "failed to execute template",
        "url": "",
        "additional": null
    }
Do you know what could be the reason?
v
What do you have in
/opt/signoz/templates
?
k
I would like to use the default one. Where can I find the templates in this version? Or should I copy it from here : https://github.com/SigNoz/signoz/tree/main/templates/email and add to this path? I don't want to modify them tbh.
v
Yup best to copy the default ones
Where are you installing SigNoz? Maybe we have a guide which can help out. Or we can create one
k
it's working now 🙂 thanks 🙂