mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 08:56:02 +03:00
[GH-ISSUE #3654] Pdfcredentials download not working #1879
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1879
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 @xinomilo on GitHub (Aug 2, 2025).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3654
Impacted versions
Steps to reproduce
new frontend -> Identities, try to download any user pdf credential.
Current behavior
trying to download any pdf credential from any existing identities and nothing happens. same with new users created. no errors/messages shown. just seems identities page is refreshing after pressing "Download PDF Credentials"..
pdf files do exist in /srv/modoboa/pdfcredentials (modoboa:modoboa perms)
uwsgi log :
example.net [pid: 3148328|app: 1|req: 11/29] xxx.xxx.xxx.xxx () {58 vars in 1030 bytes} [Sat Aug 2 15:57:55 2025] GET /api/v2/accounts/?page=1&page_size=25 => generated 19829 bytes in 272 msecs (HTTP/2.0 200) 6 headers in 205 bytes (1 switches on core 0)
example.net [pid: 3148325|app: 1|req: 5/30] xxx.xxx.xxx.xxx () {58 vars in 1030 bytes} [Sat Aug 2 15:58:02 2025] GET /api/v2/accounts/?page=1&page_size=25 => generated 19829 bytes in 165 msecs (HTTP/2.0 200) 6 headers in 205 bytes (2 switches on core 0)
example.net [pid: 3148327|app: 1|req: 5/31] xxx.xxx.xxx.xxx () {58 vars in 1030 bytes} [Sat Aug 2 15:58:16 2025] GET /api/v2/accounts/?page=1&page_size=25 => generated 19829 bytes in 175 msecs (HTTP/2.0 200) 6 headers in 205 bytes (1 switches on core 0)
pdf credentials download was working fine in old frontend.
btw, even when manually downloaded (eg scp/rsync from server), pdf files can't be opened.. (maybe different issue?) eg.
$ file user@example.com.pdf
user@example.com.pdf: data
$ pdfinfo user@example.com.pdf
Syntax Warning: May not be a PDF file (continuing anyway)
Syntax Error (13): Illegal character '{'
Syntax Error: Couldn't find trailer dictionary
Syntax Error: Couldn't find trailer dictionary
Syntax Error: Couldn't read xref table
Expected behavior
download user credentials pdf in browser.