-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
177 additions
and
36 deletions.
There are no files selected for viewing
Binary file added
BIN
+2.44 KB
docs/_locale/nl/LC_MESSAGES/how-to/troubleshooting/lagging-statistics.mo
Binary file not shown.
45 changes: 45 additions & 0 deletions
45
docs/_locale/nl/LC_MESSAGES/how-to/troubleshooting/lagging-statistics.po
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: DSMR Reader\n" | ||
"Report-Msgid-Bugs-To: Dennis Siemensma <github@dennissiemensma.nl>\n" | ||
"Last-Translator: Dennis Siemensma <github@dennissiemensma.nl>\n" | ||
"Language: nl\n" | ||
"Language-Team: Dennis Siemensma <github@dennissiemensma.nl>\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Generated-By: Babel 2.9.0\n" | ||
"X-Generator: Poedit 2.3\n" | ||
|
||
#: ../../how-to/troubleshooting/lagging-statistics.rst:2 | ||
msgid "Common error resolution: How do I fix ``Day statistics are lagging behind``?" | ||
msgstr "Veel voorkomende fouten: Hoe los ik ``Day statistics are lagging behind`` op?" | ||
|
||
#: ../../how-to/troubleshooting/lagging-statistics.rst:4 | ||
msgid "The error::" | ||
msgstr "De foutmelding::" | ||
|
||
#: ../../how-to/troubleshooting/lagging-statistics.rst:8 | ||
msgid "Means that the statistics module did not run (successfully) or lacks new data. This module runs once a day, by default at midnight." | ||
msgstr "Betekent dat de statistiekenmodule niet (of onsuccesvol) heeft gedraaid, of gegevens mist. De module draait dagelijks, doorgaans na middernacht." | ||
|
||
#: ../../how-to/troubleshooting/lagging-statistics.rst:10 | ||
msgid "Due to unforeseen circumstances the module may have not ran. E.g. caused by power outage or restart of the docker image." | ||
msgstr "De module kan niet (goed) hebben gedraaid door onvoorziene omstandigheden. Bijvoorbeeld door stroomuitval of het herstarten van een Docker image." | ||
|
||
#: ../../how-to/troubleshooting/lagging-statistics.rst:12 | ||
msgid "Wait until the next scheduled run and see if the problem gets resolved automatically. Alternatively (if you can't wait), go to ``/admin/dsmr_backend/scheduledprocess/`` and change the scheduled time of the ``Generate day and hour statistics`` task into the past, causing it to be executed momentarily." | ||
msgstr "Wacht tot de volgende run om te zien of dit het probleem oplost. Eventueel kun je ook zelf naar ``/admin/dsmr_backend/scheduledprocess/`` gaan en daar de geplande datumtijd van ``Generate day and hour statistics`` in het verleden zetten. Hierdoor wordt de taak direct opgepakt." | ||
|
||
#: ../../how-to/troubleshooting/lagging-statistics.rst:15 | ||
msgid "If that doesn't resolve the issue, dive into the DEBUG logs and try to find the problem." | ||
msgstr "Als dit het probleem niet oplost, schakel DEBUG logging in om verder te zoeken." | ||
|
||
#: ../../how-to/troubleshooting/lagging-statistics.rst:19 | ||
msgid "Check the logs for ``Stats:`` statements, which may identify a root cause." | ||
msgstr "Bekijk de logfiles voor regels met ``Stats:``, die een mogelijke oorzaak aangeven." | ||
|
||
#: ../../how-to/troubleshooting/lagging-statistics.rst:23 | ||
msgid ":doc:`See here for how to enable DEBUG logging </how-to/troubleshooting/enabling-debug-logging>`." | ||
msgstr ":doc:`Bekijk hier hoe je DEBUG-logging inschakelt </how-to/troubleshooting/enabling-debug-logging>`." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Common error resolution: How do I fix ``Day statistics are lagging behind``? | ||
============================================================================ | ||
|
||
The error:: | ||
|
||
Day statistics are lagging behind (1 day, 16 hours ago) | ||
|
||
Means that the statistics module did not run (successfully) or lacks new data. This module runs once a day, by default at midnight. | ||
|
||
Due to unforeseen circumstances the module may have not ran. E.g. caused by power outage or restart of the docker image. | ||
|
||
Wait until the next scheduled run and see if the problem gets resolved automatically. | ||
Alternatively (if you can't wait), go to ``/admin/dsmr_backend/scheduledprocess/`` and change the scheduled time of the ``Generate day and hour statistics`` task into the past, causing it to be executed momentarily. | ||
|
||
If that doesn't resolve the issue, dive into the DEBUG logs and try to find the problem. | ||
|
||
.. hint:: | ||
|
||
Check the logs for ``Stats:`` statements, which may identify a root cause. | ||
|
||
.. seealso:: | ||
|
||
:doc:`See here for how to enable DEBUG logging </how-to/troubleshooting/enabling-debug-logging>`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Generated by Django 3.1 on 2020-09-07 19:35 | ||
|
||
from django.db import migrations | ||
from django.utils.translation import gettext_lazy | ||
|
||
|
||
def migrate_forward(apps, schema_editor): | ||
import dsmr_frontend.services | ||
import dsmr_backend.services.backend | ||
|
||
if dsmr_backend.services.backend.is_recent_installation(): | ||
# Skip for new installations. | ||
return | ||
|
||
Notification = apps.get_model('dsmr_frontend', 'Notification') | ||
Notification.objects.create( | ||
message=dsmr_frontend.services.get_translated_string(text=gettext_lazy( | ||
'This is the final release on v4. Switching to v5 requires you to manually upgrade. ' | ||
'Click the link button for more information.' | ||
)), | ||
redirect_to='frontend:v5-upgrade-redirect' | ||
) | ||
|
||
|
||
def migrate_backward(apps, schema_editor): | ||
pass | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
operations = [ | ||
migrations.RunPython(migrate_forward, migrate_backward), | ||
] | ||
|
||
dependencies = [ | ||
('dsmr_frontend', '0043_default_color_update_tariff_2'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
from django.utils.version import get_version | ||
|
||
VERSION = (4, 19, 1, 'final', 0) | ||
VERSION = (4, 20, 0, 'final', 0) | ||
|
||
__version__ = get_version(VERSION) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Dump for DSMR-reader v4.20.0 | ||
./manage.py migrate dsmr_api 0003_create_api_user | ||
./manage.py migrate dsmr_backend 0015_backend_restart_required | ||
./manage.py migrate dsmr_backup 0013_dropbox_setting_refactoring | ||
./manage.py migrate dsmr_consumption 0019_energy_supplier_price_decimals | ||
./manage.py migrate dsmr_datalogger 0030_override_telegram_timestamp | ||
./manage.py migrate dsmr_dropbox 0001_schedule_dropbox | ||
./manage.py migrate dsmr_frontend 0044_v4_20_0_release | ||
./manage.py migrate dsmr_influxdb 0004_client_settings_update | ||
./manage.py migrate dsmr_mindergas 0005_schedule_mindergas_export | ||
./manage.py migrate dsmr_mqtt 0020_drop_mqtt_qos_setting | ||
./manage.py migrate dsmr_notification 0008_dummy_notification_provider | ||
./manage.py migrate dsmr_pvoutput 0004_pvoutput_setting_refactoring | ||
./manage.py migrate dsmr_stats 0017_day_statistics_reading_history_retroactive | ||
./manage.py migrate dsmr_weather 0006_schedule_weather_update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters