journalctl -n 100 Shows the last 100 lines. On Thu, Sep 26, 2024, 18:31 Ho Lee Fooks <[email protected]> wrote:
> Reinstalling weewx, I wondered where the log was as well. It may be > replaced with a binary log named journal. I found a README that explains > more. > > On Thu, Sep 26, 2024, 10:59 '[email protected]' via weewx-user < > [email protected]> wrote: > >> Maybe your log is elsewhere: https://weewx.com/docs/5.1/usersguide/where/ >> >> ANDREI ROZWADOWSKI schrieb am Donnerstag, 26. September 2024 um 16:33:55 >> UTC+2: >> >>> As for link >>> https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user#how-to-get-a-good-useful-log >>> I've got the following results: >>> >>> pi@raspberrypi:~ $ sudo tail -f /var/log/syslog | tee /var/tmp/mylog >>> tail: cannot open '/var/log/syslog' for reading: No such file or >>> directory >>> tail: no files remaining >>> pi@raspberrypi:~ $ sudo tail -f /var/log/syslog >>> tail: cannot open '/var/log/syslog' for reading: No such file or >>> directory >>> tail: no files remaining >>> pi@raspberrypi:~ $ >>> >>> >>> четверг, 26 сентября 2024 г. в 17:29:07 UTC+3, ANDREI ROZWADOWSKI: >>> >>>> Good evening! >>>> Below is the log file for Raspberry Pi 3B (OS Bullseye) >>>> The latest results on the charts (in the folder: /var/www/html/www ) >>>> which I received are dated 09/25/2024, 06:15:00 PM >>>> >>>> pi@raspberrypi:~ $ sudo journalctl -u weewx >>>> Sep 24 11:52:40 raspberrypi systemd[1]: Started weewx.service - WeeWX. >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Initializing >>>> weewxd version 5.1.0 >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Command line: >>>> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Using Python: >>>> 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Located at: >>>> /usr/bin/python3 >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Platform: >>>> Linux-6.6.47+rpt-rpi-v7-armv7l-with-glibc2.36 >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Locale: >>>> 'en_US.UTF-8' >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Entry path: >>>> /usr/share/weewx/weewxd.py >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: WEEWX_ROOT: >>>> /etc/weewx >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Config file: >>>> /etc/weewx/weewx.conf >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: User module: >>>> /etc/weewx/bin/user >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Debug: 0 >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: User: >>>> weewx >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Group: >>>> weewx >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Groups: >>>> weewx >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO weewx.engine: Loading >>>> station type Vantage (weewx.drivers.vantage) >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: ERROR weewx.engine: Import of >>>> driver failed: [Errno 2] could not open port /dev/tty> >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine: >>>> **** Traceback (most recent call last): >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine: >>>> **** File "/usr/lib/python3/dist-packages/serial/seri> >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine: >>>> **** self.fd = os.open(self.portstr, os.O_RDWR | os> >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine: >>>> **** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^> >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine: >>>> **** FileNotFoundError: [Errno 2] No such file or direc> >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine: >>>> **** >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine: >>>> **** During handling of the above exception, another ex> >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine: >>>> **** >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine: >>>> **** Traceback (most recent call last): >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine: >>>> **** File "/usr/share/weewx/weewx/engine.py", line 11> >>>> Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine: >>>> **** self.console = loader_function(config_dict, se> >>>> lines 1-28 >>>> среда, 25 сентября 2024 г. в 23:24:13 UTC+3, Tom Keffer: >>>> >>>>> I don't know what you mean by "registration". Do you mean station >>>>> registration so it shows on this map >>>>> <https://www.weewx.com/stations.html>? Or, something else? >>>>> >>>>> In any case, it's almost impossible to diagnose what's happening >>>>> without a log. See the section *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 Wed, Sep 25, 2024 at 11:12 AM ANDREY <[email protected]> >>>>> wrote: >>>>> >>>>>> Good evening! >>>>>> >>>>>> I use meteostation Davis Vantage Pro2 with Raspberry Pi 2B since 2022. >>>>>> Its operation system is Raspbian Buster (because I use AnyDesk for >>>>>> the remote access). >>>>>> Since June 2024, data registration has interrupted. >>>>>> It worked only some hours. >>>>>> I was reinstalling the operating system (Raspbian Buster). >>>>>> I replaced the board on a Raspberry Pi 3B with Raspbian Bullseye. >>>>>> But I see the graphics with results for some hours. >>>>>> After that the registration is stopped. >>>>>> Why? >>>>>> >>>>>> -- >>>>>> 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/77b03b34-495e-43aa-9f12-f9cfada246cdn%40googlegroups.com >>>>>> <https://groups.google.com/d/msgid/weewx-user/77b03b34-495e-43aa-9f12-f9cfada246cdn%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/dd7e77cf-2234-409d-92aa-53fae15de8a4n%40googlegroups.com >> <https://groups.google.com/d/msgid/weewx-user/dd7e77cf-2234-409d-92aa-53fae15de8a4n%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/CAK07PGppmja%2BpXWisjZ5ABu-W1rogMqXVbyuaYyuvyfX997aJQ%40mail.gmail.com.
