I solved this error, it was actually problem with mariadb server so I deleted it and install mysql and now it works.
ponedeljek, 21. november 2022 ob 00:01:39 UTC+1 je oseba hajsek...@gmail.com napisala: > I have installed weewx-4.9.1-1.el8.noarch on almalinux 8 > and have som trouble with totalrainin and can't find what that is > > mysql-check-socket[28110]: Socket file /var/lib/mysql/mysql.sock exists. > mysql-check-socket[28110]: No process is using /var/lib/mysql/mysql.sock, > which means it is a garbage, so it will be removed automatically. > mysql-prepare-db-dir[28139]: Database MariaDB is probably initialized in > /var/lib/mysql already, nothing is done. > mysql-prepare-db-dir[28139]: If this is not the case, make sure the > /var/lib/mysql is empty before running mysql-prepare-db-dir. > mysqld[28177]: 2022-11-20 23:58:55 0 [Note] /usr/libexec/mysqld (mysqld > 10.3.35-MariaDB) starting as process 28177 ... > systemd[1]: Started MariaDB 10.3 database server. > weewx[27306] INFO weewx.engine: Main loop exiting. Shutting engine down. > weewx[27306] INFO user.interceptor: shutting down server thread > Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__: Caught > unrecoverable exception: > Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__: > **** 'totalrainin' > Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__: > **** Traceback (most recent call last): > Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__: > **** File "/usr/share/weewx/weewxd", line 154, in main > Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__: > **** engine.run() > Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__: > **** File "/usr/share/weewx/weewx/engine.py", line 208, in run > Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__: > **** for packet in self.console.genLoopPackets(): > Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__: > **** File "/usr/share/weewx/user/interceptor.py", line 2550, in > genLoopPackets > Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__: > **** pkt = self._device.parser.parse(data) > Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__: > **** File "/usr/share/weewx/user/interceptor.py", line 2396, in parse > Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__: > **** self.LABEL_MAP.pop('totalrainin') > Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__: > **** KeyError: 'totalrainin' > Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__: > **** Exiting. > -- 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/0fc5d7bf-6dc5-4b71-a1dd-28662bcc32f3n%40googlegroups.com.