kitchenowl icon indicating copy to clipboard operation
kitchenowl copied to clipboard

Docs: Unclear Documentation on SMTP Settings

Open fireflies38 opened this issue 4 months ago • 4 comments

URL to the Wiki page

https://docs.kitchenowl.org/v0.5.2/self-hosting/advanced/

What's the issue?

Hi, I've got an issue regarding setting up SMTP properly in Unraid. Maybe somebody got an Idea in how to fix it. The person that has provided the template for unraid didn't setup with SMTP Settings so i've tried to set it up my self.

According to the Docs I've set it up correctly but maybe there are some syntax errors ?

Image

Maybe somebody got it working already should be not so different from normal docker variables settings. But in the doc there are no examples provided. So I was seeking for help here.

Tested it with Gmail and Proton but none seem to work in other case (immich, nextcloud, duplicati) I don't have such issues.

fireflies38 avatar Aug 05 '25 20:08 fireflies38

Screenshot_20250805-230420.png

fireflies38 avatar Aug 05 '25 20:08 fireflies38

Do you have any backend logs that indicate what could be wrong?

TomBursch avatar Sep 21 '25 15:09 TomBursch

Hello, I have the same problem with my setup (self hosted on Synology NAS with Container-manager). I get the following entries in the log file:

2025/10/04 12:40:14,stderr,TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

2025/10/04 12:40:14,stderr,                 ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~

2025/10/04 12:40:14,stderr,    verifyLink = FRONT_URL + "/confirm-email?t=" + token

2025/10/04 12:40:14,stderr,"  File \"/usr/src/kitchenowl/app/service/mail.py\", line 64, in sendVerificationMail
"
2025/10/04 12:40:14,stderr,"    mail.sendVerificationMail(user.id, ChallengeMailVerify.create_challenge(user))
"
2025/10/04 12:40:14,stderr,"  File \"/usr/src/kitchenowl/app/controller/user/user_controller.py\", line 159, in resendVerificationMail
"
2025/10/04 12:40:14,stderr,           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

2025/10/04 12:40:14,stderr,"    return current_app.ensure_sync(fn)(*args, **kwargs)
"
2025/10/04 12:40:14,stderr,"  File \"/opt/venv/lib/python3.12/site-packages/flask_jwt_extended/view_decorators.py\", line 170, in decorator
"
2025/10/04 12:40:14,stderr,           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

2025/10/04 12:40:14,stderr,    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]

2025/10/04 12:40:14,stderr,"  File \"/opt/venv/lib/python3.12/site-packages/flask/app.py\", line 902, in dispatch_request
"
2025/10/04 12:40:14,stderr,         ^^^^^^^^^^^^^^^^^^^^^^^

2025/10/04 12:40:14,stderr,    rv = self.dispatch_request()

2025/10/04 12:40:14,stderr,"  File \"/opt/venv/lib/python3.12/site-packages/flask/app.py\", line 917, in full_dispatch_request
"
2025/10/04 12:40:14,stderr,Traceback (most recent call last):

2025/10/04 12:40:14,stderr,"[2025-10-04 10:40:14,518] ERROR in config: unsupported operand type(s) for +: 'NoneType' and 'str'

Maybe this helps - I'm also very interested in a solution for the issue.

Regards, XasNotagA

XasNotagA avatar Oct 04 '25 10:10 XasNotagA

Hello again,

I could resolve the problem. The cause was improper configuration of SMTP_FROM in the compose.yaml.

So for me the issue is resolved.

Regards, XasNotagA

XasNotagA avatar Oct 04 '25 15:10 XasNotagA