Koen, Please try again, but this time be sure to set debug=1, which will show additional information. In particular, we need to see the user and permissions data.
On Thu, Jun 26, 2025 at 12:03 PM Koen Huisbrink <[email protected]> wrote: > Hello Tom, > Hope you can help me with this, > everytime i install weewx i dont get index.html in the weewx folder and > now i have got it to this point and something keeps going wrong > There are no syslog > > pi@weewx:~ $ sudo tail -f /var/log/syslog | tee /tmp/mylog > tail: cannot open '/var/log/syslog' for reading: No such file or directory > tail: no files remaining > pi@weewx:~ $ sudo journalctl -u weewx > Jun 26 20:31:21 weewx systemd[1]: Started weewx.service - WeeWX weather > system. > Jun 26 20:31:21 weewx weewxd[1436]: INFO __main__: Initializing weewxd > version 5.1.0 > Jun 26 20:31:21 weewx weewxd[1436]: INFO __main__: Command line: > /home/pi/weewx-venv/lib/python3.11/site-packages/weewxd.py > /home/pi/weewx-data/weewx.conf > Jun 26 20:31:21 weewx weewxd[1436]: INFO __main__: Using Python: 3.11.2 > (main, Apr 28 2025, 14:11:48) [GCC 12.2.0] > Jun 26 20:31:21 weewx weewxd[1436]: INFO __main__: Located at: > /home/pi/weewx-venv/bin/python3 > Jun 26 20:31:21 weewx weewxd[1436]: INFO __main__: Platform: > Linux-6.12.25+rpt-rpi-2712-aarch64-with-glibc2.36 > Jun 26 20:31:21 weewx weewxd[1436]: INFO __main__: Locale: > 'en_GB.UTF-8' > Jun 26 20:31:21 weewx weewxd[1436]: INFO __main__: Entry path: > /home/pi/weewx-venv/lib/python3.11/site-packages/weewxd.py > Jun 26 20:31:21 weewx weewxd[1436]: INFO __main__: WEEWX_ROOT: > /home/pi/weewx-data > Jun 26 20:31:21 weewx weewxd[1436]: INFO __main__: Config file: > /home/pi/weewx-data/weewx.conf > Jun 26 20:31:21 weewx weewxd[1436]: INFO __main__: User module: > /home/pi/weewx-data/bin/user > Jun 26 20:31:21 weewx weewxd[1436]: INFO __main__: Debug: 0 > Jun 26 20:31:21 weewx weewxd[1436]: INFO __main__: User: pi > Jun 26 20:31:21 weewx weewxd[1436]: INFO __main__: Group: pi > Jun 26 20:31:21 weewx weewxd[1436]: INFO __main__: Groups: adm > dialout cdrom sudo audio video plugdev games users input render netdev > lpadmin gpio i2c spi pi > Jun 26 20:31:21 weewx weewxd[1436]: INFO weewx.engine: Loading station > type TE923 (weewx.drivers.te923) > Jun 26 20:31:21 weewx weewxd[1436]: INFO weewx.drivers.te923: driver > version is 0.41.1 > Jun 26 20:31:21 weewx weewxd[1436]: INFO weewx.drivers.te923: polling > interval is 10 > Jun 26 20:31:21 weewx weewxd[1436]: INFO weewx.drivers.te923: sensor map > is {'windLinkStatus': 'link_wind', 'windBatteryStatus': 'bat_wind', > 'rainLinkStatus': 'link_rain', 'rai> > Jun 26 20:31:22 weewx weewxd[1436]: INFO weewx.drivers.te923: Found device > on USB bus= device= > Jun 26 20:31:23 weewx weewxd[1436]: ERROR weewx.drivers.te923: Failed > attempt 1 of 5 to read data: [Errno 110] Operation timed out > Jun 26 20:31:26 weewx weewxd[1436]: ERROR weewx.drivers.te923: > Unrecognised memory size '6' > Jun 26 20:31:26 weewx weewxd[1436]: ERROR weewx.engine: Import of driver > failed: Unrecognised memory size '6' (<class 'weewx.WeeWxIOError'>) > Jun 26 20:31:26 weewx weewxd[1436]: CRITICAL weewx.engine: **** > Traceback (most recent call last): > Jun 26 20:31:26 weewx weewxd[1436]: CRITICAL weewx.engine: **** > File "/home/pi/weewx-venv/lib/python3.11/site-packages/weewx/engine.py", > line 115, in setupStation > Jun 26 20:31:26 weewx weewxd[1436]: CRITICAL weewx.engine: **** > self.console = loader_function(config_dict, self) > Jun 26 20:31:26 weewx weewxd[1436]: CRITICAL weewx.engine: **** > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Jun 26 20:31:26 weewx weewxd[1436]: CRITICAL weewx.engine: **** > File > "/home/pi/weewx-venv/lib/python3.11/site-packages/weewx/drivers/te923.py", > line 454, in loader > Jun 26 20:31:26 weewx weewxd[1436]: CRITICAL weewx.engine: **** > return TE923Driver(**config_dict[DRIVER_NAME]) > Jun 26 20:31:26 weewx weewxd[1436]: CRITICAL weewx.engine: **** > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Jun 26 20:31:26 weewx weewxd[1436]: CRITICAL weewx.engine: **** > File > "/home/pi/weewx-venv/lib/python3.11/site-packages/weewx/drivers/te923.py", > line 1135, in __init__ > Jun 26 20:31:26 weewx weewxd[1436]: CRITICAL weewx.engine: **** > self.station.open() > Jun 26 20:31:26 weewx weewxd[1436]: CRITICAL weewx.engine: **** > File > "/home/pi/weewx-venv/lib/python3.11/site-packages/weewx/drivers/te923.py", > line 1555, in open > Jun 26 20:31:26 weewx weewxd[1436]: CRITICAL weewx.engine: **** > self.read_memory_size() > Jun 26 20:31:26 weewx weewxd[1436]: CRITICAL weewx.engine: **** > File > "/home/pi/weewx-venv/lib/python3.11/site-packages/weewx/drivers/te923.py", > line 1764, in read_memory> > Jun 26 20:31:26 weewx weewxd[1436]: CRITICAL weewx.engine: **** > raise weewx.WeeWxIOError(msg) > Jun 26 20:31:26 weewx weewxd[1436]: CRITICAL weewx.engine: **** > weewx.WeeWxIOError: Unrecognised memory size '6' > Jun 26 20:31:26 weewx weewxd[1436]: CRITICAL __main__: Unable to load > driver: Unrecognised memory size '6' > Jun 26 20:31:26 weewx weewxd[1436]: CRITICAL __main__: **** Exiting... > Jun 26 20:31:26 weewx systemd[1]: weewx.service: Main process exited, > code=exited, status=4/NOPERMISSION > Jun 26 20:31:26 weewx systemd[1]: weewx.service: Failed with result > 'exit-code'. > > Op woensdag 25 juni 2025 om 23:00:51 UTC+2 schreef Tom Keffer: > > Set debug=1, restart (DON'T reinstall) weewx. Post the log from startup > until it crashes. We need the LOG, not the systemctl status. > > If you don't know how to do that, see the wiki section *How to produce a > useful log report > <https://github.com/weewx/weewx/wiki/view-logs#how-to-produce-a-useful-log-report>* > . > > On Wed, Jun 25, 2025 at 1:56 PM Koen Huisbrink <[email protected]> wrote: > > I have tried to install weewx on my raspberry 5 several times. and I > always get error messages or the index.html file is not created. > > Who can help me with this? > I will show the status with error messages here. > > Greetings Koen > > pi@weewx:~ $ sudo systemctl status weewx > × weewx.service - WeeWX weather system > Loaded: loaded (/etc/systemd/system/weewx.service; enabled; preset: > enabled) > Active: failed (Result: exit-code) since Wed 2025-06-25 22:42:14 > CEST; 1min 47s ago > Duration: 5.087s > Docs: https://weewx.com/docs > Process: 2216 ExecStart=/home/pi/weewx-venv/bin/python3 > /home/pi/weewx-venv/lib/python3.11/site-packages/weewxd.py > /home/pi/weewx-data/weewx.conf (code=exited, status=4) > Main PID: 2216 (code=exited, status=4) > CPU: 148ms > > Jun 25 22:42:14 weewx weewxd[2216]: CRITICAL weewx.engine: **** > self.station.open() > Jun 25 22:42:14 weewx weewxd[2216]: CRITICAL weewx.engine: **** > File > "/home/pi/weewx-venv/lib/python3.11/site-packages/weewx/drivers/te923.py", > line 1555, in open > Jun 25 22:42:14 weewx weewxd[2216]: CRITICAL weewx.engine: **** > self.read_memory_size() > Jun 25 22:42:14 weewx weewxd[2216]: CRITICAL weewx.engine: **** > File > "/home/pi/weewx-venv/lib/python3.11/site-packages/weewx/drivers/te923.py", > line 1764, in read_memory> > Jun 25 22:42:14 weewx weewxd[2216]: CRITICAL weewx.engine: **** > raise weewx.WeeWxIOError(msg) > Jun 25 22:42:14 weewx weewxd[2216]: CRITICAL weewx.engine: **** > weewx.WeeWxIOError: Unrecognised memory size '6' > Jun 25 22:42:14 weewx weewxd[2216]: CRITICAL __main__: Unable to load > driver: Unrecognised memory size '6' > Jun 25 22:42:14 weewx weewxd[2216]: CRITICAL __main__: **** Exiting... > Jun 25 22:42:14 weewx systemd[1]: weewx.service: Main process exited, > code=exited, status=4/NOPERMISSION > Jun 25 22:42:14 weewx systemd[1]: weewx.service: Failed with result > 'exit-code'. > lines 1-19/19 (END) > > -- > 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/b5fa7d90-1493-404b-b063-7735fd1af5e7n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/b5fa7d90-1493-404b-b063-7735fd1af5e7n%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/CAPq0zEB_cCLv%2B7vFASXrRjWJeOnsVFPUyPnBrvx3qNc5oRui%3DQ%40mail.gmail.com.
