<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Jörg,<div class=""><br class=""></div><div class="">die Reparatur sollte trivial sein:</div><div class=""><br class=""></div><div class="">- in der Datenbank “DROP INDEX indexname”</div><div class="">- dann im VZ Ordner: bin/doctrine orm:schema-tool:update </div><div class=""><br class=""></div><div class="">damit macht der “ORM” alles Notwendige für Dich, dauert aber eine Weile.</div><div class=""><br class=""></div><div class="">Viele Grüße, </div><div class="">Andreas</div><div class=""><br class=""></div><div class="">PS.: wie immer willst Du vorher ein Backup haben ;)<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 3. Apr 2020, at 13:42, Joerg Middendorf <<a href="mailto:joergmiddendorf@gmx.de" class="">joergmiddendorf@gmx.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Ich denke ich habe das Problem mit dem GateWay Timeout und der Service Temporarily Unavailable Meldung gefunden. Meine Datenbank scheint einen korrupten Index für die Tabelle ‚data‘ zu haben.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Hab einige Wege gefunden wie ich das hoffentlich reparieren kann. Ein einfacher war leider nicht dabei.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Auch die Data Aggregation scheint nun einwandfrei zu funktionieren.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Meine letzte Frage:<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Welche guten Erfahrungen habt Ihr mit den Einstellungen für die Aggregation für S0 Impulse? 60 Sekunden ist definitiv zu viel, dann sieht alles grausam aus.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div class=""><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(225, 225, 225); padding: 3pt 0cm 0cm;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><b class="">Von:</b><span class="Apple-converted-space"> </span>volkszaehler-users <<a href="mailto:volkszaehler-users-bounces@demo.volkszaehler.org" class="">volkszaehler-users-bounces@demo.volkszaehler.org</a>><span class="Apple-converted-space"> </span><b class="">Im Auftrag von<span class="Apple-converted-space"> </span></b>Friedrich Kessler<br class=""><b class="">Gesendet:</b><span class="Apple-converted-space"> </span>Donnerstag, 2. April 2020 19:40<br class=""><b class="">An:</b><span class="Apple-converted-space"> </span><a href="http://volkszaehler.org" class="">volkszaehler.org</a> - users <<a href="mailto:volkszaehler-users@demo.volkszaehler.org" class="">volkszaehler-users@demo.volkszaehler.org</a>><br class=""><b class="">Betreff:</b><span class="Apple-converted-space"> </span>Re: [vz-users] Daten Aggregation und 'Service Temporarily Unavailable' bzw. 'Gateway Timeout' mit Datenbank auf Synology Diskstation<o:p class=""></o:p></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10.5pt;" class="">Halo,<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10.5pt;" class="">Nur mal so ein Tip,<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10.5pt;" class="">Es gibt ja einige Variablen im Server, welche Timeouts bei Queries beeinflussen – bin da leider auch nicht ganz fit.<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10.5pt;" class="">Aber auf meinem Räson mit mehr als 10 Mio Datensätzen sieht es so aus:<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-stretch: normal;" class=""><span style="font-size: 10.5pt; font-family: Menlo, serif;" class="">mysql>  SHOW VARIABLES LIKE '%timeout'; <o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-stretch: normal;" class=""><span style="font-size: 10.5pt; font-family: Menlo, serif;" class="">+----------------------------+----------+<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-stretch: normal;" class=""><span style="font-size: 10.5pt; font-family: Menlo, serif;" class="">| Variable_name              | Value    |<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-stretch: normal;" class=""><span style="font-size: 10.5pt; font-family: Menlo, serif;" class="">+----------------------------+----------+<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-stretch: normal;" class=""><span style="font-size: 10.5pt; font-family: Menlo, serif;" class="">| connect_timeout            | 10       |<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-stretch: normal;" class=""><span style="font-size: 10.5pt; font-family: Menlo, serif;" class="">| delayed_insert_timeout     | 300      |<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-stretch: normal;" class=""><span style="font-size: 10.5pt; font-family: Menlo, serif;" class="">| innodb_lock_wait_timeout   | 50       |<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-stretch: normal;" class=""><span style="font-size: 10.5pt; font-family: Menlo, serif;" class="">| innodb_rollback_on_timeout | OFF      |<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-stretch: normal;" class=""><span style="font-size: 10.5pt; font-family: Menlo, serif;" class="">| interactive_timeout        | 28800    |<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-stretch: normal;" class=""><span style="font-size: 10.5pt; font-family: Menlo, serif;" class="">| lock_wait_timeout          | 31536000 |<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-stretch: normal;" class=""><span style="font-size: 10.5pt; font-family: Menlo, serif;" class="">| net_read_timeout           | 30       |<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-stretch: normal;" class=""><span style="font-size: 10.5pt; font-family: Menlo, serif;" class="">| net_write_timeout          | 60       |<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-stretch: normal;" class=""><span style="font-size: 10.5pt; font-family: Menlo, serif;" class="">| slave_net_timeout          | 3600     |<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-stretch: normal;" class=""><span style="font-size: 10.5pt; font-family: Menlo, serif;" class="">| wait_timeout               | 28800    |<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-stretch: normal;" class=""><span style="font-size: 10.5pt; font-family: Menlo, serif;" class="">+----------------------------+----------+<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-stretch: normal;" class=""><span style="font-size: 10.5pt; font-family: Menlo, serif;" class="">10 rows in set (0.00 sec)<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10.5pt;" class=""><br class=""><br class=""><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10.5pt;" class="">Vielleicht ist das ein Ansatz.<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10.5pt;" class=""><o:p class=""> </o:p></span></div></div><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(181, 196, 223); padding: 3pt 0cm 0cm;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><b class=""><span style="" class="">Von:<span class="Apple-converted-space"> </span></span></b><span style="" class="">volkszaehler-users <<a href="mailto:volkszaehler-users-bounces@demo.volkszaehler.org" style="color: blue; text-decoration: underline;" class="">volkszaehler-users-bounces@demo.volkszaehler.org</a>> on behalf of Joerg Middendorf <<a href="mailto:joergmiddendorf@gmx.de" style="color: blue; text-decoration: underline;" class="">joergmiddendorf@gmx.de</a>><br class=""><b class="">Antworten an:<span class="Apple-converted-space"> </span></b>"<a href="http://volkszaehler.org" class="">volkszaehler.org</a> - users" <<a href="mailto:volkszaehler-users@demo.volkszaehler.org" style="color: blue; text-decoration: underline;" class="">volkszaehler-users@demo.volkszaehler.org</a>><br class=""><b class="">Datum:<span class="Apple-converted-space"> </span></b>Donnerstag, 2. April 2020 um 12:50<br class=""><b class="">An:<span class="Apple-converted-space"> </span></b>"'<a href="http://volkszaehler.org" class="">volkszaehler.org</a> - users'" <<a href="mailto:volkszaehler-users@demo.volkszaehler.org" style="color: blue; text-decoration: underline;" class="">volkszaehler-users@demo.volkszaehler.org</a>><br class=""><b class="">Betreff:<span class="Apple-converted-space"> </span></b>Re: [vz-users] Daten Aggregation und 'Service Temporarily Unavailable' bzw. 'Gateway Timeout' mit Datenbank auf Synology Diskstation<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10.5pt;" class=""><o:p class=""> </o:p></span></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class="">Der User war in der config.yaml falsch eingetragen. Danke für den Denkanstoß – hätte ich auch selbst drauf kommen müssen.</span><span style="" class=""><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class="">Leider immer noch die Timeout Probleme.</span><span style="" class=""><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class=""> </span><span style="" class=""><o:p class=""></o:p></span></div><div class=""><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(225, 225, 225); padding: 3pt 0cm 0cm;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><b class=""><span style="" class="">Von:</span></b><span style="" class=""><span class="Apple-converted-space"> </span>volkszaehler-users <<a href="mailto:volkszaehler-users-bounces@demo.volkszaehler.org" style="color: blue; text-decoration: underline;" class="">volkszaehler-users-bounces@demo.volkszaehler.org</a>><span class="Apple-converted-space"> </span><b class="">Im Auftrag von<span class="Apple-converted-space"> </span></b>Andreas Goetz<br class=""><b class="">Gesendet:</b><span class="Apple-converted-space"> </span>Mittwoch, 1. April 2020 20:51<br class=""><b class="">An:</b><span class="Apple-converted-space"> </span><a href="http://volkszaehler.org" class="">volkszaehler.org</a> - users <<a href="mailto:volkszaehler-users@demo.volkszaehler.org" style="color: blue; text-decoration: underline;" class="">volkszaehler-users@demo.volkszaehler.org</a>><br class=""><b class="">Betreff:</b><span class="Apple-converted-space"> </span>Re: [vz-users] Daten Aggregation und 'Service Temporarily Unavailable' bzw. 'Gateway Timeout' mit Datenbank auf Synology Diskstation<o:p class=""></o:p></span></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class=""> <o:p class=""></o:p></span></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class="">Dei Aggregation läuft m.w. mit dem Adminuser- einfach in die übliche Konfigurationsdatei schauen. Hat sie sich sicher nicht willkürlich ausgedacht ;)<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class=""> <o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class="">Viele Grüße, Andreas <o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class=""><br class=""><br class=""><br class=""><o:p class=""></o:p></span></div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class="" type="cite"><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="" class="">Am 01.04.2020 um 20:49 schrieb joergmiddendorf <<a href="mailto:joergmiddendorf@gmx.de" style="color: blue; text-decoration: underline;" class="">joergmiddendorf@gmx.de</a>>:<o:p class=""></o:p></span></p></blockquote></div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class="" type="cite"><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class=""><o:p class=""></o:p></span></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class="">Danke für die schnelle Antwort. Werde ich probieren. Hab das allerdings für die alten Daten versucht und hab eine Fehlermeldung bekommen. Access denied, allerings für einen ganz falschen User.<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class=""> <o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class=""> <o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class=""> <o:p class=""></o:p></span></div></div><div id="composer_signature" class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 9.5pt; color: rgb(87, 87, 87);" class="">Von meinem Samsung Galaxy Smartphone gesendet.</span><span style="" class=""><o:p class=""></o:p></span></div></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class=""> <o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class=""> <o:p class=""></o:p></span></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class="">-------- Ursprüngliche Nachricht --------<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class="">Von: Daniel Lauckner <<a href="mailto:vz@jahp.de" style="color: blue; text-decoration: underline;" class="">vz@jahp.de</a>><span class="Apple-converted-space"> </span><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class="">Datum: 01.04.20 20:43 (GMT+01:00)<span class="Apple-converted-space"> </span><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class="">An: "<a href="http://volkszaehler.org" class="">volkszaehler.org</a> - users" <<a href="mailto:volkszaehler-users@demo.volkszaehler.org" style="color: blue; text-decoration: underline;" class="">volkszaehler-users@demo.volkszaehler.org</a>><span class="Apple-converted-space"> </span><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class="">Betreff: Re: [vz-users] Daten Aggregation und 'Service Temporarily   Unavailable' bzw. 'Gateway Timeout' mit Datenbank auf Synology Diskstation<span class="Apple-converted-space"> </span><o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class=""> <o:p class=""></o:p></span></div></div></div><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="" class="">Hallo,<br class=""><br class=""><br class="">am Mittwoch, 1. April 2020 um 17:41 hat Joerg Middendorf geschrieben:<br class="">> 3.      Wie bekomme ich denn auf dieser externen Datenbank mit Daten<br class="">> Aggregation weiter?<br class=""><br class="">Aggregation wird über die Middleware gemacht. Cronjob dazu<br class="">vorzugsweise auf dem selben System, also dem Rpi.<br class=""><br class=""><br class="">mfg Daniel</span></p></div></blockquote></div></div></div></div></blockquote></div><br class=""></div></body></html>