:0 it works
It's weird I didn't modify this file, it's the original one.
thank you very much
● weewx.service - WeeWX
Loaded: loaded (/etc/systemd/system/weewx.service; enabled; vendor
preset: enabled)
Active: active (running) since Fri 2024-09-13 16:32:02 CEST; 8s ago
Docs: https://weewx.com/docs
Main PID: 3359 (python3)
Tasks: 5 (limit: 779)
CPU: 1.878s
CGroup: /system.slice/weewx.service
├─3359 python3 /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
└─3364 rtl_433 -M utc -F json -R 55
Sep 13 16:32:04 raspberrypi weewxd[3359]: DEBUG weewx.engine: Finished
loading service weewx.engine.StdPrint
Sep 13 16:32:04 raspberrypi weewxd[3359]: DEBUG weewx.engine: Loading
service weewx.engine.StdReport
Sep 13 16:32:04 raspberrypi weewxd[3359]: INFO weewx.engine: 'pyephem'
detected, extended almanac data is available
Sep 13 16:32:04 raspberrypi weewxd[3359]: DEBUG weewx.engine: Finished
loading service weewx.engine.StdReport
Sep 13 16:32:04 raspberrypi weewxd[3359]: INFO __main__: Starting up weewx
version 5.1.0
Sep 13 16:32:04 raspberrypi weewxd[3359]: DEBUG weewx.engine: Station does
not support reading the time
Sep 13 16:32:04 raspberrypi weewxd[3359]: INFO weewx.engine: Using binding
'wx_binding' to database 'weewx.sdb'
Sep 13 16:32:04 raspberrypi weewxd[3359]: INFO weewx.manager: Starting
backfill of daily summaries
Sep 13 16:32:04 raspberrypi weewxd[3359]: INFO weewx.manager: Daily
summaries up to date
Sep 13 16:32:04 raspberrypi weewxd[3359]: INFO weewx.engine: Starting main
packet loop.
Le vendredi 13 septembre 2024 à 16:25:52 UTC+2, Tom Keffer a écrit :
> As suspected, it does use "forking". Replace it with this one, then
> restart weewx. This version will also cause the clock to be synchronized.
>
> -tk
>
>
> On Fri, Sep 13, 2024 at 7:16 AM 'ALPHA SG' via weewx-user <
> [email protected]> wrote:
>
>> ok
>> 1) i have a 5v 2a power supply but I'm going to order an original..
>> 2)what can I do for the clock?
>> 3)here is the weewx.service file.
>>
>> I am following installation tutorials but some are on the old version of
>> weewx, I am trying to adapt it to the new one.
>> I installed the Belchertown skin and the sdr driver that's all for now.
>> I'm also looking to repair it on my own by searching on this forum and
>> elsewhere but my knowledge is limited.
>> thank you for your help.
>>
>> Le vendredi 13 septembre 2024 à 15:56:03 UTC+2, Tom Keffer a écrit :
>>
>>> Three things come to mind:
>>>
>>> 1. Your power supply is inadequate. There are frequent "Undervoltage
>>> detected!" errors. Replace it with a higher capacity power supply. Or, use
>>> a powered USB hub.
>>> 2. The clock is way off. Make sure that you are running some kind of
>>> clock that can synchronize with a network clock.
>>> 3. I suspect that your systemd service file is attempting forking, when
>>> it should use a "simple" start. Can we see the file
>>> /etc/systemd/system/weewx.service?
>>>
>>> -tk
>>>
>>> On Fri, Sep 13, 2024 at 5:28 AM 'ALPHA SG' via weewx-user <
>>> [email protected]> wrote:
>>>
>>>> oopps!!!
>>>> do u want another files ?
>>>>
>>>> Le vendredi 13 septembre 2024 à 14:27:23 UTC+2, ALPHA SG a écrit :
>>>>
>>>>> Sorry :/ here is my syslog
>>>>> do u have another one files ?
>>>>>
>>>>> Le vendredi 13 septembre 2024 à 14:18:23 UTC+2, Tom Keffer a écrit :
>>>>>
>>>>>> Impossible to draw any conclusions from such a short excerpt of the
>>>>>> log. See the wiki article *How to get a good, useful log
>>>>>> <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user#how-to-get-a-good-useful-log>*
>>>>>> .
>>>>>>
>>>>>> On Fri, Sep 13, 2024 at 4:57 AM 'ALPHA SG' via weewx-user <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> yes that's what I did but the error changed to signal=term timeout.
>>>>>>> look at the log in the previous message.
>>>>>>> thx
>>>>>>>
>>>>>>> Le vendredi 13 septembre 2024 à 13:50:29 UTC+2, Tom Keffer a écrit :
>>>>>>>
>>>>>>>> You have two "[SDR]" stanzas. Only one is allowed. Combine them
>>>>>>>> into one. So, this
>>>>>>>>
>>>>>>>> [SDR]
>>>>>>>> # This section is for the software-defined radio driver.
>>>>>>>>
>>>>>>>> # The driver to use
>>>>>>>> driver = user.sdr
>>>>>>>> cmd = rtl_433 -M utc -F json -R 55
>>>>>>>>
>>>>>>>>
>>>>>>>> # collect data from Acurite-606TX
>>>>>>>>
>>>>>>>>
>>>>>>>> [SDR]
>>>>>>>> driver = user.sdr
>>>>>>>>
>>>>>>>>
>>>>>>>> [[sensor_map]]
>>>>>>>> OutTemp = temperature.25.Acurite606TXPacketV2
>>>>>>>>
>>>>>>>>
>>>>>>>> becomes this
>>>>>>>>
>>>>>>>> [SDR]
>>>>>>>> # This section is for the software-defined radio driver.
>>>>>>>>
>>>>>>>> # The driver to use
>>>>>>>> driver = user.sdr
>>>>>>>> cmd = rtl_433 -M utc -F json -R 55
>>>>>>>>
>>>>>>>>
>>>>>>>> [[sensor_map]]
>>>>>>>>
>>>>>>>> OutTemp = temperature.25.Acurite606TXPacketV2
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Sep 13, 2024 at 12:29 AM 'ALPHA SG' via weewx-user <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> I sent a response but it does not appear here, I made a mistake in
>>>>>>>>> sending the response to the author :)
>>>>>>>>> but I looked at the file and deleted line 68
>>>>>>>>> [SDR]
>>>>>>>>> driver = user.sdr
>>>>>>>>> now the error has changed. here is the new error log
>>>>>>>>> thank you.
>>>>>>>>>
>>>>>>>>> systemctl status weewx
>>>>>>>>>
>>>>>>>>> weewx.service - weewx weather system
>>>>>>>>> Loaded: loaded (/etc/systemd/system/weewx.service; enabled;
>>>>>>>>> vendor preset: enabled)
>>>>>>>>> Active: failed (Result: timeout) since Fri 2024-09-13
>>>>>>>>> 01:01:03 CEST; 12min ago
>>>>>>>>> Process: 853 ExecStart=/usr/bin/weewxd /etc/weewx/weewx.conf
>>>>>>>>> (code=killed, signal=TERM)
>>>>>>>>> CPU: 25.971s
>>>>>>>>>
>>>>>>>>> Sep 13 01:01:03 raspberrypi weewxd[853]: DEBUG __main__: ****
>>>>>>>>> File "/usr/lib/python3.9/queue.py", line 180, in get
>>>>>>>>> Sep 13 01:01:03 raspberrypi weewxd[853]: DEBUG __main__: ****
>>>>>>>>> self.not_empty.wait(remaining)
>>>>>>>>> Sep 13 01:01:03 raspberrypi weewxd[853]: DEBUG __main__: ****
>>>>>>>>> File "/usr/lib/python3.9/threading.py", line 316, in wait
>>>>>>>>> Sep 13 01:01:03 raspberrypi weewxd[853]: DEBUG __main__: ****
>>>>>>>>> gotit = waiter.acquire(True, timeout)
>>>>>>>>> Sep 13 01:01:03 raspberrypi weewxd[853]: DEBUG __main__: ****
>>>>>>>>> File "/usr/share/weewx/weewxd.py", line 221, in sigTERMhandler
>>>>>>>>> Sep 13 01:01:03 raspberrypi weewxd[853]: DEBUG __main__: ****
>>>>>>>>> raise Terminate
>>>>>>>>> Sep 13 01:01:03 raspberrypi weewxd[853]: DEBUG __main__: ****
>>>>>>>>> Terminate
>>>>>>>>> Sep 13 01:01:03 raspberrypi systemd[1]: weewx.service: Failed with
>>>>>>>>> result 'timeout'.
>>>>>>>>> Sep 13 01:01:03 raspberrypi systemd[1]: Failed to start weewx
>>>>>>>>> weather system.
>>>>>>>>> Sep 13 01:01:03 raspberrypi systemd[1]: weewx.service: Consumed
>>>>>>>>> 25.971s CPU time.
>>>>>>>>>
>>>>>>>>> Le vendredi 13 septembre 2024 à 00:09:34 UTC+2, Tom Keffer a
>>>>>>>>> écrit :
>>>>>>>>>
>>>>>>>>>> Take a look at line 68 in /etc/weewx/weewx.conf. Something is
>>>>>>>>>> malformed.
>>>>>>>>>>
>>>>>>>>>> On Thu, Sep 12, 2024 at 2:24 PM 'ALPHA SG' via weewx-user <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> Good evening,
>>>>>>>>>>> I'm a new user and I installed weewx version 5 on the rpi .
>>>>>>>>>>> I have an error when I do systemctl status weewx (start or stop
>>>>>>>>>>> it's the same)
>>>>>>>>>>> I will post the log i hope is help .
>>>>>>>>>>> I don't really know where the problem comes from.
>>>>>>>>>>> thanks.
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> 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 [email protected].
>>>>>>>>>>> To view this discussion on the web visit
>>>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/944dfe79-cefd-431c-a9ef-bf451220a30an%40googlegroups.com
>>>>>>>>>>>
>>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/944dfe79-cefd-431c-a9ef-bf451220a30an%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>>>> .
>>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>> 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 [email protected].
>>>>>>>>>
>>>>>>>> To view this discussion on the web visit
>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/5ca34c0f-a50d-489e-b85e-003ea1e8711an%40googlegroups.com
>>>>>>>>>
>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/5ca34c0f-a50d-489e-b85e-003ea1e8711an%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>> .
>>>>>>>>>
>>>>>>>> --
>>>>>>> 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 [email protected].
>>>>>>>
>>>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/weewx-user/f4ef3595-4772-438a-9266-9ade0d7f5660n%40googlegroups.com
>>>>>>>
>>>>>>> <https://groups.google.com/d/msgid/weewx-user/f4ef3595-4772-438a-9266-9ade0d7f5660n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>>
>>>>>> --
>>>> 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 [email protected].
>>>>
>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/weewx-user/dc09bce9-89ca-4e29-b3d5-b8bea16c314cn%40googlegroups.com
>>>>
>>>> <https://groups.google.com/d/msgid/weewx-user/dc09bce9-89ca-4e29-b3d5-b8bea16c314cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>> 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 [email protected].
>>
> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/7bdf36e3-4bd4-4714-a367-6b95ba5720c2n%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/weewx-user/7bdf36e3-4bd4-4714-a367-6b95ba5720c2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/81d3f75d-e2c7-4f46-aab1-a56928a39404n%40googlegroups.com.