Raspi4, weewx 4.10.2, MariaDB 10 on Synology, Belchertown 1.3.1
What am I doing wrong?
pi@Wetter-Raspi4:~ $ sudo wee_database --rebuild-daily --dry-run
Using configuration file /etc/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 'archive_mysql'
All daily summaries will be rebuilt.
Proceed (y/n)? y
Rebuilding daily summaries in database 'weewx_new' ...
Dry run. Nothing done.
pi@Wetter-Raspi4:~ $
pi@Wetter-Raspi4:~ $ sudo wee_database --rebuild-daily --date=2023-04-01 --to=2023-05-02 --dry-run
Using configuration file /etc/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 'archive_mysql'
Traceback (most recent call last):
File "/usr/share/weewx/wee_database", line 1168, in <module>
main()
File "/usr/share/weewx/wee_database", line 247, in main
rebuildDaily(config_dict, db_binding, options)
File "/usr/share/weewx/wee_database", line 314, in rebuildDaily
from_dt, to_dt = _parse_dates(options)
File "/usr/share/weewx/wee_database", line 1088, in _parse_dates
raise ValueError("Specify either --date or a --from and --to combination; not both")
ValueError: Specify either --date or a --from and --to combination; not both
pi@Wetter-Raspi4:~ $