[GH-ISSUE #3648] use of MODOBOA_CUSTOM_LOGO in Webmail #1875

Closed
opened 2026-02-27 11:19:39 +03:00 by kerem · 5 comments
Owner

Originally created by @tonioo on GitHub (Aug 1, 2025).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3648

Discussed in https://github.com/modoboa/modoboa/discussions/3646

Originally posted by xinomilo August 1, 2025
hey,
how do we use MODOBOA_CUSTOM_LOGO in webmail too? for newest modoboa >= 2.4.0
it's working fine without changes after upgrade to 2.4.x, for admin/account/contacts/calendars, but not webmail. webmail is using modoboa default logo.
thanks,

Originally created by @tonioo on GitHub (Aug 1, 2025). Original GitHub issue: https://github.com/modoboa/modoboa/issues/3648 ### Discussed in https://github.com/modoboa/modoboa/discussions/3646 <div type='discussions-op-text'> <sup>Originally posted by **xinomilo** August 1, 2025</sup> hey, how do we use MODOBOA_CUSTOM_LOGO in webmail too? for newest modoboa >= 2.4.0 it's working fine without changes after upgrade to 2.4.x, for admin/account/contacts/calendars, but not webmail. webmail is using modoboa default logo. thanks,</div>
kerem closed this issue 2026-02-27 11:19:39 +03:00
Author
Owner

@xinomilo commented on GitHub (Aug 7, 2025):

just to let you know, just upgraded to modoboa==2.4.10 and MODOBOA_CUSTOM_LOGO isn't shown anywhere. default modoboa logo now in every frontend page.

<!-- gh-comment-id:3164139209 --> @xinomilo commented on GitHub (Aug 7, 2025): just to let you know, just upgraded to modoboa==2.4.10 and MODOBOA_CUSTOM_LOGO isn't shown anywhere. default modoboa logo now in every frontend page.
Author
Owner

@tonioo commented on GitHub (Aug 7, 2025):

@xinomilo Have you checked this page: https://modoboa.readthedocs.io/en/latest/configuration.html#custom-logo ?

<!-- gh-comment-id:3164393742 --> @tonioo commented on GitHub (Aug 7, 2025): @xinomilo Have you checked this page: https://modoboa.readthedocs.io/en/latest/configuration.html#custom-logo ?
Author
Owner

@xinomilo commented on GitHub (Aug 8, 2025):

i did, but it seems some post-upgrade command, clears config.json and hadn't rechecked the file after 2.4.10 was installed.
so, works as before now, only webmail shows default modoboa logo.

thx,

<!-- gh-comment-id:3166689656 --> @xinomilo commented on GitHub (Aug 8, 2025): i did, but it seems some post-upgrade command, clears config.json and hadn't rechecked the file after 2.4.10 was installed. so, works as before now, only webmail shows default modoboa logo. thx,
Author
Owner

@xinomilo commented on GitHub (Sep 9, 2025):

so, went to upgrade from 2.4.10 -> 2.5.0 just a while ago, and lost the custom logo completely.
manage.py load_initial_data clears config.json, but reinserted the CUSTOM LOGO variables as before, restarted uwsgi/nginx but no change. custom logo isnt' seen anywhere in modoboa, just a blank spot on the top left.
can anyone else confirm or is it just local issue? (if confirmed i can open a new bug...)

(no messages or uwsgi/nginx errors)

<!-- gh-comment-id:3269743748 --> @xinomilo commented on GitHub (Sep 9, 2025): so, went to upgrade from 2.4.10 -> 2.5.0 just a while ago, and lost the custom logo completely. manage.py load_initial_data clears config.json, but reinserted the CUSTOM LOGO variables as before, restarted uwsgi/nginx but no change. custom logo isnt' seen anywhere in modoboa, just a blank spot on the top left. can anyone else confirm or is it just local issue? (if confirmed i can open a new bug...) (no messages or uwsgi/nginx errors)
Author
Owner

@xinomilo commented on GitHub (Sep 9, 2025):

got a hint : if i add '/media/' to logo path in config.json, it works again. webmail too.
working config.json :
"MENU_LOGO_PATH": "/media/logo.png",
"CREATION_FORM_LOGO_PATH": "/media/logo.png"
(untouched) settings.py :
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
MODOBOA_CUSTOM_LOGO = os.path.join(MEDIA_URL, "logo.png")

<!-- gh-comment-id:3269856202 --> @xinomilo commented on GitHub (Sep 9, 2025): got a hint : if i add '/media/' to logo path in config.json, it works again. webmail too. working config.json : "MENU_LOGO_PATH": "/media/logo.png", "CREATION_FORM_LOGO_PATH": "/media/logo.png" (untouched) settings.py : MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(BASE_DIR, 'media') MODOBOA_CUSTOM_LOGO = os.path.join(MEDIA_URL, "logo.png")
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#1875
No description provided.