[GH-ISSUE #3364] webmail internal server error, with forward (+fix?) #1844

Closed
opened 2026-02-27 11:19:26 +03:00 by kerem · 1 comment
Owner

Originally created by @xinomilo on GitHub (Dec 11, 2024).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3364

  • OS Type: Debian
  • OS Version: 12
  • Database Type: MariaDB
  • Database version: 10.11
  • Modoboa: 2.3.4
  • installer used: ? (installer used initially/years ago, but updating manually since).
  • Webserver: Nginx

Steps to reproduce

recently upgraded Debian 11 -> Debian 12. modoboa was at 2.2.4, so upgraded to latest version (2.3.4) and rebuild virtual env per instructions. webmail is on 1.9.0 version.

Current behavior

since the upgrade, some users are complaining of not being able to send messages using webmail. checked logs and attaching notification send to server admin.
error_report.txt
getting a lot of these daily, and they're all occurring when forwarding some message from webmail.

possible fix (not sure). :
tried to reproduce myself, and found an internal error (500) on forwarding a message with attachment . displayed error in webmail :
"[Errno 2] No such file or directory: '/srv/modoboa/instance/media/webmail/tmpfbyw79de'"

after that, i checked and there was no webmail/ folder under media/.
recreated it, and then could forward the same message, without any errors..
maybe modoboa-installer isn't affected, but manual updates/rebuilding venv probably is (?)

thanks,

Originally created by @xinomilo on GitHub (Dec 11, 2024). Original GitHub issue: https://github.com/modoboa/modoboa/issues/3364 * OS Type: Debian * OS Version: 12 * Database Type: MariaDB * Database version: 10.11 * Modoboa: 2.3.4 * installer used: ? (installer used initially/years ago, but updating manually since). * Webserver: Nginx # Steps to reproduce recently upgraded Debian 11 -> Debian 12. modoboa was at 2.2.4, so upgraded to latest version (2.3.4) and rebuild virtual env per instructions. webmail is on 1.9.0 version. # Current behavior since the upgrade, some users are complaining of not being able to send messages using webmail. checked logs and attaching notification send to server admin. [error_report.txt](https://github.com/user-attachments/files/18093045/error_report.txt) getting a lot of these daily, and they're all occurring when forwarding some message from webmail. possible fix (not sure). : tried to reproduce myself, and found an internal error (500) on forwarding a message with attachment . displayed error in webmail : "[Errno 2] No such file or directory: '/srv/modoboa/instance/media/webmail/tmpfbyw79de'" after that, i checked and there was no webmail/ folder under media/. recreated it, and then could forward the same message, without any errors.. maybe modoboa-installer isn't affected, but manual updates/rebuilding venv probably is (?) thanks,
kerem 2026-02-27 11:19:26 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@stale[bot] commented on GitHub (Feb 25, 2025):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:2680007570 --> @stale[bot] commented on GitHub (Feb 25, 2025): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1844
No description provided.