Permission Denied & HTTP Error 429.

56 views
Skip to first unread message

O S

unread,
Feb 1, 2026, 7:19:35 AM (2 days ago) Feb 1
to weewx-user
Hello all,

Me again.

I am getting the above errors, pastebin is here.

I have redacted as per below:
[my lat]
[my lon]
[my id]
[my secret]

I don't know what has caused or how to start to troubleshoot the 429 error, but I am guessing that the Permission denied error can be fixed with a chmod.

Thanks,
Nick.

John Smith

unread,
Feb 1, 2026, 7:23:08 AM (2 days ago) Feb 1
to weewx...@googlegroups.com
The 429 can probably be ignored as some sites only allow so many per hour etc, but you have a more serious issue:

  1. Feb 01 12:02:01 weewx-pi weewxd[688]: ERROR user.belchertown: Error writing forecast Current Conditions info to /var/www/html/weewx/belchertown/json/current_conditions.json. Reason: [Errno 13] Permission denied: '/var/www/html/weewx/belchertown/json/current_conditions.json'

So your site wouldn't be getting updates cause it can't write to that file 

--
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 visit https://groups.google.com/d/msgid/weewx-user/9100b937-1ec5-45d1-b222-6127b61043d0n%40googlegroups.com.

O S

unread,
Feb 1, 2026, 8:04:51 AM (2 days ago) Feb 1
to weewx-user
Hello John,

Thanks, do you know how I'd fix that? Is there anywhere that I can find permissions for weewx files and folders, so i can chown them?

Thanks,
Nick.

John Smith

unread,
Feb 1, 2026, 3:27:24 PM (2 days ago) Feb 1
to weewx...@googlegroups.com
weeWX 5.x no longer runs as root when launched from systemd, the user/group is now usually weewx so I'd start there with the path in the error chown -R weewx: /var/www/html/weewx/

O S

unread,
Feb 1, 2026, 4:30:37 PM (2 days ago) Feb 1
to weewx-user
Hello John,

Thanks, that appears to have fixed it as the error has gone, I still have the 429, and now this has appeared:

Shall i just nuke the whole thing and start again?

ERROR user.belchertown: Aeris/Xweather error: cannot access local variable 'forecast_file_result' where it is not associated with a value

O S

unread,
Feb 1, 2026, 4:32:29 PM (2 days ago) Feb 1
to weewx-user
... ah - I see that deleting forecast.json to trigger a refresh might work. I will try and report back:

O S

unread,
Feb 1, 2026, 4:35:57 PM (2 days ago) Feb 1
to weewx-user
... think this is the issue - XWeather says:

Screenshot from 2026-02-01 21-34-55.png

John Smith

unread,
Feb 1, 2026, 5:34:12 PM (2 days ago) Feb 1
to weewx...@googlegroups.com
Thanks, that appears to have fixed it as the error has gone, I still have the 429, and now this has appeared:

Shall i just nuke the whole thing and start again?

No point, that error is coming from a remote server, it's harmless usually, some services are overly strict for time between receiving updates. The UK MetOffice's WOW API, which isn't shutting down, but is going to stop accepting data from hobbyists is notorious for this. If the update is 4 minutes and 59 seconds since last upload you get 429 errors. Nothing you can do but ignore the errors/warnings.
 
ERROR user.belchertown: Aeris/Xweather error: cannot access local variable 'forecast_file_result' where it is not associated with a value

That skin seems to want to output to a file, but the variable isn't set telling it where to write it and what filename to use. As I haven't used that skin you'll need to do some searching in the skin.conf and/or web searches or waiting for a kindly person to reply.

On Mon, 2 Feb 2026 at 08:36, O S <oliver...@gmail.com> wrote:
... think this is the issue - XWeather says:

Screenshot from 2026-02-01 21-34-55.png

--
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.

O S

unread,
Feb 1, 2026, 7:54:48 PM (2 days ago) Feb 1
to weewx-user
Hello John,

OK, many thanks and understood. I appreciate your patience.

This is a bit embarrassing but I can't recall the command I issues to get the errors I listed in my last post, I think it was sudo journalctl -u weewx -f
I hope it was, because I went and got a copy of the skin.conf file from GitHub and overwrote the one I have on my installation, and now I get this when I run the journalctl -u weewx -f command.

So, I hope that's fixed it.

John Smith

unread,
Feb 2, 2026, 4:11:41 AM (yesterday) Feb 2
to weewx...@googlegroups.com
Not sure if -u weewx is enough or not but I always do tab completion and it expands to weewx.service

-f is for following the last 10 matching log lines and then any new ones, you can also do -n 1000 to get the past 1000 log lines and ctrl+g will jump to the end of the past log lines, someone posted logs previously to this list and used a reverse flag to make the logs go from most recently to oldest but I can't remember if it was -r or what exactly.

Reply all
Reply to author
Forward
0 new messages