Kareadita / Kavita

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
http://www.kavitareader.com
GNU General Public License v3.0
6.21k stars 322 forks source link

Help for setting up correctly the e-mail settings (Version 0.7.14.0 docker setup) #2746

Closed nickiman closed 7 months ago

nickiman commented 7 months ago

What happened?

Not sure if my problem is related with this issue #2702

I´ve configured the settings according with this instructions: imagen

I´ve tried configuring SSL (465) and TLS (587) protocols... but without success: SSL (465) imagen Having this message in LOG: [Kavita] [2024-02-26 12:12:30.007 +01:00 102] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/test-email-url responded 200 in 8.9623 ms

TLS (587) imagen Having this message in LOG: [Kavita] [2024-02-26 12:15:08.919 +01:00 105] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/test-email-url responded 200 in 3.8230 ms

Reading the Kavita´s documentation I´ve seen this: https://wiki2.kavitareader.com/guides/admin-settings/email#gmail-users

The apppassword generated was like this: XXXX XXXX XXXX XXXX I´ve tried to paste it like above and also all together: XXXXXXXXXXXXXXXX

In both ways doesn´t work.

My docker compose it´s this:

`version: '3.9' services: kavita: image: jvmilazz0/kavita:latest # Using the stable branch from the offical dockerhub repo. container_name: kavita volumes:

What did you expect?

Some help in order to use the E-Mail feature....

Kavita Version Number - Don't see your version number listed? Then your install is out of date. Please update and see if your issue still persists.

0.7.14 - Stable

What operating system is Kavita being hosted from?

Docker (Other)

If the issue is being seen on Desktop, what OS are you running where you see the issue?

None

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Firefox

If the issue is being seen on Mobile, what OS are you running where you see the issue?

None

If the issue is being seen on the UI, what browsers are you seeing the problem on?

Firefox

Relevant log output

Kavita - v0.7.14.0
[Kavita] [2024-02-26 14:56:03.372 +01:00  1] [Information] Microsoft.Hosting.Lifetime Application started. Press Ctrl+C to shut down.
[Kavita] [2024-02-26 14:56:03.373 +01:00  1] [Information] Microsoft.Hosting.Lifetime Hosting environment: Production
[Kavita] [2024-02-26 14:56:03.373 +01:00  1] [Information] Microsoft.Hosting.Lifetime Content root path: /kavita
[Kavita] [2024-02-26 14:56:05.179 +01:00  4] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET / responded 200 in 343.8996 ms
[Kavita] [2024-02-26 14:56:31.253 +01:00  7] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/settings responded 200 in 202.1070 ms
[Kavita] [2024-02-26 14:56:57.035 +01:00  4] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 14:56:57.118 +01:00  4] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings responded 200 in 213.4358 ms
[Kavita] [2024-02-26 14:57:51.688 +01:00  45] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/test-email-url responded 200 in 66.0528 ms
[Kavita] [2024-02-26 14:58:10.697 +01:00  44] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 14:58:10.709 +01:00  44] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings responded 200 in 17.8768 ms
[Kavita] [2024-02-26 14:58:13.349 +01:00  45] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/test-email-url responded 200 in 5.6675 ms
[Kavita] [2024-02-26 14:58:22.335 +01:00  43] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 14:58:22.368 +01:00  43] [Information] API.Services.Tasks.Scanner.LibraryWatcher [LibraryWatcher] Starting file watchers for 1 library folders
[Kavita] [2024-02-26 14:58:22.369 +01:00  43] [Debug] API.Services.Tasks.Scanner.LibraryWatcher [LibraryWatcher] Watching /comics
[Kavita] [2024-02-26 14:58:22.401 +01:00  43] [Information] API.Services.Tasks.Scanner.LibraryWatcher [LibraryWatcher] Watching 1 folders
[Kavita] [2024-02-26 14:58:22.402 +01:00  43] [Information] API.Controllers.SettingsController Server Settings updated
[Kavita] [2024-02-26 14:58:22.402 +01:00  43] [Information] API.Services.TaskScheduler Scheduling reoccurring tasks
[Kavita] [2024-02-26 14:58:22.404 +01:00  43] [Debug] API.Services.TaskScheduler Scheduling Scan Library Task for daily
[Kavita] [2024-02-26 14:58:22.473 +01:00  43] [Debug] API.Services.TaskScheduler Scheduling Backup Task for daily
[Kavita] [2024-02-26 14:58:22.482 +01:00  43] [Debug] API.Services.TaskScheduler Scheduling Cleanup Task for daily
[Kavita] [2024-02-26 14:58:22.489 +01:00  43] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings responded 200 in 155.9141 ms
[Kavita] [2024-02-26 14:58:23.293 +01:00  43] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/test-email-url responded 200 in 7.5691 ms
[Kavita] [2024-02-26 14:58:53.987 +01:00  46] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 14:58:54.052 +01:00  46] [Information] API.Services.Tasks.Scanner.LibraryWatcher [LibraryWatcher] Starting file watchers for 1 library folders
[Kavita] [2024-02-26 14:58:54.052 +01:00  46] [Debug] API.Services.Tasks.Scanner.LibraryWatcher [LibraryWatcher] Watching /comics
[Kavita] [2024-02-26 14:58:54.059 +01:00  46] [Information] API.Services.Tasks.Scanner.LibraryWatcher [LibraryWatcher] Watching 1 folders
[Kavita] [2024-02-26 14:58:54.060 +01:00  46] [Information] API.Controllers.SettingsController Server Settings updated
[Kavita] [2024-02-26 14:58:54.060 +01:00  46] [Information] API.Services.TaskScheduler Scheduling reoccurring tasks
[Kavita] [2024-02-26 14:58:54.061 +01:00  46] [Debug] API.Services.TaskScheduler Scheduling Scan Library Task for daily
[Kavita] [2024-02-26 14:58:54.064 +01:00  46] [Debug] API.Services.TaskScheduler Scheduling Backup Task for daily
[Kavita] [2024-02-26 14:58:54.067 +01:00  46] [Debug] API.Services.TaskScheduler Scheduling Cleanup Task for daily
[Kavita] [2024-02-26 14:58:54.072 +01:00  46] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings responded 200 in 87.5172 ms
[Kavita] [2024-02-26 14:58:58.095 +01:00  46] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/test-email-url responded 200 in 17.4961 ms
[Kavita] [2024-02-26 14:59:20.065 +01:00  46] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 14:59:20.077 +01:00  46] [Information] API.Services.Tasks.Scanner.LibraryWatcher [LibraryWatcher] Starting file watchers for 1 library folders
[Kavita] [2024-02-26 14:59:20.078 +01:00  46] [Debug] API.Services.Tasks.Scanner.LibraryWatcher [LibraryWatcher] Watching /comics
[Kavita] [2024-02-26 14:59:20.085 +01:00  46] [Information] API.Services.Tasks.Scanner.LibraryWatcher [LibraryWatcher] Watching 1 folders
[Kavita] [2024-02-26 14:59:20.086 +01:00  46] [Information] API.Controllers.SettingsController Server Settings updated
[Kavita] [2024-02-26 14:59:20.086 +01:00  46] [Information] API.Services.TaskScheduler Scheduling reoccurring tasks
[Kavita] [2024-02-26 14:59:20.088 +01:00  46] [Debug] API.Services.TaskScheduler Scheduling Scan Library Task for daily
[Kavita] [2024-02-26 14:59:20.090 +01:00  46] [Debug] API.Services.TaskScheduler Scheduling Backup Task for daily
[Kavita] [2024-02-26 14:59:20.093 +01:00  46] [Debug] API.Services.TaskScheduler Scheduling Cleanup Task for daily
[Kavita] [2024-02-26 14:59:20.098 +01:00  46] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings responded 200 in 34.7874 ms
[Kavita] [2024-02-26 14:59:21.314 +01:00  43] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/test-email-url responded 200 in 3.6383 ms
[Kavita] [2024-02-26 14:59:26.760 +01:00  50] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 14:59:26.787 +01:00  50] [Information] API.Services.Tasks.Scanner.LibraryWatcher [LibraryWatcher] Starting file watchers for 1 library folders
[Kavita] [2024-02-26 14:59:26.788 +01:00  50] [Debug] API.Services.Tasks.Scanner.LibraryWatcher [LibraryWatcher] Watching /comics
[Kavita] [2024-02-26 14:59:26.796 +01:00  50] [Information] API.Services.Tasks.Scanner.LibraryWatcher [LibraryWatcher] Watching 1 folders
[Kavita] [2024-02-26 14:59:26.796 +01:00  50] [Information] API.Controllers.SettingsController Server Settings updated
[Kavita] [2024-02-26 14:59:26.797 +01:00  50] [Information] API.Services.TaskScheduler Scheduling reoccurring tasks
[Kavita] [2024-02-26 14:59:26.799 +01:00  50] [Debug] API.Services.TaskScheduler Scheduling Scan Library Task for daily
[Kavita] [2024-02-26 14:59:26.802 +01:00  50] [Debug] API.Services.TaskScheduler Scheduling Backup Task for daily
[Kavita] [2024-02-26 14:59:26.804 +01:00  50] [Debug] API.Services.TaskScheduler Scheduling Cleanup Task for daily
[Kavita] [2024-02-26 14:59:26.809 +01:00  50] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings responded 200 in 50.4000 ms
[Kavita] [2024-02-26 14:59:30.980 +01:00  43] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/account/refresh-token responded 200 in 545.1242 ms
[Kavita] [2024-02-26 14:59:31.066 +01:00  43] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /hubs/messages/negotiate?negotiateVersion=1 responded 200 in 13.6298 ms
[Kavita] [2024-02-26 14:59:31.084 +01:00  46] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/device responded 200 in 70.9791 ms
[Kavita] [2024-02-26 14:59:31.121 +01:00  50] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/license/valid-license?forceCheck=false responded 200 in 82.1322 ms
[Kavita] [2024-02-26 14:59:39.664 +01:00  46] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 14:59:39.676 +01:00  46] [Information] API.Services.Tasks.Scanner.LibraryWatcher [LibraryWatcher] Starting file watchers for 1 library folders
[Kavita] [2024-02-26 14:59:39.676 +01:00  46] [Debug] API.Services.Tasks.Scanner.LibraryWatcher [LibraryWatcher] Watching /comics
[Kavita] [2024-02-26 14:59:39.686 +01:00  46] [Information] API.Services.Tasks.Scanner.LibraryWatcher [LibraryWatcher] Watching 1 folders
[Kavita] [2024-02-26 14:59:39.686 +01:00  46] [Information] API.Controllers.SettingsController Server Settings updated
[Kavita] [2024-02-26 14:59:39.687 +01:00  46] [Information] API.Services.TaskScheduler Scheduling reoccurring tasks
[Kavita] [2024-02-26 14:59:39.688 +01:00  46] [Debug] API.Services.TaskScheduler Scheduling Scan Library Task for daily
[Kavita] [2024-02-26 14:59:39.693 +01:00  46] [Debug] API.Services.TaskScheduler Scheduling Backup Task for daily
[Kavita] [2024-02-26 14:59:39.695 +01:00  46] [Debug] API.Services.TaskScheduler Scheduling Cleanup Task for daily
[Kavita] [2024-02-26 14:59:39.708 +01:00  46] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings responded 200 in 46.1406 ms
[Kavita] [2024-02-26 14:59:44.082 +01:00  50] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/test-email-url responded 200 in 3.7052 ms
[Kavita] [2024-02-26 14:59:49.678 +01:00  50] [Information] API.Controllers.SettingsController nickiman is resetting Server Settings
[Kavita] [2024-02-26 14:59:49.682 +01:00  50] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 14:59:49.713 +01:00  50] [Information] API.Services.Tasks.Scanner.LibraryWatcher [LibraryWatcher] Stopping watching folders
[Kavita] [2024-02-26 14:59:49.718 +01:00  50] [Information] API.Controllers.SettingsController Server Settings updated
[Kavita] [2024-02-26 14:59:49.718 +01:00  50] [Information] API.Services.TaskScheduler Scheduling reoccurring tasks
[Kavita] [2024-02-26 14:59:49.720 +01:00  50] [Debug] API.Services.TaskScheduler Scheduling Scan Library Task for daily
[Kavita] [2024-02-26 14:59:49.722 +01:00  50] [Debug] API.Services.TaskScheduler Scheduling Backup Task for daily
[Kavita] [2024-02-26 14:59:49.724 +01:00  50] [Debug] API.Services.TaskScheduler Scheduling Cleanup Task for daily
[Kavita] [2024-02-26 14:59:49.728 +01:00  50] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/reset responded 200 in 66.1355 ms
[Kavita] [2024-02-26 14:59:51.970 +01:00  43] [Information] API.Controllers.SettingsController nickiman is resetting Server Settings
[Kavita] [2024-02-26 14:59:51.971 +01:00  43] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 14:59:51.975 +01:00  43] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/reset responded 200 in 6.4037 ms
[Kavita] [2024-02-26 14:59:52.168 +01:00  53] [Information] API.Controllers.SettingsController nickiman is resetting Server Settings
[Kavita] [2024-02-26 14:59:52.168 +01:00  53] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 14:59:52.171 +01:00  53] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/reset responded 200 in 4.4516 ms
[Kavita] [2024-02-26 14:59:52.369 +01:00  50] [Information] API.Controllers.SettingsController nickiman is resetting Server Settings
[Kavita] [2024-02-26 14:59:52.369 +01:00  50] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 14:59:52.372 +01:00  50] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/reset responded 200 in 4.1459 ms
[Kavita] [2024-02-26 14:59:52.535 +01:00  46] [Information] API.Controllers.SettingsController nickiman is resetting Server Settings
[Kavita] [2024-02-26 14:59:52.536 +01:00  46] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 14:59:52.538 +01:00  46] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/reset responded 200 in 3.7951 ms
[Kavita] [2024-02-26 14:59:52.744 +01:00  50] [Information] API.Controllers.SettingsController nickiman is resetting Server Settings
[Kavita] [2024-02-26 14:59:52.745 +01:00  50] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 14:59:52.748 +01:00  50] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/reset responded 200 in 5.1826 ms
[Kavita] [2024-02-26 14:59:54.121 +01:00  50] [Information] API.Controllers.SettingsController nickiman is resetting Server Settings
[Kavita] [2024-02-26 14:59:54.121 +01:00  50] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 14:59:54.126 +01:00  50] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/reset responded 200 in 6.3095 ms
[Kavita] [2024-02-26 14:59:54.376 +01:00  50] [Information] API.Controllers.SettingsController nickiman is resetting Server Settings
[Kavita] [2024-02-26 14:59:54.376 +01:00  50] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 14:59:54.378 +01:00  50] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/reset responded 200 in 4.0978 ms
[Kavita] [2024-02-26 14:59:55.601 +01:00  46] [Information] API.Controllers.SettingsController nickiman is resetting Server Settings
[Kavita] [2024-02-26 14:59:55.601 +01:00  46] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 14:59:55.604 +01:00  46] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/reset responded 200 in 4.9013 ms
[Kavita] [2024-02-26 15:00:00.103 +01:00  50] [Information] API.Controllers.SettingsController nickiman is resetting Server Settings
[Kavita] [2024-02-26 15:00:00.104 +01:00  50] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 15:00:00.108 +01:00  50] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/reset responded 200 in 6.2060 ms
[Kavita] [2024-02-26 15:00:00.353 +01:00  50] [Information] API.Controllers.SettingsController nickiman is resetting Server Settings
[Kavita] [2024-02-26 15:00:00.353 +01:00  50] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 15:00:00.356 +01:00  50] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/reset responded 200 in 3.9998 ms
[Kavita] [2024-02-26 15:00:03.107 +01:00  43] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/test-email-url responded 200 in 4.4162 ms
[Kavita] [2024-02-26 15:00:08.464 +01:00  53] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/settings/task-frequencies responded 200 in 8.1297 ms
[Kavita] [2024-02-26 15:00:08.475 +01:00  50] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/settings responded 200 in 3.3312 ms
[Kavita] [2024-02-26 15:00:08.479 +01:00  46] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/settings/log-levels responded 200 in 7.4556 ms
[Kavita] [2024-02-26 15:00:08.572 +01:00  53] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/server/jobs responded 200 in 52.7590 ms
[Kavita] [2024-02-26 15:00:09.219 +01:00  50] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/settings responded 200 in 2.3272 ms
[Kavita] [2024-02-26 15:00:57.110 +01:00  46] [Information] API.Controllers.SettingsController nickiman is updating Server Settings
[Kavita] [2024-02-26 15:00:57.527 +01:00  46] [Information] API.Services.Tasks.Scanner.LibraryWatcher [LibraryWatcher] Stopping watching folders
[Kavita] [2024-02-26 15:00:57.527 +01:00  46] [Information] API.Controllers.SettingsController Server Settings updated
[Kavita] [2024-02-26 15:00:57.528 +01:00  46] [Information] API.Services.TaskScheduler Scheduling reoccurring tasks
[Kavita] [2024-02-26 15:00:57.528 +01:00  46] [Debug] API.Services.TaskScheduler Scheduling Scan Library Task for daily
[Kavita] [2024-02-26 15:00:57.531 +01:00  46] [Debug] API.Services.TaskScheduler Scheduling Backup Task for daily
[Kavita] [2024-02-26 15:00:57.533 +01:00  46] [Debug] API.Services.TaskScheduler Scheduling Cleanup Task for daily
[Kavita] [2024-02-26 15:00:57.543 +01:00  46] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings responded 200 in 434.6609 ms
[Kavita] [2024-02-26 15:01:04.475 +01:00  43] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/settings/test-email-url responded 200 in 3.5001 ms

Additional Notes

Running Kavita in Docker from my QNAP´s Container Station

nickiman commented 7 months ago

Sorry, after restart the container. I´ve noted that I need to write also the hostname in the settings. Configuring the QNAP NAS server name on it and using the format of the app password as it was showed by Google: XXXX XXXX XXXX XXXX

Work without problems: imagen

majora2007 commented 7 months ago

You need to fill out hostname. This was an oversight in v0.7.14 and will be corrected in the next stable.

If you aren't using a reverse proxy, then just put google.com or something.