Upgrade to 5.0 from 4.10 the Graphs are not being created

168 views
Skip to first unread message

Francis Greaves

unread,
Mar 4, 2024, 1:41:44 PM3/4/24
to weewx-user
I am using a Raspberry Pi running Raspbian 10 (buster). and a Vantage Pro 2 Station.
I upgraded my Pi and Weewx upgrade to version 5. on 1st March.
The settings in the config file remain unchanged. In particular the location of the HTML folder is the same, and the permissions are 775 for root:root on that folder.
I have kept the system running as root user.
Weewx is working (I changed to systemd service startup today) the data is downloaded.
I am not getting any graphs created.
I have looked through the documentation, but I cannot find out why.
I have set the debug to level 1 and enabled log_success as well as log_failure
I attach the Log File which shows no errors.
Any ideas?

weewx.log

Tom Keffer

unread,
Mar 4, 2024, 1:48:35 PM3/4/24
to weewx...@googlegroups.com
First suggestion is to update to v5.0.2. Version 5.0.0 has a serious bug in it. There have also been some subtle bug fixes in how permissions are handled.

When you're done, double check that /etc/systemd/system/weewx.service has the user set as you expect. Also, check /var/www/html permissions.

If you still have problems after that, set debug=1, restart weewxd, post the log through the first reporting cycle.

-tk

--
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/d09dbae9-dce8-46d2-8d05-6a773a16da71n%40googlegroups.com.

Francis Greaves

unread,
Mar 5, 2024, 4:03:18 AM3/5/24
to weewx-user
Thanks Tom for the suggestions.
I upgraded to 5.0.2 and rebooted to be on the safe side.
I noticed that the user running the service is now weewx so I changed the permissions on the graphs folder to this: 

drwxrwsr-x weewx weewx  

But the graphs are not being updated. They are still dated 1st March when I did the upgrade from version 4.10

I attach the log as you suggest and my config file.


weewx.log
weewx.conf

Graham Eddy

unread,
Mar 5, 2024, 5:57:29 AM3/5/24
to WeeWX User
your archive interval is set to 10 mins, and the log is truncated just where it started getting interesting. collect log data for two complete cycles at least, in your case 20 mins
⊣GE⊢

Francis Greaves

unread,
Mar 5, 2024, 6:09:06 AM3/5/24
to weewx-user
Attached a longer log.
weewx.log

Tom Keffer

unread,
Mar 5, 2024, 10:04:29 AM3/5/24
to weewx...@googlegroups.com
If you look closely at your configuration file weewx.conf, the very last line, you'll see that a stray backquote snuck in there. It reads

`report_services = weewx.engine.StdPrint, weewx.engine.StdReport

when it should read

report_services = weewx.engine.StdPrint, weewx.engine.StdReport

Fix that and your problems will go away.


Francis Greaves

unread,
Mar 5, 2024, 10:53:35 AM3/5/24
to weewx-user
Well where did THAT come from!!!
Many thanks Tom, for taking the rime to help me.
All sorted,
Regards

Reply all
Reply to author
Forward
0 new messages