Good evening!
I slowed down and took the following actions:
1. I checked time of RPi:
*pi@raspberrypi:~ $ dateTue Mar 10 09:54:45 PM +03 2026*
2. I stopped weewx
*pi@raspberrypi:~ $ sudo systemctl stop weewx*
3. I've set debug=2
*# Set to 1 for extra debug info, otherwise comment it out or set to
zero.debug = 2*
4.When I try to view the system log, I get the following error:
*pi@raspberrypi:~ $ sudo tail -f /var/log/syslog | tee /tmp/mylogtail:
cannot open '/var/log/syslog' for reading: No such file or directorytail:
no files remaining*
Or
*pi@raspberrypi:~ $ sudo journalctl -u weewx -f | tee /tmp/mylogMar 10
21:54:07 raspberrypi weewxd[1121]:
~~~~~~~~~^^^^^^^^^^^^^Mar 10 21:54:07 raspberrypi weewxd[1121]: File
"/usr/share/weewx/weewx/drivers/vantage.py", line 631, in
genArchiveRecordsMar 10 21:54:07 raspberrypi weewxd[1121]: for _record
in self.genDavisArchiveRecords(since_ts):Mar 10 21:54:07 raspberrypi
weewxd[1121]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^Mar
10 21:54:07 raspberrypi weewxd[1121]: File
"/usr/share/weewx/weewx/drivers/vantage.py", line 664, in
genDavisArchiveRecordsMar 10 21:54:07 raspberrypi weewxd[1121]:
_datestr = struct.pack("<HH", _vantageDateStamp, _vantageTimeStamp)Mar 10
21:54:07 raspberrypi weewxd[1121]: struct.error: 'H' format requires 0 <=
number <= 65535Mar 10 21:54:07 raspberrypi systemd[1]: weewx.service: Main
process exited, code=exited, status=1/FAILUREMar 10 21:54:07 raspberrypi
systemd[1]: weewx.service: Failed with result 'exit-code'.Mar 10 21:54:07
raspberrypi systemd[1]: weewx.service: Consumed 1.258s CPU time.*
Do I have to create the directory manually?
Using the command
sudo mkdir /var/log/syslog?
понедельник, 9 марта 2026 г. в 14:52:08 UTC+3, Tom Keffer:
> Andrei, you need to slow down and take things one at a time.
>
> First, it would be helpful to have a clean log. The status commands
> returned by systemctl are almost useless because they are so short. Follow
> the directions in the wiki
> <https://github.com/weewx/weewx/wiki/view-logs#how-to-produce-a-useful-log-report>
>
> and post that.
>
> Second, the timestamps in your system are all over the place. The last
> command showed one in 2001! Do you have a clock on your Raspberry Pi? If
> not, you have to give it some time to synchronize with a clock on the
> internet before doing anything.
>
> Try running weewxd again, this time posting the full log. Don't clear the
> memory, don't dump the memory. Just try running weewxd.
>
> Thanks
>
> -tk
>
> On Mon, Mar 9, 2026 at 1:21 AM ANDREI ROZWADOWSKI <[email protected]>
> wrote:
>
>> Below are the results of the commands:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *pi@raspberrypi:~ $ sudo weectl device --dumpUsing configuration file
>> /etc/weewx/weewx.confUsing driver weewx.drivers.vantage.Using Vantage
>> driver version 3.6.3 (weewx.drivers.vantage)Proceeding will dump all data
>> in the logger.Are you sure you want to proceed (y/n)? yStarting dump
>> ... Records processed: 2; Timestamp: 2001-04-24 07:35:00 MSD
>> (988083300)Finished dump. 2 records addedpi@raspberrypi:~ $ sudo weectl
>> device --clear-memoryUsing configuration file /etc/weewx/weewx.confUsing
>> driver weewx.drivers.vantage.Using Vantage driver version 3.6.3
>> (weewx.drivers.vantage)Proceeding will erase all archive records.Are you
>> sure you wish to proceed (y/n)? yErasing all archive records ...Unable to
>> wake up console... sleepingUnable to wake up console... retryingUnable to
>> wake up console... sleepingUnable to wake up console... retryingUnable to
>> wake up console... sleepingUnable to wake up console... retryingUnable to
>> wake up console... sleepingUnable to wake up console... retryingUnable to
>> wake up console... sleepingUnable to wake up console... retryingUnable to
>> wake up console... sleepingUnable to wake up console... retryingTraceback
>> (most recent call last): File "/usr/share/weewx/weectl.py", line 82, in
>> <module> main() ~~~~^^ File "/usr/share/weewx/weectl.py", line 43,
>> in main weectllib.device_actions.device()
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File
>> "/usr/share/weewx/weectllib/device_actions.py", line 91, in device
>> configurator.configure(config_dict) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
>> File "/usr/share/weewx/weewx/drivers/__init__.py", line 71, in configure
>> self.do_options(options, parser, config_dict, not options.noprompt)
>> ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File
>> "/usr/share/weewx/weewx/drivers/vantage.py", line 2255, in do_options
>> self.clear_memory(station, options.noprompt)
>> ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ File
>> "/usr/share/weewx/weewx/drivers/vantage.py", line 2569, in clear_memory
>> station.clearLog() ~~~~~~~~~~~~~~~~^^ File
>> "/usr/share/weewx/weewx/drivers/vantage.py", line 1252, in clearLog
>> raise weewx.RetriesExceeded("Max retries exceeded while clearing
>> log")weewx.RetriesExceeded: Max retries exceeded while clearing
>> logpi@raspberrypi:~ $ *
>>
>> понедельник, 9 марта 2026 г. в 11:16:46 UTC+3, ANDREI ROZWADOWSKI:
>>
>>> Hi!
>>> I am using Raspbian Trixie (2025-12-04-raspios-trixie-arm64.img.xz).
>>> I have installed Weewx 5.3
>>> However, after running in the folder
>>> */var/www/html/weewx/*
>>> I only see
>>>
>>>
>>>
>>>
>>> *font NOAA favicon.ico seasons.css seasons.js*
>>> sudo weectl device --dump
>>>
>>> I ran the following commands:
>>> *sudo weectl device --dump *
>>> *sudo weectl device --clear-memory*
>>>
>>> I did a weewx restart.
>>>
>>> But now I see the following:
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *pi@raspberrypi:~ $ sudo systemctl status weewx× weewx.service - WeeWX
>>> Loaded: loaded (/usr/lib/systemd/system/weewx.service; enabled; preset:
>>> enabled) Active: failed (Result: exit-code) since Mon 2026-03-09
>>> 09:58:12 MSK; 1h 16min ago Duration: 14.066s Invocation:
>>> 3722bb7b1e1144339bf0f46bbd506467 Docs: https://weewx.com/docs
>>> <https://weewx.com/docs> Process: 1526 ExecStart=weewxd
>>> /etc/weewx/weewx.conf (code=exited, status=1/FAILURE) Main PID: 1526
>>> (code=exited, status=1/FAILURE) CPU: 1.134sMar 09 09:58:12
>>> raspberrypi weewxd[1526]: ~~~~~~~~~^^^^^^^^^^^^^Mar 09
>>> 09:58:12 raspberrypi weewxd[1526]: File
>>> "/usr/share/weewx/weewx/drivers/vantage.py", line 631, in
>>> genArchiveRecordsMar 09 09:58:12 raspberrypi weewxd[1526]: for _record
>>> in self.genDavisArchiveRecords(since_ts):Mar 09 09:58:12 raspberrypi
>>> weewxd[1526]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^Mar
>>> 09 09:58:12 raspberrypi weewxd[1526]: File
>>> "/usr/share/weewx/weewx/drivers/vantage.py", line 664, in
>>> genDavisArchiveRecordsMar 09 09:58:12 raspberrypi weewxd[1526]:
>>> _datestr = struct.pack("<HH", _vantageDateStamp, _vantageTimeStamp)Mar 09
>>> 09:58:12 raspberrypi weewxd[1526]: struct.error: 'H' format requires 0 <=
>>> number <= 65535Mar 09 09:58:12 raspberrypi systemd[1]: weewx.service: Main
>>> process exited, code=exited, status=1/FAILUREMar 09 09:58:12 raspberrypi
>>> systemd[1]: weewx.service: Failed with result 'exit-code'.Mar 09 09:58:12
>>> raspberrypi systemd[1]: weewx.service: Consumed 1.134s CPU
>>> time.pi@raspberrypi:~ $ sudo journalctl -u weewxMar 09 09:45:55 raspberrypi
>>> systemd[1]: Started weewx.service - WeeWX.Mar 09 09:45:57 raspberrypi
>>> weewxd[1024]: INFO __main__: Initializing weewxd version 5.3.1Mar 09
>>> 09:45:57 raspberrypi weewxd[1024]: INFO __main__: Command line:
>>> /usr/share/weewx/weewxd.py /etc/weewx/weewx.confMar 09 09:45:57 raspberrypi
>>> weewxd[1024]: INFO __main__: Using Python: 3.13.5 (main, Jun 25 2025,
>>> 18:55:22) [GCC 14.2.0]Mar 09 09:45:57 raspberrypi weewxd[1024]: INFO
>>> __main__: Located at: /usr/bin/python3Mar 09 09:45:57 raspberrypi
>>> weewxd[1024]: INFO __main__: Platform:
>>> Linux-6.12.62+rpt-rpi-v8-aarch64-with-glibc2.41Mar 09 09:45:57 raspberrypi
>>> weewxd[1024]: INFO __main__: Locale: 'en_US.UTF-8'Mar 09 09:45:57
>>> raspberrypi weewxd[1024]: INFO __main__: Entry path:
>>> /usr/share/weewx/weewxd.pyMar 09 09:45:57 raspberrypi weewxd[1024]: INFO
>>> __main__: WEEWX_ROOT: /etc/weewxMar 09 09:45:57 raspberrypi weewxd[1024]:
>>> INFO __main__: Config file: /etc/weewx/weewx.confMar 09 09:45:57
>>> raspberrypi weewxd[1024]: INFO __main__: User module:
>>> /etc/weewx/bin/userMar 09 09:45:57 raspberrypi weewxd[1024]: INFO
>>> __main__: Debug: 0Mar 09 09:45:57 raspberrypi weewxd[1024]: INFO
>>> __main__: User: weewxMar 09 09:45:57 raspberrypi weewxd[1024]: INFO
>>> __main__: Group: weewxMar 09 09:45:57 raspberrypi weewxd[1024]: INFO
>>> __main__: Groups: weewxMar 09 09:45:57 raspberrypi weewxd[1024]: INFO
>>> weewx.engine: Loading station type Vantage (weewx.drivers.vantage)Mar 09
>>> 09:45:58 raspberrypi weewxd[1024]: INFO weewx.engine: StdConvert target
>>> unit is 0x1Mar 09 09:45:58 raspberrypi weewxd[1024]: INFO weewx.wxservices:
>>> StdWXCalculate will use data binding wx_bindingMar 09 09:45:58 raspberrypi
>>> weewxd[1024]: INFO weewx.engine: Archive will use data binding
>>> wx_bindingMar 09 09:45:58 raspberrypi weewxd[1024]: INFO weewx.engine:
>>> Record generation will be attempted in 'hardware'Mar 09 09:45:58
>>> raspberrypi weewxd[1024]: INFO weewx.engine: The archive interval in the
>>> configuration file (300) does not match the station hardware interval
>>> (60>Mar 09 09:45:58 raspberrypi weewxd[1024]: INFO weewx.engine: Using
>>> archive interval of 60 seconds (specified by hardware)Mar 09 09:45:59
>>> raspberrypi weewxd[1024]: INFO weewx.restx: StationRegistry: Registration
>>> not requested.Mar 09 09:45:59 raspberrypi weewxd[1024]: INFO weewx.restx:
>>> Wunderground: Posting not enabled.Mar 09 09:45:59 raspberrypi weewxd[1024]:
>>> INFO weewx.restx: PWSweather: Posting not enabled.Mar 09 09:45:59
>>> raspberrypi weewxd[1024]: INFO weewx.restx: CWOP: Posting not enabled.Mar
>>> 09 09:45:59 raspberrypi weewxd[1024]: INFO weewx.restx: WOW: Posting not
>>> enabled.Mar 09 09:45:59 raspberrypi weewxd[1024]: INFO weewx.restx: WOW-BE:
>>> Posting not enabled.Mar 09 09:45:59 raspberrypi weewxd[1024]: INFO
>>> weewx.restx: AWEKAS: Posting not enabled.Mar 09 09:45:59 raspberrypi
>>> weewxd[1024]: INFO weewx.engine: 'pyephem' detected, extended almanac data
>>> is availableMar 09 09:45:59 raspberrypi weewxd[1024]: INFO __main__:
>>> Starting up weewx version 5.3.1Mar 09 09:46:00 raspberrypi weewxd[1024]:
>>> INFO weewx.engine: Clock error is 275.84 seconds (positive is fast)Mar 09
>>> 09:46:00 raspberrypi weewxd[1024]: INFO weewx.drivers.vantage: Clock set to
>>> 2026-03-09 09:46:01 MSK (1773038761)Mar 09 09:46:00 raspberrypi
>>> weewxd[1024]: INFO weewx.engine: Using binding 'wx_binding' to database
>>> 'weewx.sdb'lines 1-34*
>>>
>>> Please tell me, I have problems with data-logger?
>>> Or I have installed weewx incorrectly?
>>>
>> --
>> 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 visit
>> https://groups.google.com/d/msgid/weewx-user/e4f377a8-bd85-4fa1-a2da-a592c9dcea27n%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/weewx-user/e4f377a8-bd85-4fa1-a2da-a592c9dcea27n%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 visit
https://groups.google.com/d/msgid/weewx-user/253322a2-c9b9-45d7-9302-623c733b69d4n%40googlegroups.com.