Autor Tema: Duda CumulusMX  (Leído 1912 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado CarlosLSev

  • Sr. Member
  • ****
  • Mensajes: 272
    • Ver Perfil
    • Meteoviso
  • Estación: El Viso del Alcor- ESAND4100000041520A
Duda CumulusMX
« en: 31 de Julio del 2021, 20:09:43 pm »
Hola me ha pasado alguna vez pero no le di mucha importancia. Esta mañana la web estaba sin actualizar , tenía un email alertandome de ello. Al parecer internet se fue sobre la 01:21 de la noche. Al parecer internet volvió a las sobre la 01:45. Pero por algún motivo CumulusMX no se recuperó. A las 06:55 lo reinicie manualmente. ¿Hay forma de saber que pasó y si puede solucionarse?

Adjunto log

https://we.tl/t-qh8LarksQ7

Desconectado jmviper

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 4.403
  • "Vortex Complex"
    • Ver Perfil
    • www.meteoarchena.es
  • Estación: Archena - ESMUR3000000030600B
Re:Duda CumulusMX
« Respuesta #1 en: 31 de Julio del 2021, 22:44:08 pm »
Hola Carlos

En esa hora de las 1:21 se ve que no había conexión a internet (2021-07-31 01:38:16.376 SFTP[232]: Error connecting sftp - Network is unreachable) y a las 1:39 parece que se conectaba el realtime sftp (2021-07-31 01:39:38.363 Realtime[240]: Reconnected with server OK) pero quedaba pendiente la subida anterior (2021-07-31 01:39:46.371 Realtime[241]: Warning, a previous cycle is still trying to connect to FTP server, skip count = 114) por lo que reiniciaba la conexión continuamente.

Cada 5 minutos sí ponía que subía los datos gráficos:

2021-07-31 01:40:04.467 SFTP[Int]: Uploading daily graph data files
2021-07-31 01:40:04.467 SFTP[Int]: Done uploading daily graph data files


o sea que parece que fallaba solo el realtime, por problemas de latencia seguramente pero los de datos gráficos tienen latencia 0, o sea inmediatos, cosa rara.

mira a ver en el log del sistema (/etc/log/syslog) si tienes más pistas de cómo estaba la conexión a internet del sistema y si no en el log del sftp



Archena, Valle de Ricote (Murcia). 120 msnm. 19.622 hab.
Davis Vantage Pro2 Plus

www.meteoarchena.es

Desconectado CarlosLSev

  • Sr. Member
  • ****
  • Mensajes: 272
    • Ver Perfil
    • Meteoviso
  • Estación: El Viso del Alcor- ESAND4100000041520A
Re:Duda CumulusMX
« Respuesta #2 en: 03 de Agosto del 2021, 08:41:13 am »
Que raro, no vi nada raro en los log. A ver si no pasa más..

Desconectado CarlosLSev

  • Sr. Member
  • ****
  • Mensajes: 272
    • Ver Perfil
    • Meteoviso
  • Estación: El Viso del Alcor- ESAND4100000041520A
Re:Duda CumulusMX
« Respuesta #3 en: 19 de Septiembre del 2021, 18:52:28 pm »
Me volvió a pasar lo mismo, en su día active en CumulusMX  los log del ftp. Pero lo acabee desactivando. Lo volví activar he hice una prueba muy simple. A las 18:15 he desenchufado el cable de fibra de la ONT. Al rato he vuelto conectar y la Raspberry ha vuelto a recuperar conectividad. Pero tras esperar un rato la web no se recuperaba. Para recuperar he tenido que reiniciar Cumulus y eso antes no pasaba. Lo se bien por que he tenido muchas noches horas sin internet y al recuperarse ha vuelto a funcionar sin hacer nada.

Log CumulusMX ftp
Código: [Seleccionar]
2021-09-19 18:15:49.034 Realtime[163]: Uploading - realtime.txt
2021-09-19 18:15:49.035 SFTP[163]: Uploading realtime.txt to /var/www/html/realtime.txt
2021-09-19 18:15:49.104 SFTP[163]: Uploaded realtime.txt
2021-09-19 18:15:49.104 SFTP[163]: Completed uploading realtime.txt to /var/www/html/realtime.txt
2021-09-19 18:15:49.104 Realtime[163]: Uploading - realtimegauges.txt
2021-09-19 18:15:49.104 SFTP[163]: Uploading web/realtimegauges.txt to /var/www/html/realtimegauges.txt
2021-09-19 18:15:49.174 SFTP[163]: Uploaded web/realtimegauges.txt
2021-09-19 18:15:49.174 SFTP[163]: Completed uploading web/realtimegauges.txt to /var/www/html/realtimegauges.txt
2021-09-19 18:15:49.174 Realtime[163]: Uploading extra web file[0] /home/pi/CumulusMX/web/realtimegaugesT.txttmp to /var/www/html/realtimegauges.txt
2021-09-19 18:15:49.174 SFTP[163]: Uploading /home/pi/CumulusMX/web/realtimegaugesT.txttmp to /var/www/html/realtimegauges.txt
2021-09-19 18:15:49.244 SFTP[163]: Uploaded /home/pi/CumulusMX/web/realtimegaugesT.txttmp
2021-09-19 18:15:49.244 SFTP[163]: Completed uploading /home/pi/CumulusMX/web/realtimegaugesT.txttmp to /var/www/html/realtimegauges.txt
2021-09-19 18:15:49.244 Realtime[163]: Uploading extra web file[2] /home/pi/CumulusMX/web/realtimegaugesT.txt to /var/www/html/webtest/realtimegauges.txt
2021-09-19 18:15:49.245 SFTP[163]: Uploading /home/pi/CumulusMX/web/realtimegaugesT.txt to /var/www/html/webtest/realtimegauges.txt
2021-09-19 18:15:49.314 SFTP[163]: Uploaded /home/pi/CumulusMX/web/realtimegaugesT.txt
2021-09-19 18:15:49.314 SFTP[163]: Completed uploading /home/pi/CumulusMX/web/realtimegaugesT.txt to /var/www/html/webtest/realtimegauges.txt
2021-09-19 18:15:49.314 Realtime[163]: Uploading extra web file[4] /home/pi/CumulusMX/realtime.txt to /var/www/html/webtest/realtime.txt
2021-09-19 18:15:49.314 SFTP[163]: Uploading /home/pi/CumulusMX/realtime.txt to /var/www/html/webtest/realtime.txt
2021-09-19 18:15:49.383 SFTP[163]: Uploaded /home/pi/CumulusMX/realtime.txt
2021-09-19 18:15:49.383 SFTP[163]: Completed uploading /home/pi/CumulusMX/realtime.txt to /var/www/html/webtest/realtime.txt
2021-09-19 18:15:59.034 Realtime[164]: Uploading - realtime.txt
2021-09-19 18:15:59.035 SFTP[164]: Uploading realtime.txt to /var/www/html/realtime.txt
2021-09-19 18:20:02.661 SFTP[Int]: Connecting using password authentication
2021-09-19 18:20:02.661 SFTP[Int]: CumulusMX Connecting to 82.223.139.223 on port 22
2021-09-19 18:20:02.662 SFTP[Int]: Error connecting SFTP - Network is unreachable
2021-09-19 18:25:02.612 SFTP[Int]: Connecting using password authentication
2021-09-19 18:25:02.612 SFTP[Int]: CumulusMX Connecting to 82.223.139.223 on port 22
2021-09-19 18:25:02.613 SFTP[Int]: Error connecting SFTP - Network is unreachable
2021-09-19 18:30:02.699 SFTP[Int]: Connecting using password authentication
2021-09-19 18:30:02.699 SFTP[Int]: CumulusMX Connecting to 82.223.139.223 on port 22
2021-09-19 18:30:04.624 SFTP[Int]: Uploading extra files
2021-09-19 18:30:04.624 SFTP[Int]: Uploading /home/pi/CumulusMX/web/CUtags.txttmp to /var/www/html/CUtags.php
2021-09-19 18:30:04.703 SFTP[Int]: Uploaded /home/pi/CumulusMX/web/CUtags.txttmp
2021-09-19 18:30:04.703 SFTP[Int]: Completed uploading /home/pi/CumulusMX/web/CUtags.txttmp to /var/www/html/CUtags.php
2021-09-19 18:30:04.703 SFTP[Int]: Uploading /home/pi/CumulusMX/web/CUtags.txt to /var/www/html/webtest/CUtags.php
2021-09-19 18:30:04.770 SFTP[Int]: Uploaded /home/pi/CumulusMX/web/CUtags.txt
2021-09-19 18:30:04.770 SFTP[Int]: Completed uploading /home/pi/CumulusMX/web/CUtags.txt to /var/www/html/webtest/CUtags.php
2021-09-19 18:30:04.770 SFTP[Int]: Done uploading extra files
2021-09-19 18:30:04.770 SFTP[Int]: Uploading standard web files
2021-09-19 18:30:04.771 SFTP[Int]: Uploading web/websitedata.json to /var/www/html/websitedata.json
2021-09-19 18:30:04.839 SFTP[Int]: Uploaded web/websitedata.json
2021-09-19 18:30:04.839 SFTP[Int]: Completed uploading web/websitedata.json to /var/www/html/websitedata.json
2021-09-19 18:30:04.839 SFTP[Int]: Done uploading standard web files
2021-09-19 18:30:04.839 SFTP[Int]: Uploading graph data files
2021-09-19 18:30:04.840 SFTP[Int]: Uploading web/tempdata.json to /var/www/html/tempdata.json
2021-09-19 18:30:04.990 SFTP[Int]: Uploaded web/tempdata.json
2021-09-19 18:30:04.990 SFTP[Int]: Completed uploading web/tempdata.json to /var/www/html/tempdata.json
2021-09-19 18:30:04.990 SFTP[Int]: Uploading web/pressdata.json to /var/www/html/pressdata.json


Log de.cumulus mxdiag

Código: [Seleccionar]
2021-09-19 18:15:49.034 Realtime[163]: Uploading - realtime.txt
2021-09-19 18:15:49.104 Realtime[163]: Uploading - realtimegauges.txt
2021-09-19 18:15:49.174 Realtime[163]: Uploading extra web file[0] /home/pi/CumulusMX/web/realtimegaugesT.txttmp to /var/www/html/realtimegauges.txt
2021-09-19 18:15:49.244 Realtime[163]: Uploading extra web file[2] /home/pi/CumulusMX/web/realtimegaugesT.txt to /var/www/html/webtest/realtimegauges.txt
2021-09-19 18:15:49.314 Realtime[163]: Uploading extra web file[4] /home/pi/CumulusMX/realtime.txt to /var/www/html/webtest/realtime.txt
2021-09-19 18:15:59.034 Realtime[164]: Uploading - realtime.txt
2021-09-19 18:16:09.034 Realtime[165]: Warning, a previous cycle is still trying to connect to FTP server, skip count = 11
2021-09-19 18:16:09.034 Realtime[165]: No FTP attempted this cycle
2021-09-19 18:16:19.034 Realtime[166]: Warning, a previous cycle is still trying to connect to FTP server, skip count = 12
2021-09-19 18:16:19.034 Realtime[166]: No FTP attempted this cycle
2021-09-19 18:16:29.039 Realtime[167]: Warning, a previous cycle is still trying to connect to FTP server, skip count = 13
2021-09-19 18:16:29.039 Realtime[167]: No FTP attempted this cycle

Esto es fácilmente reproducible. Fallo mío? O bug de Cumulus??
« Última modificación: 19 de Septiembre del 2021, 19:00:33 pm por CarlosLSev »

Desconectado jmviper

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 4.403
  • "Vortex Complex"
    • Ver Perfil
    • www.meteoarchena.es
  • Estación: Archena - ESMUR3000000030600B
Re:Duda CumulusMX
« Respuesta #4 en: 19 de Septiembre del 2021, 23:57:26 pm »
No es lo mismo que pierda conectividad que desenchufes la red. Si se va la red puede que MX no conecte de la misma manera si tenía la conexión establecida, quizás por cómo el adaptador de red de la raspi renegocia IP etc.


Archena, Valle de Ricote (Murcia). 120 msnm. 19.622 hab.
Davis Vantage Pro2 Plus

www.meteoarchena.es

Desconectado CarlosLSev

  • Sr. Member
  • ****
  • Mensajes: 272
    • Ver Perfil
    • Meteoviso
  • Estación: El Viso del Alcor- ESAND4100000041520A
Re:Duda CumulusMX
« Respuesta #5 en: 20 de Septiembre del 2021, 08:49:47 am »
Buenos días, la historia es que al quitar cable de fibra, la raspi funciona y sigue obteniendo datos de la estación. La wifi sigue funcionando al igual que la red cableada. Solo que no tiene salida a internet
En ningún momento quito el cable de internet o apagó el router.
Se puede seguir accediendo a su página 192.168.0.xx:8998. Antes esto no pasaba. Durante varias noches de abril o mayo robaban un cable y dejaban sin internet a la mayoría del pueblo. Esto ha pasado varios días. Y al volver la conexión solo se recuperaba.
Actualizare a la última versión y si sigue pasando probaré a informarselo al creador..
Gracias

Desconectado CarlosLSev

  • Sr. Member
  • ****
  • Mensajes: 272
    • Ver Perfil
    • Meteoviso
  • Estación: El Viso del Alcor- ESAND4100000041520A
Re:Duda CumulusMX
« Respuesta #6 en: 21 de Septiembre del 2021, 16:07:48 pm »
 Al parecer es un bug, será corregido en la proxima actualización

Edito para informa que está corregido en la nueva versión de hoy,.también corrigió otro problema que reportó otro usuario del foro con el tema la precipitación.
3.13.3 - b3148
——————————————
- Fix: FineOffset station historic catch-up is now aligned to the correct logger intervals
- Fix: Raincounter reset incorrectly detected if a day has had more than 50 mm of rainfall
- Fix: Realtime FTP would not recover after a connection failure


« Última modificación: 22 de Septiembre del 2021, 15:21:29 pm por CarlosLSev »