Weewx keeps restarting

51 views
Skip to first unread message

Mark Fraser

unread,
Jun 11, 2023, 10:22:36 AM6/11/23
to weewx...@googlegroups.com
Since this afternoon when weewx generates the charts every 5 minutes, it
crashes.

Jun 11 12:00:26 weather-new weewx[14402] DEBUG user.forecast:
MainThread: WU: not yet time to do the forecast
Jun 11 12:00:26 weather-new weewx[14402] DEBUG user.forecast:
ZambrettiThread: Zambretti: terminating thread
Jun 11 12:00:26 weather-new weewx[14402] DEBUG weewx.restx:
WeatherCloud: wait interval (300 < 600) has not passed for record
2023-06-11 $
Jun 11 12:00:26 weather-new weewx[14402] DEBUG weewx.reportengine:
Running reports for latest time in the database.
Jun 11 12:00:26 weather-new weewx[14402] DEBUG weewx.reportengine:
Running report 'SeasonsReport'
Jun 11 12:00:26 weather-new weewx[14402] INFO weewx.restx: MQTT:
Published record 2023-06-11 12:00:00 BST (1686481200)
Jun 11 12:00:26 weather-new weewx[14402] DEBUG weewx.reportengine: Found
configuration file /etc/weewx/skins/Seasons/skin.conf for report$
Jun 11 12:00:26 weather-new weewx[14402] INFO weewx.restx: OWM:
Published record 2023-06-11 12:00:00 BST (1686481200)
Jun 11 12:00:26 weather-new weewx[14402] DEBUG weewx.cheetahgenerator:
Using search list ['user.forecast.ForecastVariables', 'weewx.cheet$
Jun 11 12:00:26 weather-new weewx[14402] INFO weewx.restx: Windy:
Published record 2023-06-11 12:00:00 BST (1686481200)
Jun 11 12:00:26 weather-new weewx[14402] DEBUG weewx.manager: Daily
summary version is 4.0
Jun 11 12:00:26 weather-new weewx[14402] INFO weewx.restx: PWSWeather:
Published record 2023-06-11 12:00:00 BST (1686481200)
Jun 11 12:00:26 weather-new weewx[14402] INFO weewx.restx:
Wunderground-PWS: Published record 2023-06-11 12:00:00 BST (1686481200)
Jun 11 12:00:26 weather-new weewx[14402] INFO weewx.restx: WOW:
Published record 2023-06-11 12:00:00 BST (1686481200)
Jun 11 12:00:31 weather-new weewx[14402] DEBUG weewx.cheetahgenerator:
Skip 'celestial.html': last_mod=1686479142.7327938 age=2089.208773$
Jun 11 12:00:32 weather-new weewx[14402] INFO weewx.cheetahgenerator:
Generated 10 files for report SeasonsReport in 5.71 seconds
Jun 11 12:00:32 weather-new weewx[14402] DEBUG weewx.manager: Daily
summary version is 4.0
Jun 11 12:00:32 weather-new systemd[1]: weewx.service: Main process
exited, code=killed, status=11/SEGV
Jun 11 12:00:32 weather-new systemd[1]: weewx.service: Failed with
result 'signal'.
Jun 11 12:00:52 weather-new systemd[1]: weewx.service: Service
RestartSec=20s expired, scheduling restart.
Jun 11 12:00:52 weather-new systemd[1]: weewx.service: Scheduled restart
job, restart counter is at 1.

Any ideas how to debug this?

Graham Eddy

unread,
Jun 11, 2023, 10:33:13 AM6/11/23
to WeeWX User
disable everythng back to bare bones, then add them back again one at a time
⊣GE⊢

Mark Fraser

unread,
Jun 13, 2023, 11:09:39 AM6/13/23
to weewx...@googlegroups.com
On 11/06/2023 15:32, Graham Eddy wrote:
> disable everythng back to bare bones, then add them back again one at a time
> *⊣GE⊢*

Comparing 2 logs for where it succeeded and failed:


Jun 13 06:25:40 weather-new weewx[22104] DEBUG weewx.cheetahgenerator:
Using search list ['user.forecast.ForecastVariables',
'weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Current',
'weewx.cheetahgenerator.DisplayOptions',
'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext',
'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo',
'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station',
'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']
Jun 13 06:25:40 weather-new weewx[22104] DEBUG weewx.manager: Daily
summary version is 4.0
Jun 13 06:25:44 weather-new weewx[22104] DEBUG weewx.cheetahgenerator:
Skip 'celestial.html': last_mod=1686633634.2798502
age=310.23253083229065 stale=3600
Jun 13 06:25:44 weather-new weewx[22104] INFO weewx.cheetahgenerator:
Generated 10 files for report SeasonsReport in 4.37 seconds
Jun 13 06:25:44 weather-new weewx[22104] DEBUG weewx.manager: Daily
summary version is 4.0
Jun 13 06:25:45 weather-new systemd[1]: weewx.service: Main process
exited, code=killed, status=11/SEGV
Jun 13 06:25:45 weather-new systemd[1]: weewx.service: Failed with
result 'signal'.

Jun 13 06:20:31 weather-new weewx[22104] DEBUG weewx.cheetahgenerator:
Using search list ['user.forecast.ForecastVariables',
'weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Current',
'weewx.cheetahgenerator.DisplayOptions',
'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext',
'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo',
'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station',
'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']
Jun 13 06:20:31 weather-new weewx[22104] DEBUG weewx.manager: Daily
summary version is 4.0
Jun 13 06:20:34 weather-new weewx[22104] INFO weewx.cheetahgenerator:
Generated 11 files for report SeasonsReport in 3.63 seconds
Jun 13 06:20:34 weather-new weewx[22104] DEBUG weewx.manager: Daily
summary version is 4.0
Jun 13 06:20:36 weather-new weewx[22104] INFO weewx.imagegenerator:
Generated 17 images for report SeasonsReport in 1.51 seconds

It seems to be failing when generating the images, I can't think of
anything I've changed that would cause this.

Graham Eddy

unread,
Jun 13, 2023, 12:16:43 PM6/13/23
to WeeWX User
assuming you rolled everything back, then rolled forward one step at a time until it started to fail, what was the last step causing it to fail?
⊣GE⊢

Mark Fraser

unread,
Jun 13, 2023, 12:35:49 PM6/13/23
to weewx...@googlegroups.com
On 13/06/2023 17:16, Graham Eddy wrote:
> assuming you rolled everything back, then rolled forward one step at a
> time until it started to fail, what was the last step causing it to fail?

At the moment I've disabled the seasons skin and am just running
Belchertown which is working. So, I need to look into the seasons skin
config, but I haven't changed anything in there.

Mark Fraser

unread,
Jun 13, 2023, 2:15:17 PM6/13/23
to weewx...@googlegroups.com
On 13/06/2023 17:16, Graham Eddy wrote:
> assuming you rolled everything back, then rolled forward one step at a
> time until it started to fail, what was the last step causing it to fail?
> *⊣GE⊢*

It is something the Seasons skin is trying to do as if I disable it in
weewx.conf it works. I have made a backup of my Seasons skin and tried
using the one from https://github.com/weewx/weewx and it still it:

Jun 13 19:10:50 weather-new systemd[1]: weewx.service: Main process
exited, code=killed, status=11/SEGV
Jun 13 19:10:50 weather-new systemd[1]: weewx.service: Failed with
result 'signal'.

Reply all
Reply to author
Forward
0 new messages