Now I seem to have broken the entire thing. I decided to try the python installation method, so ran `apt-get remove weewx` and then downloaded the tarball to try a manual installation.
This time, there is content in /var/www/html but hardly anything (except user) under /usr/share/weewx. Everything is under /home but even when I place the new driver into /usr/share/weewx/user and modify the configuration file, I still get... 1 14:11:35 weather systemd[1]: Starting LSB: weewx weather system... Jan 1 14:11:35 weather weewx[12205]: engine: Initializing weewx version 3.8.0 Jan 1 14:11:35 weather weewx[12205]: engine: Using Python 2.7.13 (default, Jan 19 2017, 14:48:08) #012[GCC 6.3.0 20170124] Jan 1 14:11:35 weather weewx[12205]: engine: Platform Linux-4.9.59-v7+-armv7l-with-debian-9.1 Jan 1 14:11:35 weather weewx[12205]: engine: Locale is 'en_GB.UTF-8' Jan 1 14:11:35 weather weewx[12205]: engine: pid file is /var/run/weewx.pid Jan 1 14:11:35 weather weewx[12209]: engine: Using configuration file /home/weewx/weewx.conf Jan 1 14:11:35 weather weewx[12209]: engine: Loading station type WMR300 ( weewx.user.wmr300.py) Jan 1 14:11:35 weather weewx[12209]: engine: Caught unrecoverable exception in engine: Jan 1 14:11:35 weather weewx[12209]: **** No module named user.wmr300.py Jan 1 14:11:35 weather weewx[12209]: **** Traceback (most recent call last): Jan 1 14:11:35 weather weewx[12209]: **** File "/home/weewx/bin/weewx/engine.py", line 865, in main Jan 1 14:11:35 weather weewx[12209]: **** engine = engine_class(config_dict) Jan 1 14:11:35 weather weewx[12209]: **** File "/home/weewx/bin/weewx/engine.py", line 71, in __init__ Jan 1 14:11:35 weather weewx[12209]: **** self.setupStation(config_dict) Jan 1 14:11:35 weather weewx[12209]: **** File "/home/weewx/bin/weewx/engine.py", line 95, in setupStation Jan 1 14:11:35 weather weewx[12209]: **** __import__(driver) Jan 1 14:11:35 weather weewx[12209]: **** ImportError: No module named user.wmr300.py Jan 1 14:11:35 weather weewx[12209]: **** Exiting. Jan 1 14:11:35 weather systemd[1]: Started LSB: weewx weather system. Jan 1 14:11:35 weather weewx[12193]: Starting weewx weather system: weewx. Am I right in stating that in the driver section of the configuration file, a dot is the directory separator? The file is indexed this way in the configuration file... root@weather:/usr/share/weewx/user# grep driver /home/weewx/weewx.conf driver = user.wmr300.py I tried to change that to weewx.user.wmr300.py to no avail. I also tried copying the file into /home/weewx but again, no luck. It's trying to find the python file, but I don't know 1. where to put it and 2. how to point the configuration file at it. At this point, I'm thinking of jacking the whole thing in and re-installing raspbian to start again. On 1 January 2018 at 12:19, gjr80 <gjroder...@gmail.com> wrote: > On Monday, 1 January 2018 20:27:29 UTC+10, Cycle London wrote: >> >> >> Ah, that looks so much better, thank you! >> > > Hmm, that sounds promising but your next few lines do not sound so good. > > >> One thing puzzles me. I installed using the 'simplified' method in the >> User Guide: http://www.weewx.com/docs/usersguide.htm >> >> In short, `apt-get install weewx`, but whilst the installation succeeded >> (except for the original subject of this post), there is nothing under >> /var/www/html (except for an index.html). Is this normal? Where can I find >> the files to place into the HTML_ROOT? >> > > The installation may have succeeded but to obtain any output weeWX must be > running, obtaining data from your station, saving data to the database and > then generating output. WeeWX places the generated output in HTML_ROOT by > default. You need to have a look at your log to see what is happening. > Unless you have changed things this should be in /var/log/syslog. Open > the log and have a look at the last time you started weeWX, what does it > say? If the issue/answer is not obvious post an extract from the log, best > from when weeWX was started until any error trace is complete. Don't delete > or otherwise alter any lines. The log will tell what is or is not happening. > > Also, I want to use MySQL but of course, that's MariaDB as standard these >> days. Any problems with this? >> > > No problems at all. I would strongly suggest you get weeWX up and running > properly with SQLite before attempting to move to MySQL or MariaDB. Small > steps. > > Gary > > -- > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/weewx-user/iGXSDG5XsOQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > weewx-user+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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. For more options, visit https://groups.google.com/d/optout.