[GH-ISSUE #1963] Modoboa : rrdtool.OperationalError: /srv/modoboa/rrdfiles/new_accounts.rrd: illegal attempt to update using time 1589302800 when last update time is 1589313600 (minimum one second step) #1474

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

Originally created by @xeeshan-Mustafa on GitHub (May 13, 2020).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1963

Impacted versions

  • Modoboa: X.X.x
  • installer used: Yes/No ?
  • Webserver: Nginx/Apache

Steps to reproduce

Current behavior

Expected behavior

Video/Screenshot link (optional)

Originally created by @xeeshan-Mustafa on GitHub (May 13, 2020). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1963 # Impacted versions * Modoboa: X.X.x * installer used: Yes/No ? * Webserver: Nginx/Apache # Steps to reproduce # Current behavior # Expected behavior # Video/Screenshot link (optional)
kerem 2026-02-27 11:17:18 +03:00
Author
Owner

@ddiguru commented on GitHub (May 17, 2020):

I'm also receiving this.

I just upgraded to 1.15.0 and rebuilt my venv. This is on CentOS 7.x

Traceback (most recent call last):
 File "/srv/modoboa/instance/manage.py", line 21, in <module>
   main()
 File "/srv/modoboa/instance/manage.py", line 17, in main
   execute_from_command_line(sys.argv)
 File "/srv/modoboa/env/lib64/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
   utility.execute()
 File "/srv/modoboa/env/lib64/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute
   self.fetch_command(subcommand).run_from_argv(self.argv)
 File "/srv/modoboa/env/lib64/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv
   self.execute(*args, **cmd_options)
 File "/srv/modoboa/env/lib64/python3.6/site-packages/django/core/management/base.py", line 364, in execute
   output = self.handle(*args, **options)
 File "/srv/modoboa/env/lib64/python3.6/site-packages/modoboa_stats/management/commands/update_statistics.py", line 84, in handle
   self.update_account_creation_stats(options["rebuild"])
 File "/srv/modoboa/env/lib64/python3.6/site-packages/modoboa_stats/management/commands/update_statistics.py", line 79, in update_account_creation_stats
   rrdtool.update(str(db_path), *data)
rrdtool.OperationalError: /srv/modoboa/rrdfiles/new_accounts.rrd: illegal attempt to update using time 1589720400 when last update time is 1589720400 (minimum one second step)

While i'm not 100% - i temporarily commented out the following line in my crontab:

#0       *       *       *       *       root    $PYTHON $INSTANCE/manage.py update_statistics

I did this simply to stop the email warnings from filling the inbox. I'd like to fig. out a more permanent fix. Is this the code or perhaps an upgraded/updated rrdtool?

<!-- gh-comment-id:629809717 --> @ddiguru commented on GitHub (May 17, 2020): I'm also receiving this. I just upgraded to 1.15.0 and rebuilt my venv. This is on CentOS 7.x ``` Traceback (most recent call last): File "/srv/modoboa/instance/manage.py", line 21, in <module> main() File "/srv/modoboa/instance/manage.py", line 17, in main execute_from_command_line(sys.argv) File "/srv/modoboa/env/lib64/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line utility.execute() File "/srv/modoboa/env/lib64/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/srv/modoboa/env/lib64/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv self.execute(*args, **cmd_options) File "/srv/modoboa/env/lib64/python3.6/site-packages/django/core/management/base.py", line 364, in execute output = self.handle(*args, **options) File "/srv/modoboa/env/lib64/python3.6/site-packages/modoboa_stats/management/commands/update_statistics.py", line 84, in handle self.update_account_creation_stats(options["rebuild"]) File "/srv/modoboa/env/lib64/python3.6/site-packages/modoboa_stats/management/commands/update_statistics.py", line 79, in update_account_creation_stats rrdtool.update(str(db_path), *data) rrdtool.OperationalError: /srv/modoboa/rrdfiles/new_accounts.rrd: illegal attempt to update using time 1589720400 when last update time is 1589720400 (minimum one second step) ``` While i'm not 100% - i temporarily commented out the following line in my crontab: ``` #0 * * * * root $PYTHON $INSTANCE/manage.py update_statistics ``` I did this simply to stop the email warnings from filling the inbox. I'd like to fig. out a more permanent fix. Is this the code or perhaps an upgraded/updated rrdtool?
Author
Owner

@stale[bot] commented on GitHub (Dec 22, 2020):

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:749721293 --> @stale[bot] commented on GitHub (Dec 22, 2020): 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#1474
No description provided.