Re: [weewx-user] Re: Bug with Pi OS 64 and Raspberry Zero 2w

2022-10-02 Thread Remy Lavabre
Yes the Pi Zero 2W ONLY runs WeeWX.
I added some Python software for WEEWX skin complement and backup (USB SSD 
and cloud).

I am well aware that these crashes are not related to WEEWX which is 
written in Python.
Besides, I have already had problems with crashes when launching sudo apt 
update, for example. The Pi suddenly shut down with a fresh install, PiOS 
lite 64B and no software other than WeeWX and the Python libraries!
The purpose of my message was to know if others had tried WeeWX 24/24 7/7 
in 64B on a Pi Zero 2W...
Thank-you...


Le dimanche 2 octobre 2022 à 10:35:27 UTC+2, Remy Lavabre a écrit :

> Thank you for all the answers.
> For information, the Pi Zero 2W is 64N with 512K of memory.
> I used it in 64B version in lite version without screen.
> I installed a cooler and its temperature is around 42°C on average. So 
> there is no overheating.
> Diagrams over several days show no overhead and no memory overflow. As a 
> precaution, I modified the swap to 1024 instead of the original 256 but 
> without any change!
> Syslog and usersylog don't show anything special. Pi seems to completely 
> crash and stop. No more SSH or HTTP connection and Weewx no longer records 
> anything on the shutdown period.
>
> [image: Capture d’écran du 2022-10-02 10-22-48.png]
> User LOG :
>
> Oct  2 01:10:54 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: 
> Generated 2 files for report wxobs in 0.32 seconds
> Oct  2 01:10:54 RPi-Meteo weewx[601] INFO weewx.reportengine: Copied 0 
> files to /var/www/html/weewx/wxobs
> Oct  2 01:11:14 RPi-Meteo weewx[601] INFO weewx.reportengine: 
> ftpgenerator: Ftp'd 78 files in 19.97 seconds
> Oct  2 01:15:18 RPi-Meteo weewx[601] INFO weewx.manager: Added record 
> 2022-10-02 01:15:19 CEST (1664666119) to database 'cmon.sdb'
> Oct  2 01:15:18 RPi-Meteo weewx[601] INFO weewx.manager: Added record 
> 2022-10-02 01:15:19 CEST (1664666119) to daily summary in 'cmon.sdb'
> Oct  2 01:15:26 RPi-Meteo weewx[601] INFO weewx.manager: Added record 
> 2022-10-02 01:15:00 CEST (1664666100) to database 'weewx.sdb'
> Oct  2 01:15:26 RPi-Meteo weewx[601] INFO weewx.manager: Added record 
> 2022-10-02 01:15:00 CEST (1664666100) to daily summary in 'weewx.sdb'
> Oct  2 01:15:27 RPi-Meteo weewx[601] INFO weewx.restx: WeatherCloud: 
> Published record 2022-10-02 01:15:00 CEST (1664666100)
> Oct  2 01:15:27 RPi-Meteo weewx[601] INFO user.historygenerator: 
> historygenerator.py: Generated 6 tables in 0.29 seconds
> Oct  2 01:15:30 RPi-Meteo weewx[601] INFO weewx.restx: Wunderground-PWS: 
> Published record 2022-10-02 01:15:00 CEST (1664666100)
> Oct  2 01:15:32 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: 
> Generated 10 files for report SeasonsReport2 in 4.78 seconds
> Oct  2 01:15:34 RPi-Meteo weewx[601] INFO weewx.imagegenerator: Generated 
> 20 images for report SeasonsReport2 in 2.16 seconds
> Oct  2 01:15:34 RPi-Meteo weewx[601] INFO weewx.reportengine: Copied 0 
> files to /var/www/html/weewx
> Oct  2 01:15:34 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: 
> Generated 1 files for report Inigo in 0.38 seconds
> Oct  2 01:15:34 RPi-Meteo weewx[601] INFO weewx.reportengine: Copied 0 
> files to /var/www/html/weewx/ss
> Oct  2 01:15:35 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: 
> Generated 2 files for report SteelSeries in 0.19 seconds
> Oct  2 01:15:35 RPi-Meteo weewx[601] INFO weewx.imagegenerator: Generated 
> 11 images for report SteelSeries in 0.92 seconds
> Oct  2 01:15:36 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: 
> Generated 1 files for report cmon in 0.04 seconds
> Oct  2 01:16:01 RPi-Meteo weewx[601] INFO weewx.imagegenerator: Generated 
> 32 images for report cmon in 25.31 seconds
> Oct  2 01:16:01 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: 
> Generated 2 files for report wxobs in 0.32 seconds
> Oct  2 01:16:01 RPi-Meteo weewx[601] INFO weewx.reportengine: Copied 0 
> files to /var/www/html/weewx/wxobs
> Oct  2 01:16:28 RPi-Meteo weewx[601] INFO weewx.reportengine: 
> ftpgenerator: Ftp'd 82 files in 26.84 seconds
> - CRASHES
> Oct  2 07:17:11 RPi-Meteo mtp-probe: checking bus 1, device 3: 
> "/sys/devices/platform/soc/3f98.usb/usb1/1-1/1-1.1"
> Oct  2 07:17:11 RPi-Meteo mtp-probe: bus: 1, device: 3 was not an MTP 
> device
> Oct  2 07:17:11 RPi-Meteo mtp-probe: checking bus 1, device 5: 
> "/sys/devices/platform/soc/3f98.usb/usb1/1-1/1-1.4"
> Oct  2 07:17:11 RPi-Meteo mtp-probe: checking bus 1, device 4: 
> "/sys/devices/platform/soc/3f98.usb/usb1/1-1/1-1.3"
> Oct  2 07:17:11 RPi-Meteo mtp-probe: bus: 1, device: 5 was not an MTP 
> device
> Oct  2 07:17:11 RPi-Meteo mtp-probe: bus: 1, device: 4 was not an MTP 
> device
> Oct  2 07:17:11 RPi-Meteo udisksd[393]: udisks daemon version 2.9.2 
> starting
> Oct  2 07:17:12 RPi-Meteo udisksd[393]: failed to load module mdraid: 
> libbd_mdraid.so.2: cannot open shared object file: No such file or directory
> Oct  2 07:17:12 RPi-Meteo udisksd[393]: Failed to load the 

Re: [weewx-user] Re: Bug with Pi OS 64 and Raspberry Zero 2w

2022-10-02 Thread Remy Lavabre
Thank you for all the answers.
For information, the Pi Zero 2W is 64N with 512K of memory.
I used it in 64B version in lite version without screen.
I installed a cooler and its temperature is around 42°C on average. So 
there is no overheating.
Diagrams over several days show no overhead and no memory overflow. As a 
precaution, I modified the swap to 1024 instead of the original 256 but 
without any change!
Syslog and usersylog don't show anything special. Pi seems to completely 
crash and stop. No more SSH or HTTP connection and Weewx no longer records 
anything on the shutdown period.

[image: Capture d’écran du 2022-10-02 10-22-48.png]
User LOG :

Oct  2 01:10:54 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: Generated 
2 files for report wxobs in 0.32 seconds
Oct  2 01:10:54 RPi-Meteo weewx[601] INFO weewx.reportengine: Copied 0 
files to /var/www/html/weewx/wxobs
Oct  2 01:11:14 RPi-Meteo weewx[601] INFO weewx.reportengine: ftpgenerator: 
Ftp'd 78 files in 19.97 seconds
Oct  2 01:15:18 RPi-Meteo weewx[601] INFO weewx.manager: Added record 
2022-10-02 01:15:19 CEST (1664666119) to database 'cmon.sdb'
Oct  2 01:15:18 RPi-Meteo weewx[601] INFO weewx.manager: Added record 
2022-10-02 01:15:19 CEST (1664666119) to daily summary in 'cmon.sdb'
Oct  2 01:15:26 RPi-Meteo weewx[601] INFO weewx.manager: Added record 
2022-10-02 01:15:00 CEST (1664666100) to database 'weewx.sdb'
Oct  2 01:15:26 RPi-Meteo weewx[601] INFO weewx.manager: Added record 
2022-10-02 01:15:00 CEST (1664666100) to daily summary in 'weewx.sdb'
Oct  2 01:15:27 RPi-Meteo weewx[601] INFO weewx.restx: WeatherCloud: 
Published record 2022-10-02 01:15:00 CEST (1664666100)
Oct  2 01:15:27 RPi-Meteo weewx[601] INFO user.historygenerator: 
historygenerator.py: Generated 6 tables in 0.29 seconds
Oct  2 01:15:30 RPi-Meteo weewx[601] INFO weewx.restx: Wunderground-PWS: 
Published record 2022-10-02 01:15:00 CEST (1664666100)
Oct  2 01:15:32 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: Generated 
10 files for report SeasonsReport2 in 4.78 seconds
Oct  2 01:15:34 RPi-Meteo weewx[601] INFO weewx.imagegenerator: Generated 
20 images for report SeasonsReport2 in 2.16 seconds
Oct  2 01:15:34 RPi-Meteo weewx[601] INFO weewx.reportengine: Copied 0 
files to /var/www/html/weewx
Oct  2 01:15:34 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: Generated 
1 files for report Inigo in 0.38 seconds
Oct  2 01:15:34 RPi-Meteo weewx[601] INFO weewx.reportengine: Copied 0 
files to /var/www/html/weewx/ss
Oct  2 01:15:35 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: Generated 
2 files for report SteelSeries in 0.19 seconds
Oct  2 01:15:35 RPi-Meteo weewx[601] INFO weewx.imagegenerator: Generated 
11 images for report SteelSeries in 0.92 seconds
Oct  2 01:15:36 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: Generated 
1 files for report cmon in 0.04 seconds
Oct  2 01:16:01 RPi-Meteo weewx[601] INFO weewx.imagegenerator: Generated 
32 images for report cmon in 25.31 seconds
Oct  2 01:16:01 RPi-Meteo weewx[601] INFO weewx.cheetahgenerator: Generated 
2 files for report wxobs in 0.32 seconds
Oct  2 01:16:01 RPi-Meteo weewx[601] INFO weewx.reportengine: Copied 0 
files to /var/www/html/weewx/wxobs
Oct  2 01:16:28 RPi-Meteo weewx[601] INFO weewx.reportengine: ftpgenerator: 
Ftp'd 82 files in 26.84 seconds
- CRASHES
Oct  2 07:17:11 RPi-Meteo mtp-probe: checking bus 1, device 3: 
"/sys/devices/platform/soc/3f98.usb/usb1/1-1/1-1.1"
Oct  2 07:17:11 RPi-Meteo mtp-probe: bus: 1, device: 3 was not an MTP device
Oct  2 07:17:11 RPi-Meteo mtp-probe: checking bus 1, device 5: 
"/sys/devices/platform/soc/3f98.usb/usb1/1-1/1-1.4"
Oct  2 07:17:11 RPi-Meteo mtp-probe: checking bus 1, device 4: 
"/sys/devices/platform/soc/3f98.usb/usb1/1-1/1-1.3"
Oct  2 07:17:11 RPi-Meteo mtp-probe: bus: 1, device: 5 was not an MTP device
Oct  2 07:17:11 RPi-Meteo mtp-probe: bus: 1, device: 4 was not an MTP device
Oct  2 07:17:11 RPi-Meteo udisksd[393]: udisks daemon version 2.9.2 starting
Oct  2 07:17:12 RPi-Meteo udisksd[393]: failed to load module mdraid: 
libbd_mdraid.so.2: cannot open shared object file: No such file or directory
Oct  2 07:17:12 RPi-Meteo udisksd[393]: Failed to load the 'mdraid' 
libblockdev plugin



Le samedi 1 octobre 2022 à 22:57:41 UTC+2, vince a écrit :

> In the absence of the original poster sharing any logs, we're unlikely to 
> be able to help.
>
>

-- 
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/498bd0ec-aae0-4360-8b4c-24d24b7716afn%40googlegroups.com.


Re: [weewx-user] Re: Bug with Pi OS 64 and Raspberry Zero 2w

2022-10-01 Thread vince
In the absence of the original poster sharing any logs, we're unlikely to 
be able to help.

-- 
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/837e111d-c853-4667-969e-b619661fb0fdn%40googlegroups.com.


Re: [weewx-user] Re: Bug with Pi OS 64 and Raspberry Zero 2w

2022-10-01 Thread Karen K
Could there be a temperature issue?

jo...@johnkline.com schrieb am Samstag, 1. Oktober 2022 um 21:50:15 UTC+2:

> I only run 64 bit on my Raspberry Pi 4s because lots/most software is no 
> longer sufficiently tested on 32bits.  Even is WeeWX is well tested on 
> 32-bits, there is so much more that is running, and being updated, on the 
> Pi.  As such, I would not push back on that IN MOST CASES.
>
> But this is a case where you probably shouldn’t be running it.  I *think* 
> the Pi Zero only has 512MB of RAM.  What all is running on the Pi Zero?  I 
> expect it might be slow (there are plenty of reports of that), but I’m 
> surprised there are crashes.
>
> On Oct 1, 2022, at 11:46 AM, vince  wrote:
>
> Are you trying to run a full desktop on the zero?
>
> And why would you run a 64 bit os on a box with 1 GB of RAM anyway ?
>
> On Saturday, October 1, 2022 at 11:36:42 AM UTC-7 michael.k...@gmx.at 
> wrote:
>
>> I'm using weewx on a Raspberry Pi 4B with Rasperry Pi OS 64 bit without 
>> any issues.
>>
>> remy.l...@gmail.com schrieb am Samstag, 1. Oktober 2022 um 18:44:06 
>> UTC+2:
>>
>>> Good morning all.
>>> I have been using weewx for 3 years with pi os 32B without any problem 
>>> with a pi zero w then 2w.
>>> Since I switched to version 64B, I have had lots of incomprehensible 
>>> crashes with the pi not responding and having to reset. weewx is not in 
>>> question.
>>> I tried to increase the swap, to switch to a 3A power supply, to go back 
>>> to the non-gl drivers, nothing helped! 
>>>
>>> Have you noticed this kind of thing in 64 bits? is there a way to fix 
>>> the problem? thank you..
>>>
>> -- 
> 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/f2f85b75-b169-4a44-b189-e424684e93dbn%40googlegroups.com
>  
> 
> .
>
>

-- 
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/c9ad454c-b058-4430-8926-2e14ded2fbb0n%40googlegroups.com.


Re: [weewx-user] Re: Bug with Pi OS 64 and Raspberry Zero 2w

2022-10-01 Thread 'John Kline' via weewx-user
I only run 64 bit on my Raspberry Pi 4s because lots/most software is no longer 
sufficiently tested on 32bits.  Even is WeeWX is well tested on 32-bits, there 
is so much more that is running, and being updated, on the Pi.  As such, I 
would not push back on that IN MOST CASES.

But this is a case where you probably shouldn’t be running it.  I *think* the 
Pi Zero only has 512MB of RAM.  What all is running on the Pi Zero?  I expect 
it might be slow (there are plenty of reports of that), but I’m surprised there 
are crashes.

> On Oct 1, 2022, at 11:46 AM, vince  wrote:
> 
> Are you trying to run a full desktop on the zero?
> And why would you run a 64 bit os on a box with 1 GB of RAM anyway ?
> 
>> On Saturday, October 1, 2022 at 11:36:42 AM UTC-7 michael.k...@gmx.at wrote:
>> I'm using weewx on a Raspberry Pi 4B with Rasperry Pi OS 64 bit without any 
>> issues.
>> 
>> remy.l...@gmail.com schrieb am Samstag, 1. Oktober 2022 um 18:44:06 UTC+2:
>>> Good morning all.
>>> I have been using weewx for 3 years with pi os 32B without any problem with 
>>> a pi zero w then 2w.
>>> Since I switched to version 64B, I have had lots of incomprehensible 
>>> crashes with the pi not responding and having to reset. weewx is not in 
>>> question.
>>> I tried to increase the swap, to switch to a 3A power supply, to go back to 
>>> the non-gl drivers, nothing helped! 
>>> 
>>> Have you noticed this kind of thing in 64 bits? is there a way to fix the 
>>> problem? thank you..
> 
> -- 
> 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/f2f85b75-b169-4a44-b189-e424684e93dbn%40googlegroups.com.

-- 
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/2286884E-7C9B-4A8C-B874-1CCF4B5F8F84%40johnkline.com.


[weewx-user] Re: Bug with Pi OS 64 and Raspberry Zero 2w

2022-10-01 Thread vince
Are you trying to run a full desktop on the zero?
And why would you run a 64 bit os on a box with 1 GB of RAM anyway ?

On Saturday, October 1, 2022 at 11:36:42 AM UTC-7 michael.k...@gmx.at wrote:

> I'm using weewx on a Raspberry Pi 4B with Rasperry Pi OS 64 bit without 
> any issues.
>
> remy.l...@gmail.com schrieb am Samstag, 1. Oktober 2022 um 18:44:06 UTC+2:
>
>> Good morning all.
>> I have been using weewx for 3 years with pi os 32B without any problem 
>> with a pi zero w then 2w.
>> Since I switched to version 64B, I have had lots of incomprehensible 
>> crashes with the pi not responding and having to reset. weewx is not in 
>> question.
>> I tried to increase the swap, to switch to a 3A power supply, to go back 
>> to the non-gl drivers, nothing helped! 
>>
>> Have you noticed this kind of thing in 64 bits? is there a way to fix the 
>> problem? thank you..
>>
>

-- 
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/f2f85b75-b169-4a44-b189-e424684e93dbn%40googlegroups.com.


[weewx-user] Re: Bug with Pi OS 64 and Raspberry Zero 2w

2022-10-01 Thread michael.k...@gmx.at
I'm using weewx on a Raspberry Pi 4B with Rasperry Pi OS 64 bit without any 
issues.

remy.l...@gmail.com schrieb am Samstag, 1. Oktober 2022 um 18:44:06 UTC+2:

> Good morning all.
> I have been using weewx for 3 years with pi os 32B without any problem 
> with a pi zero w then 2w.
> Since I switched to version 64B, I have had lots of incomprehensible 
> crashes with the pi not responding and having to reset. weewx is not in 
> question.
> I tried to increase the swap, to switch to a 3A power supply, to go back 
> to the non-gl drivers, nothing helped! 
>
> Have you noticed this kind of thing in 64 bits? is there a way to fix the 
> problem? thank you..
>

-- 
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/02625814-28ab-42e1-bcbb-0bac0e80f293n%40googlegroups.com.