FTP not working under Trixie

32 views
Skip to first unread message

Peter Fletcher

unread,
Apr 16, 2026, 6:51:09 PM (9 hours ago) Apr 16
to weewx-user
Sorry about the appearing/disappearing message. I realized that I had uploaded a version of the conf file without the FTP passwords obscured.

After a great deal of hair-pulling, I have got all the services that I have on my 'workhorse' Pi 3 under Bookworm, including weewx (I thought!) working under Trixie. I then found that weewx was running, storing my weather data correctly in my remote MySQL database, and generating the two different sets of reports I respectively use for home consumption and 'publication', but it wasn't FTPing the generated files intended for publication to their target systems (or anywhere else). No relevant errors were being reported (with debug set to 0 in weewx.conf); the FTP transfers were just not happening. Setting debug to 1 in weewx.conf did shed some light on the problem. As you can see in the attached log file, the ftpgenerator reports: "FTP upload not requested. Skipped." The identical reporting section (extract also attached) is working fine in my Bookworm installation. Can anyone shed any further light on this?
weewx.log
ReportConf.txt

Pablo Sanchez

unread,
Apr 16, 2026, 9:21:38 PM (6 hours ago) Apr 16
to weewx...@googlegroups.com
Just in case, Peter - please change your FTP password immediately. 

Cheers!
---
pablo


On 2026-04-16 18:51, 'Peter Fletcher' via weewx-user wrote:
Sorry about the appearing/disappearing message. I realized that I had uploaded a version of the conf file without the FTP passwords obscured.
[ trimmed ]

Tom Keffer

unread,
12:15 AM (3 hours ago) 12:15 AM
to weewx...@googlegroups.com
You ran into a bug!

If HTML_ROOT is not defined under [StdReport], then the report engine raises a KeyError, even though you defined HTML_ROOT for all of your FTP sessions.

As a workaround, put anything in there. For example,

[StdReport]
    HTML_ROOT = foo

would work.

I've created issue #1082 to track.

On Thu, Apr 16, 2026 at 3:51 PM 'Peter Fletcher' via weewx-user <weewx...@googlegroups.com> wrote:
Sorry about the appearing/disappearing message. I realized that I had uploaded a version of the conf file without the FTP passwords obscured.

After a great deal of hair-pulling, I have got all the services that I have on my 'workhorse' Pi 3 under Bookworm, including weewx (I thought!) working under Trixie. I then found that weewx was running, storing my weather data correctly in my remote MySQL database, and generating the two different sets of reports I respectively use for home consumption and 'publication', but it wasn't FTPing the generated files intended for publication to their target systems (or anywhere else). No relevant errors were being reported (with debug set to 0 in weewx.conf); the FTP transfers were just not happening. Setting debug to 1 in weewx.conf did shed some light on the problem. As you can see in the attached log file, the ftpgenerator reports: "FTP upload not requested. Skipped." The identical reporting section (extract also attached) is working fine in my Bookworm installation. Can anyone shed any further light on this?

--
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/75be6d4d-1eb4-46c5-aa0f-61fdb64f8d56n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages