Hello! I’ve deployed the vikunja v0.24.2 via docker-compose using mariadb (or also sqlite fr testing if it matters) and authentik for external login. Everything is working as expected, except Email reminders and the export of user data via mail.
For the latter, I get the notification, but no mail is send. Testmails send via docker exec vikunja /app/vikunja/vikunja testmail
are arriving as expected.
All relevant options should be set:
- The user settings (“Send me reminders for tasks via email”)
- Timezone is set correctly on the host/container.
I’ve included my docker-compose.yml at the bottom. One thing I noticed in the logs regarding mail reminders:
2024-08-20T11:36:30.761623633+02:00: INFO ▶ models/RegisterReminderCron 06a Mailer is disabled, not sending reminders per mail
2024-08-20T11:36:30.761964726+02:00: INFO ▶ models/RegisterOverdueReminderCron 06b Mailer is disabled, not sending overdue per mail
I’ve seen this message in other posts, but they were unrelated for Email issues. I am not shure what I should check next. Maybe the external login is an issue? But the database is showing the correct Email-addresses for the users.
docker-compose file:
version: '3'
services:
vikunja:
image: vikunja/vikunja
environment:
VIKUNJA_SERVICE_PUBLICURL: https://vikunja.example.com
VIKUNJA_DATABASE_HOST: db:3306
VIKUNJA_DATABASE_PASSWORD: <password>
VIKUNJA_DATABASE_TYPE: mysql
VIKUNJA_DATABASE_USER: vikunja
VIKUNJA_DATABASE_DATABASE: vikunja
VIKUNJA_SERVICE_JWTSECRET: <secret>
VIKUNJA_SERVICE_TIMEZONE: Europe/Berlin
VIKUNJA_SERVICE_ENABLEEMAILREMINDERS: true
VIKUNJA_MAILER_HOST: example.com
VIKUNJA_MAILER_PORT: 465
VIKUNJA_MAILER_AUTHTYPE: login
VIKUNJA_MAILER_USERNAME: mail@example.com
VIKUNJA_MAILER_PASSWORD: "<password>"
VIKUNJA_MAILER_SKIPTLSVERIFY: false
VIKUNJA_MAILER_FROMEMAIL: sender@example.com
VIKUNJA_MAILER_FORCESSL: true
VIKUNJA_LOG_LEVEL: INFO
VIKUNJA_LOG_MAIL: stdout
VIKUNJA_LOG_MAILLEVEL: DEBUG
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- ./files:/app/vikunja/files
- ./config.yml:/app/vikunja/config.yml
- ./backup:/app/vikunja/backup
networks:
- proxy
depends_on:
db:
condition: service_healthy
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.vikunja.entrypoints=http"
- "traefik.http.routers.vikunja.rule=Host(`vikunja.example.com`)"
- "traefik.http.middlewares.vikunja-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.vikunja.middlewares=vikunja-https-redirect"
- "traefik.http.routers.vikunja-secure.entrypoints=https"
- "traefik.http.routers.vikunja-secure.rule=Host(`vikunja.example.com`)"
- "traefik.http.routers.vikunja-secure.tls=true"
- "traefik.http.routers.vikunja-secure.service=vikunja"
- "traefik.http.routers.vikunja.tls.certResolver=letsencrypt"
- "traefik.http.services.vikunja.loadbalancer.server.port=3456"
- "traefik.docker.network=proxy"
db:
image: mariadb:10
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
environment:
MYSQL_ROOT_PASSWORD: <password>
MYSQL_USER: vikunja
MYSQL_PASSWORD: <password>
MYSQL_DATABASE: vikunja
networks:
- proxy
volumes:
- ./db:/var/lib/mysql
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "mysqladmin ping -h localhost -u vikunja --password=<password>"]
interval: 2s
start_period: 30s
networks:
proxy:
external: true