That was one of the *many* permissions-related problems caused by the 
update! Changing the registered user of a complex program that reads and 
writes many files in many places, without making sure that the user knows 
the consequences of and necessary fixes for this makes changing horses in 
midstream look like a reasonable and appropriate thing to do! The first 
problem was that the new registered user didn't have access to the serial 
port. The crt problem was as you said and was the second one to surface 
after the first had been fixed. Subsequent to fixing that, I had to correct 
the access rights to the folders corresponding to a number of 'sites' that 
my copy of weewx creates.

Life was made substantially more difficult because my ISP has just changed 
how it manages FTP connections, and there are problems with the new 
implementation, so when things went wrong with the FTP-uploaded sites I 
originally blamed them on the ISP's FTP issues.

The crt extension puts its output in a subfolder of /var/www/html, whence 
weewx FTPs it to a different site (not one hosted by my regular ISP).

I was using V 0.21 of crt, but have now updated to V 0.23.

On Wednesday, February 21, 2024 at 4:02:39 PM UTC-5 matthew wall wrote:

> On Wednesday, February 21, 2024 at 3:54:31 PM UTC-5 Peter Fletcher wrote:
>
> It turns out that there were some other privilege problems, resulting from 
> the 5.02 update, but I managed to get journalctl to show me the detailed 
> error logs, which it apparently keeps, and /var/log/messages apparently 
> doesn't. The previous crt exceptions were, indeed, in journalctl's logs and 
> they allowed me to identify and fix the rest. I think that everything is 
> now really sorted, but a nominally minor utility update, liable to be 
> included in a routine apt full-upgrade, should not create this big a mess!
>
>
> peter,
>
> based on the logs you found, is this what happened:
>
> - crt extension could not write to the file it wanted to write to
> - when it tried to report the problem, the crt extension died, because the 
> 'traceback' function it tried to call no longer exists
>
> where does your crt extension put its output?
>
> have you updated to the latest crt extension?  (v0.23)
>
> m 
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/476c457a-da65-4e59-921e-0f1746221f56n%40googlegroups.com.

Reply via email to