weewx suddenly stops

98 views
Skip to first unread message

Werner

unread,
Jul 5, 2019, 5:08:24 AM7/5/19
to weewx-user
Hello everybody, I installed weewx on a raspberry pi zero to put the data of my WMR300 online at AWEKAS.
The Raspberry is running the current Raspian and weewx is the only program installed.
It works fine too, until weewx suddenly stops. It happens after different periods of time.
It's one hour or four hours. I just need to interrupt the USB connection to the WMR300 and weewx will run again.
Maybe someone has a tip for me? Many Thanks!

Log.txt

Thomas Keffer

unread,
Jul 5, 2019, 10:15:39 AM7/5/19
to weewx-user
Hello, Werner

What comes after the Jul  5 10:20:28 entry in the log? Anything?

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/ccd77f3c-347a-458a-93db-a9ae0747a1b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Werner

unread,
Jul 5, 2019, 10:22:55 AM7/5/19
to weewx-user
Nothing! The log stops even if weewx stops.

Am Freitag, 5. Juli 2019 16:15:39 UTC+2 schrieb Thomas Keffer:
Hello, Werner

What comes after the Jul  5 10:20:28 entry in the log? Anything?

On Fri, Jul 5, 2019 at 2:08 AM Werner <galax...@gmail.com> wrote:
Hello everybody, I installed weewx on a raspberry pi zero to put the data of my WMR300 online at AWEKAS.
The Raspberry is running the current Raspian and weewx is the only program installed.
It works fine too, until weewx suddenly stops. It happens after different periods of time.
It's one hour or four hours. I just need to interrupt the USB connection to the WMR300 and weewx will run again.
Maybe someone has a tip for me? Many Thanks!

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

Thomas Keffer

unread,
Jul 5, 2019, 10:56:31 AM7/5/19
to weewx-user
Absolutely nothing? Not even system entries?

If that is the case, then your RPi crashed for reasons having nothing to do with WeeWX.

If there are system entries, then it would be useful to see them.

-tk

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/f531f57c-5465-49d2-8e32-7b119fcc498e%40googlegroups.com.

Werner

unread,
Jul 5, 2019, 11:37:21 AM7/5/19
to weewx-user
There are no further entries in the log. But the RPi does not crash because it reacts to keyboard and mouse.
After a "sudo /etc/init.d/weewx stop" and "sudo /etc/init.d/weewx start" everything will be ok.
Since I am an RPi newcomer, I will now start looking for other logs. Thank you


Am Freitag, 5. Juli 2019 16:56:31 UTC+2 schrieb Thomas Keffer:
Absolutely nothing? Not even system entries?

If that is the case, then your RPi crashed for reasons having nothing to do with WeeWX.

If there are system entries, then it would be useful to see them.

-tk

On Fri, Jul 5, 2019 at 7:22 AM Werner <galax...@gmail.com> wrote:
Nothing! The log stops even if weewx stops.

Am Freitag, 5. Juli 2019 16:15:39 UTC+2 schrieb Thomas Keffer:
Hello, Werner

What comes after the Jul  5 10:20:28 entry in the log? Anything?

On Fri, Jul 5, 2019 at 2:08 AM Werner <galax...@gmail.com> wrote:
Hello everybody, I installed weewx on a raspberry pi zero to put the data of my WMR300 online at AWEKAS.
The Raspberry is running the current Raspian and weewx is the only program installed.
It works fine too, until weewx suddenly stops. It happens after different periods of time.
It's one hour or four hours. I just need to interrupt the USB connection to the WMR300 and weewx will run again.
Maybe someone has a tip for me? Many Thanks!

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/ccd77f3c-347a-458a-93db-a9ae0747a1b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

Leon Shaner

unread,
Jul 5, 2019, 11:43:20 AM7/5/19
to Werner, weewx-user
Werner,
You wouldn't happen to be using "tail -f /var/log/syslog" would you?
File may have rotated.  CTRL-C the tail and run it again or just grab both the plain syslog files a la:

$ cd /var/log
$ tar cf - syslog syslog.1 | gzip -9 > /tmp/syslog.tgz

And send the /tmp/syslog.tgz

Regards,
\Leon
--
Leon Shaner :: Dearborn, Michigan (iPad)

On Jul 5, 2019, at 11:37 AM, Werner <galax...@gmail.com> wrote:


To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/4e90241c-e602-463a-81cf-5ea2632148d7%40googlegroups.com.

Werner

unread,
Jul 6, 2019, 3:17:45 AM7/6/19
to weewx-user
Hello, I use "sudo tail -f / var / log / syslog".
Here are the two log files.
Thanks again for your help.
syslog.tgz

Thomas Keffer

unread,
Jul 6, 2019, 8:36:58 AM7/6/19
to weewx-user
I can see two problems. 
  1. The USB on your RPi is unstable. The symptom is multiple "USB disconnect" errors. This is usually caused by an inadequate power supply.
  2. The system is using "fake clock," which is known to cause many problems. See the Wiki article on time on the RPi. 
-tk

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/31316c49-86ba-4c08-adbf-6c2285d4ed63%40googlegroups.com.

Paul Lacatus (Gmail)

unread,
Jul 6, 2019, 3:19:46 PM7/6/19
to weewx...@googlegroups.com

I have a similar situation on a RPI3B+ running last version of weewx and getting data from a WMR300. It freezes randomly and should be powered off-on to restart. The Rpi is headless and does not respond to ssh when freezed. Attached is a stripped syslog showing one freeze, manual restart, downloading the records from the freezed period from WMR300. I inserted some comments into the file. It is the only Rpi that freezes from a least 10 pieces in the same network with different functions from mail server, mqtt broker and others.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
syslog_short
Reply all
Reply to author
Forward
0 new messages