Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-23 Thread 'Peter Fletcher' via weewx-user
@matthew I think that the below responds to all your specific questions. Let me know if there is any other information that would help you. I am running a single instance of weewx on a Raspberry Pi 3B, which also runs various systemd services which monitor and manage my heating system and

Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-22 Thread 'Peter Fletcher' via weewx-user
I'm not ignoring you, but today has been a bit busy! I will try to write something up and post it later today or tomorrow. On Wednesday, February 21, 2024 at 7:13:08 PM UTC-5 matthew wall wrote: > On Wednesday, February 21, 2024 at 6:50:52 PM UTC-5 Peter Fletcher wrote: > > There were

Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-22 Thread gary....@gmail.com
Amen to that. Funny how things creep in and when you try to change one thing, others break. I just did that with mosquitto. Didn't want it running as root anymore. I found it is quite picky about the SSL certs location and permissions. Take the time to install properly with a fresh OS and

Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-21 Thread vince
On Wednesday, February 21, 2024 at 3:50:52 PM UTC-8 Peter Fletcher wrote: What I wasn't prepared for was an update *from 5.01 to 5.02* clobbering everything *that was previously working in 5.01*. I don't think that it is reasonable to expect the user to carefully (re-)read all the documentation

Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-21 Thread bell...@gmail.com
Mistakes happen. I bet if we asked nicely, the WeeWX team would say they should have implemented the change to running as weewx at 5.0.0. Its a small team doing this in their spare time for free. I’ve paid for worse software and support. Mini rant over. Huge thanks to TK, Mathew, Gary, and

Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-21 Thread matthew wall
On Wednesday, February 21, 2024 at 6:50:52 PM UTC-5 Peter Fletcher wrote: There were essentially no issues with the 4.x->5.x update. What I wasn't prepared for was an update *from 5.01 to 5.02* clobbering everything *that was previously working in 5.01*. I don't think that it is reasonable to

Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-21 Thread 'Peter Fletcher' via weewx-user
I understand what you are saying. However, all the discussion that I read was about the change from V4.x to V5.x. I was very careful when I did that update, created a total system backup first, and was fully prepared to sort out issues. I have, in any event, been using systemd for many things,

Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-21 Thread vince
FWIW - you 'could' have remained on your old version basically forever if you were so inclined. But to reply On Wednesday, February 21, 2024 at 2:18:49 PM UTC-8 Peter Fletcher wrote: That was one of the *many* permissions-related problems caused by the update! Changing the registered

Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-21 Thread 'Peter Fletcher' via weewx-user
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

Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-21 Thread matthew wall
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

Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-21 Thread 'Peter Fletcher' via weewx-user
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

Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-21 Thread 'Peter Fletcher' via weewx-user
I'm blessed if I know why the log doesn't show anything about the crashes. The crash information I showed earlier was actually from systemctl status, after the second crash occurred (the first one reported the serial port access failure). I cannot find a way to get the same detail in the

Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-21 Thread Tom Keffer
Glad it's working for you, but why were there log entries of the crt exception the first time, but not the last? If a thread is exiting without telling us why, that's a bug. Looking through the crt code, the write to the disk is protected by an exception clause, so it should have caught the

Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-20 Thread 'Peter Fletcher' via weewx-user
That is the entire log from shortly before the update. I am guessing that the known bug in crt.py results in the crash not being properly reported. The good news is that I was able to figure out what was going on. I am using crt to produce a file that allows the display of current weather

Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-20 Thread Tom Keffer
That's the end of the log? Where is the crt error? The record timestamped 2024-02-20 20:30:00 was downloaded from the logger at 20:32:22. I would expect the next record to be processed at 20:35:16 or so. Did you terminate the program? Is there something later in the log? On Tue, Feb 20, 2024 at

Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-20 Thread 'Peter Fletcher' via weewx-user
Here is the log from before I applied the apt update, through now. This includes one reboot. The last start was after setting debug=1 in the config file. I hope that it helps you more than it does me!: Feb 20 18:20:19 bullseyepi weewxd[447]: INFO weewx.cheetahgenerator: Generated 7 files for

Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-20 Thread Tom Keffer
The "AttributeError" problem is a known problem with crt. See this thread . But, it is not the actual problem --- it's just a reporting problem. For the actual problem, we will need to see more of the log. On Tue, Feb 20, 2024

Re: [weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-20 Thread p q
https://weewx.com/docs/5.0/usersguide/troubleshooting/what-to-do/ 1. Look at the log file . We are always happy to take questions, but the first thing someone will ask is, "What did you find in the log file?" On

[weewx-user] Catastrophic apt upgrade to V5.02 on Raspberry Pi

2024-02-20 Thread 'Peter Fletcher' via weewx-user
I have had weewx 4.x (apt installed) running happily on my Pi 3b for years. A month ago, since 5.0 seemed to be stable, I allowed the upgrade to the then current release of 5.0. Since there had been a few concerns raised about it, I did a complete image backup of the Pi before allowing the