The best tip I can give you is to identify why the site is crashing by looking at the weewx and webserver logs.
Weewx should never crash per se. If it encounters an irrecpoverable situation it should restart. If it is not restarting Tom would require, I am pretty sure, to see the log of the failure. The log should also give you a clue as to the cause of the failure (if it is indeed weewx). A more likely cause would be flakey RPi power supply or flakey SD card - both of which are pretty notorious issues when an RPi is running 24/7. If you are also hosting the site on the RPi it is even possible that your site is being hacked from outside and brought down!!! So there you have it, in a nutshell. Find the cause first then try and find a solution!!! On Thursday, 28 February 2019 11:36:14 UTC+2, [email protected] wrote: > > I use weewx on a Raspberry pi and post my results to my own public weather > station website (www.ashteadweather.com) with the excellent belchertown > skin. It all works very nicely most of the time, but now and again, > something goes wrong and the Raspberry pi crashes and weewx stops working - > then my weather website shows out of date results until I notice this and > restart the pi and weewx - then all fine again. Has anyone got any tips > for tracking these problems proactively so as to minimise the downtime > (rather than waiting until I happen to notice the problem) and perhaps > getting weewx to show a holding message on the website until the problem is > corrected? > > Thanks > > David. > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
