mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-27 01:06:01 +03:00
[GH-ISSUE #263] [db] sql: Scan error on column index 0, name \"SUM(Size)\": converting NULL to int64 is unsupported", mailpit | panic: runtime error: integer divide by zero #174
Labels
No labels
awaiting feedback
bug
docker
documentation
enhancement
github_actions
invalid
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mailpit#174
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alexszilagyi on GitHub (Mar 9, 2024).
Original GitHub issue: https://github.com/axllent/mailpit/issues/263
Hi there,
I have encountered the following issue:
It seems that the issues is somewhere at those lines:
https://github.com/axllent/mailpit/blob/develop/internal/storage/cron.go#L30
github.com/axllent/mailpit@bdea197a0f/internal/storage/migrations.go (L108)github.com/axllent/mailpit@bdea197a0f/internal/storage/settings.go (L56)Any ideas how to fix this?
I am using the latest version of mailpit.
axllent/mailpit:latestdocker image, with the following config:@axllent commented on GitHub (Mar 9, 2024):
Can you please tell me when this error happens... Is it immediately when Mailpit is started, or after running for 5 minutes?
@alexszilagyi commented on GitHub (Mar 9, 2024):
@axllent I am using in a CI/CD pipeline, after a certain amount of time. Can’t tell you exactly sure. Definitely not immediately
@axllent commented on GitHub (Mar 9, 2024):
I have just released a new version which should fix this error. Once you have updated it should be fairly easy to test - after 5 minutes of inactivity (ie: not using Mailpit) it runs a background process (which was crashing in your case). If Mailpit doesn't crash after 5 minutes of inactivity then it is fixed 👍
@alexszilagyi commented on GitHub (Mar 11, 2024):
Thank you @axllent , I can confirm that its fixed in v1.14.3.