On Sunday, December 17, 2017 at 2:01:29 PM UTC-8, Ray wrote:
>
>
> Dec 17 22:42:25 ray-Aspire-5735 systemd[1]: Started LSB: weewx weather
> system.
>
> file:///var/www/html/weewx/inde.html still shows only one 'page of data -
> for 8Dec 2017.
> the console appears to be showing the correct data, changing with time;
> what further info would help you to help me towards a successfully working
> weather station?
>
>
Your log snippet doesn't show anything really, we typically need to see
some lines saying that the system is archiving data to the database and at
least trying to generate the files. My 'guess' is that weewx might be
aborting completely, but it's impossible to tell from the data you've
provided.
Is weewx running ? Typically we'd see entries every few minutes showing
it's doing 'something'.
I stopped and started mine just to give you an idea of what normal looks
like. With debug=1 you can see stuff happening...
Dec 17 18:09:51 debian weewx[21147]: engine: Initializing weewx version
3.8.0
Dec 17 18:09:51 debian weewx[21147]: engine: Using Python 2.7.3 (default,
Mar 23 2014, 01:44:56) [GCC 4.6.3]
Dec 17 18:09:51 debian weewx[21147]: engine: Platform
Linux-3.12.0-kirkwood-tld-1-armv5tel-with-debian-7.6
Dec 17 18:09:51 debian weewx[21147]: engine: Locale is 'C'
Dec 17 18:09:51 debian weewx[21147]: engine: pid file is /var/run/weewx.pid
Dec 17 18:09:51 debian weewx[21151]: engine: Using configuration file
/home/weewx/weewx.conf
Dec 17 18:09:51 debian weewx[21151]: engine: Loading station type Vantage
(weewx.drivers.vantage)
Dec 17 18:09:52 debian weewx[21151]: engine: StdConvert target unit is 0x1
Dec 17 18:09:52 debian weewx[21151]: wxcalculate: The following values will
be calculated: barometer=prefer_hardware, windchill=prefer_hardware,
dewpoint=prefer_hardware, appTemp=prefer_hardware,
rainRate=prefer_hardware, windrun=prefer_hardware,
heatindex=prefer_hardware, maxSolarRad=prefer_hardware,
humidex=prefer_hardware, pressure=prefer_hardware,
inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware,
cloudbase=prefer_hardware
Dec 17 18:09:52 debian weewx[21151]: wxcalculate: The following algorithms
will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Dec 17 18:09:52 debian weewx[21151]: wxdata: startup
Dec 17 18:09:52 debian weewx[21151]: engine: Archive will use data binding
wx_binding
Dec 17 18:09:52 debian weewx[21151]: engine: Record generation will be
attempted in 'hardware'
Dec 17 18:09:52 debian weewx[21151]: engine: Using archive interval of 300
seconds (specified by hardware)
Dec 17 18:09:52 debian weewx[21151]: wxdata server started
Dec 17 18:09:52 debian weewx[21151]: wxdata: server process 21151
Dec 17 18:09:52 debian weewx[21151]: wxdata: address: '('', 6000)'
Dec 17 18:09:52 debian weewx[21151]: wxdata: key: 'wxdata key'
Dec 17 18:09:52 debian weewx[21151]: engine: Using binding 'wx_binding' to
database 'weewx.sdb'
Dec 17 18:09:52 debian weewx[21151]: manager: Starting backfill of daily
summaries
Dec 17 18:09:53 debian weewx[21151]: forecast: MainThread: NWS: forecast
version 3.2.16
Dec 17 18:09:54 debian weewx[21151]: forecast: MainThread: NWS:
interval=10800 max_age=604800 lid=WAZ558 foid=SEW
Dec 17 18:09:54 debian weewx[21151]: forecast: MainThread: WU: forecast
version 3.2.16
Dec 17 18:09:54 debian weewx[21151]: restx: StationRegistry: Station will
be registered.
Dec 17 18:09:54 debian weewx[21151]: restx: Wunderground-PWS: Data for
station KWAFEDER15 will be posted
Dec 17 18:09:54 debian weewx[21151]: restx: PWSWeather: Data for station
KWFEDER15 will be posted
Dec 17 18:09:54 debian weewx[21151]: restx: CWOP: Data for station CW6881
will be posted
Dec 17 18:09:54 debian weewx[21151]: restx: WOW: Posting not enabled.
Dec 17 18:09:54 debian weewx[21151]: restx: AWEKAS: Posting not enabled.
Dec 17 18:09:54 debian weewx[21151]: engine: Starting up weewx version 3.8.0
Dec 17 18:09:54 debian weewx[21151]: engine: Clock error is 1.56 seconds
(positive is fast)
Dec 17 18:09:54 debian weewx[21151]: engine: Starting main packet loop.
Dec 17 18:10:18 debian weewx[21151]: wxdata: archive record, delta
18.8073918819
Dec 17 18:10:19 debian weewx[21151]: manager: Added record 2017-12-17
18:10:00 PST (1513563000) to database 'weewx.sdb'
Dec 17 18:10:19 debian weewx[21151]: manager: Added record 2017-12-17
18:10:00 PST (1513563000) to daily summary in 'weewx.sdb'
Dec 17 18:10:19 debian weewx[21151]: restx: Wunderground-PWS: Published
record 2017-12-17 18:10:00 PST (1513563000)
Dec 17 18:10:19 debian weewx[21151]: restx: CWOP: Published record
2017-12-17 18:10:00 PST (1513563000)
Dec 17 18:10:19 debian weewx[21151]: restx: PWSWeather: Published record
2017-12-17 18:10:00 PST (1513563000)
Dec 17 18:10:19 debian weewx[21151]: restx: StationRegistry: Published
record 2017-12-17 18:10:00 PST (1513563000)
Dec 17 18:10:31 debian weewx[21151]: cheetahgenerator: Generated 4 files
for report StandardReport in 12.01 seconds
Dec 17 18:10:34 debian weewx[21151]: imagegenerator: Generated 13 images
for StandardReport in 2.66 seconds
Dec 17 18:10:34 debian weewx[21151]: copygenerator: copied 2 files to
/home/weewx/public_html/Standard
To check on whether weewx is actually running, here's how I do it the
old-school way, along with the output:
root@debian:/var/log# ps ax|grep weewx
21151 ? Sl 0:45 /usr/bin/python /home/weewx/bin/weewxd --daemon
--pidfile=/var/run/weewx.pid /home/weewx/weewx.conf
You might compare that with the output of 'systemctl status weewx' to see
if systemd thinks your weewx is running or not. That command typically
tells you more info if not, why not.
The other thing you could do is query your database to see the date and
time of the last record saved. If weewx is saving data but not creating
web pages, then we'd need to look into your webserver setup and
permissions. If it's not saving archive records at all, then it's a weewx
installation/configuration problem probably.
This should all be on one line....
echo "select datetime((dateTime),'unixepoch','localtime') from archive
order by rowid desc limit 1;" | sqlite3 /home/weewx/archive/archive.sdb
On my system it prints out 2017-12-17 18:20:00 which is correct, it's 6:23
PM PST currently here.
--
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].
For more options, visit https://groups.google.com/d/optout.