[GH-ISSUE #1113] stats page is empty #923

Closed
opened 2026-02-27 11:14:17 +03:00 by kerem · 4 comments
Owner

Originally created by @euri10 on GitHub (Apr 28, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1113

Impacted versions

  • Modoboa: 1.7.4
  • installer used: Yes/No ? YES
  • Webserver: Nginx/Apache nginx

Steps to reproduce

my first install, please bear with me, it's inside a lxc container but I don't think it's relevant,

I have some 404 on some sitestatic paths that maybe explain I don't see anything on the stats page, rest of the site seems to work fine.
The links are:
https://mail.mydomain.fr/sitestatic/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0
https://mail.mydomain.fr/sitestatic/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2

both links above are reachable with the .woff extension instead of .woff2

I tried to

(env) modoboa@modoboa:~$ python instance/manage.py collectstatic

You have requested to collect static files at the destination
location as specified in your settings:

    /srv/modoboa/instance/sitestatic

This will overwrite existing files!
Are you sure you want to do this?

Type 'yes' to continue, or 'no' to cancel: yes

0 static files copied to '/srv/modoboa/instance/sitestatic', 2195 unmodified.
(env) modoboa@modoboa:~$

to no avail,

Originally created by @euri10 on GitHub (Apr 28, 2017). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1113 # Impacted versions * Modoboa: 1.7.4 * installer used: Yes/No ? YES * Webserver: Nginx/Apache nginx # Steps to reproduce my first install, please bear with me, it's inside a lxc container but I don't think it's relevant, I have some 404 on some sitestatic paths that maybe explain I don't see anything on the stats page, rest of the site seems to work fine. The links are: https://mail.mydomain.fr/sitestatic/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0 https://mail.mydomain.fr/sitestatic/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 both links above are reachable with the .woff extension instead of .woff2 I tried to ``` (env) modoboa@modoboa:~$ python instance/manage.py collectstatic You have requested to collect static files at the destination location as specified in your settings: /srv/modoboa/instance/sitestatic This will overwrite existing files! Are you sure you want to do this? Type 'yes' to continue, or 'no' to cancel: yes 0 static files copied to '/srv/modoboa/instance/sitestatic', 2195 unmodified. (env) modoboa@modoboa:~$ ``` to no avail,
kerem closed this issue 2026-02-27 11:14:18 +03:00
Author
Owner

@euri10 commented on GitHub (Apr 28, 2017):

mmm I found why, not linked at all to that 404
I ran env/bin/python instance/manage.py logparser -v3 manually and I got something on the page, so most likely i got a cron issue

Apr 28 13:19:01 modoboa CRON[14506]: (vmail) CMD ( $PYTHON $INSTANCE/manage.py handle_mailbox_operations)

I edited $PYTHON $INSTANCE to their respective paths that are defined in the /etc/cron.d/modoboa file, works well now, it;s kind of weird it's not "translated " to their path

<!-- gh-comment-id:297994630 --> @euri10 commented on GitHub (Apr 28, 2017): mmm I found why, not linked at all to that 404 I ran ```env/bin/python instance/manage.py logparser -v3``` manually and I got something on the page, so most likely i got a cron issue Apr 28 13:19:01 modoboa CRON[14506]: (vmail) CMD ( $PYTHON $INSTANCE/manage.py handle_mailbox_operations) I edited $PYTHON $INSTANCE to their respective paths that are defined in the /etc/cron.d/modoboa file, works well now, it;s kind of weird it's not "translated " to their path
Author
Owner

@tonioo commented on GitHub (Apr 30, 2017):

@euri10 Indeed, that's strange. I'll look into it asap.

<!-- gh-comment-id:298228974 --> @tonioo commented on GitHub (Apr 30, 2017): @euri10 Indeed, that's strange. I'll look into it asap.
Author
Owner

@tonioo commented on GitHub (May 5, 2017):

@euri10 Actually, what you see in you log file is normal. Variables are not replaced but it should work. Looks like you cron daemon was not running...

<!-- gh-comment-id:299440159 --> @tonioo commented on GitHub (May 5, 2017): @euri10 Actually, what you see in you log file is normal. Variables are not replaced but it should work. Looks like you cron daemon was not running...
Author
Owner

@euri10 commented on GitHub (May 5, 2017):

@tonioo sincere apologies for the false report, actually cron was ok, dunno what happened, it works with the default cron.d/modoboa once I re-enabled the iptable rules to my container.

<!-- gh-comment-id:299461749 --> @euri10 commented on GitHub (May 5, 2017): @tonioo sincere apologies for the false report, actually cron was ok, dunno what happened, it works with the default cron.d/modoboa once I re-enabled the iptable rules to my container.
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#923
No description provided.