matthewwall / weewx-influx

uploader for influxdb
GNU General Public License v3.0
45 stars 22 forks source link

troubleshooting - logs? #4

Closed johnny2678 closed 7 years ago

johnny2678 commented 7 years ago

Hi, I have this installed - but not seeing an influxDB created as specified in the weewx.conf and thus no data is logged. Not really sure how to troubleshoot as WeeWX isn't reporting any errors (logs only report normal REC/LOOP records). More info below. Any tips appreciated...

install:

Request to install 'weewx-influx'
Saving installer file to /home/weewx/bin/user/installer/influx
Saved configuration dictionary. Backup copy at /home/weewx/weewx.conf.20170530025954
Finished installing extension 'weewx-influx'

weewx.conf snippet (Can confirm that the Influx DB is reachable at the address above using the cmd line client):

[StdRESTful]
    [[Influx]]
        database = WeeWX
        port = 8086
#        host = example.com                         # specify host OR server_url
        server_url = http://192.168.X.X       # specify server_url OR host
#        username = root
#        password = root
        tags = station=KFLBRADE95,test=yes                   # optional
#        line_format = (multi-line | single-line)   # default is single-line
#        obs_to_upload = (all | none)               # default is all
#        append_units_label = (True | False)        # default is true
#        augment_record = (True | False)            # default is true
#        unit_system = (US | METRIC | METRICWX)     # default is database system
#        [[[inputs]]]                               # optional
#            [[[[observation1]]]]
#                units = degree_F                   # optional for each obs
#                name = label                       # optional for each obs
#                format = %.2f                      # optional for each obs
#            [[[[observation2]]]]
#                units = degree_F                   # optional for each obs
#                name = label                       # optional for each obs
#                format = %.2f                      # optional for each obs
matthewwall commented 7 years ago

please set debug=1 in the weewx config file, start weewx, then post the log from the time weewx starts up until after the first archive record.

johnny2678 commented 7 years ago

hmm, I didn't notice any additional output after setting debug=1. I'm running this in a docker container but not sure why that would make any difference. Confirmed with the following commands - logs follow. Sorry for the length.

john@dockerVM:~$ docker exec -it weewx bash
root@13c9951e4cb7:/# more ~/conf/default/weewx.conf 
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2015 Tom Keffer <tkeffer@gmail.com>
# See the file LICENSE.txt for your rights.

##############################################################################

# This section is for general configuration information.

# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 1

# Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = /home/weewx

# How long to wait before timing out a socket (FTP, HTTP) connection
socket_timeout = 20

# Do not modify this. It is used when installing and updating weewx.
version = 3.7.0

##############################################################################

#   This section is for information about the station.

[Station]

...

##############################################################################

#   This section is for uploading data to Internet sites

[StdRESTful]
    [[Influx]]
        database = PiPool
        port = 8086
#        host = example.com                         # specify host OR server_url
        server_url = http://192.168.x.x       # specify server_url OR host
        username = root
        password = root
        tags = station=KFLBRADE95,test=yes                   # optional

Here are the logs:

using default
'/home/weewx/conf/default/bin/user/socketlogger.py' -> '/home/weewx/bin/user/socketlogger.py'
'/home/weewx/conf/default/bin/user/socketlogger.py.bak' -> '/home/weewx/bin/user/socketlogger.py.bak'
'/home/weewx/conf/default/skins/Standard/smartphone/index.html.tmpl' -> '/home/weewx/skins/Standard/smartphone/index.html.tmpl'
'/home/weewx/conf/default/skins/Standard/smartphone/barometer.html.tmpl' -> '/home/weewx/skins/Standard/smartphone/barometer.html.tmpl'
'/home/weewx/conf/default/skins/Standard/smartphone/wind.html.tmpl' -> '/home/weewx/skins/Standard/smartphone/wind.html.tmpl'
'/home/weewx/conf/default/skins/Standard/smartphone/temp_outside.html.tmpl' -> '/home/weewx/skins/Standard/smartphone/temp_outside.html.tmpl'
'/home/weewx/conf/default/skins/Standard/smartphone/custom.js' -> '/home/weewx/skins/Standard/smartphone/custom.js'
'/home/weewx/conf/default/skins/Standard/smartphone/icons/icon_ipad_x2.png' -> '/home/weewx/skins/Standard/smartphone/icons/icon_ipad_x2.png'
'/home/weewx/conf/default/skins/Standard/smartphone/icons/icon_iphone_x1.png' -> '/home/weewx/skins/Standard/smartphone/icons/icon_iphone_x1.png'
'/home/weewx/conf/default/skins/Standard/smartphone/icons/icon_iphone_x2.png' -> '/home/weewx/skins/Standard/smartphone/icons/icon_iphone_x2.png'
'/home/weewx/conf/default/skins/Standard/smartphone/icons/icon_ipad_x1.png' -> '/home/weewx/skins/Standard/smartphone/icons/icon_ipad_x1.png'
'/home/weewx/conf/default/skins/Standard/smartphone/radar.html.tmpl' -> '/home/weewx/skins/Standard/smartphone/radar.html.tmpl'
'/home/weewx/conf/default/skins/Standard/smartphone/rain.html.tmpl' -> '/home/weewx/skins/Standard/smartphone/rain.html.tmpl'
'/home/weewx/conf/default/skins/Standard/smartphone/humidity.html.tmpl' -> '/home/weewx/skins/Standard/smartphone/humidity.html.tmpl'
'/home/weewx/conf/default/skins/Standard/favicon.ico' -> '/home/weewx/skins/Standard/favicon.ico'
'/home/weewx/conf/default/skins/Standard/backgrounds/band.gif' -> '/home/weewx/skins/Standard/backgrounds/band.gif'
'/home/weewx/conf/default/skins/Standard/backgrounds/drops.gif' -> '/home/weewx/skins/Standard/backgrounds/drops.gif'
'/home/weewx/conf/default/skins/Standard/backgrounds/flower.jpg' -> '/home/weewx/skins/Standard/backgrounds/flower.jpg'
'/home/weewx/conf/default/skins/Standard/backgrounds/butterfly.jpg' -> '/home/weewx/skins/Standard/backgrounds/butterfly.jpg'
'/home/weewx/conf/default/skins/Standard/backgrounds/night.gif' -> '/home/weewx/skins/Standard/backgrounds/night.gif'
'/home/weewx/conf/default/skins/Standard/backgrounds/leaf.jpg' -> '/home/weewx/skins/Standard/backgrounds/leaf.jpg'
'/home/weewx/conf/default/skins/Standard/month.html.tmpl' -> '/home/weewx/skins/Standard/month.html.tmpl'
'/home/weewx/conf/default/skins/Standard/skin.conf' -> '/home/weewx/skins/Standard/skin.conf'
'/home/weewx/conf/default/skins/Standard/year.html.tmpl' -> '/home/weewx/skins/Standard/year.html.tmpl'
'/home/weewx/conf/default/skins/Standard/weewx.css' -> '/home/weewx/skins/Standard/weewx.css'
'/home/weewx/conf/default/skins/Standard/index.html.tmpl' -> '/home/weewx/skins/Standard/index.html.tmpl'
'/home/weewx/conf/default/skins/Standard/NOAA/NOAA-YYYY.txt.tmpl' -> '/home/weewx/skins/Standard/NOAA/NOAA-YYYY.txt.tmpl'
'/home/weewx/conf/default/skins/Standard/NOAA/NOAA-YYYY-MM.txt.tmpl' -> '/home/weewx/skins/Standard/NOAA/NOAA-YYYY-MM.txt.tmpl'
'/home/weewx/conf/default/skins/Standard/mobile.html.tmpl' -> '/home/weewx/skins/Standard/mobile.html.tmpl'
'/home/weewx/conf/default/skins/Standard/RSS/weewx_rss.xml.tmpl' -> '/home/weewx/skins/Standard/RSS/weewx_rss.xml.tmpl'
'/home/weewx/conf/default/skins/Standard/mobile.css' -> '/home/weewx/skins/Standard/mobile.css'
'/home/weewx/conf/default/skins/Standard/week.html.tmpl' -> '/home/weewx/skins/Standard/week.html.tmpl'
'/home/weewx/conf/default/weewx.conf' -> '/home/weewx/weewx.conf'
Hit CTRL+C
LOOP:   2017-05-30 18:40:12 EDT (1496184012) altimeter: None, appTemp: 95.0969053355, barometer: 30.04, cloudbase: 4329.71475258, dateTime: 1496184012, dewpoint: 69.695673024, heatindex: 93.5098615475, humidex: 103.566382117, inDewpoint: 56.3563080027, inHumidity: 49.0, inTemp: 77.0, maxSolarRad: None, outHumidity: 54.0, outTemp: 88.5, pressure: None, radiation: 206.92, rain: 0.0, rainRate: 0, txBatteryStatus: 2.0, usUnits: 1, UV: 1.0, windchill: 88.5, windDir: 254.0, windGust: 2.46, windGustDir: 254.0, windSpeed: 1.57
LOOP:   2017-05-30 18:40:20 EDT (1496184020) altimeter: None, appTemp: 94.7195151055, barometer: 30.04, cloudbase: 4329.71475258, dateTime: 1496184020, dewpoint: 69.695673024, heatindex: 93.5098615475, humidex: 103.566382117, inDewpoint: 56.3563080027, inHumidity: 49.0, inTemp: 77.0, maxSolarRad: None, outHumidity: 54.0, outTemp: 88.5, pressure: None, radiation: 203.86, rain: 0.0, rainRate: 0, txBatteryStatus: 2.0, usUnits: 1, UV: 1.0, windchill: 88.5, windDir: 251.0, windGust: 2.46, windGustDir: 251.0, windSpeed: 2.24
LOOP:   2017-05-30 18:40:36 EDT (1496184036) altimeter: None, appTemp: 94.2182056955, barometer: 30.04, cloudbase: 4329.71475258, dateTime: 1496184036, dewpoint: 69.695673024, heatindex: 93.5098615475, humidex: 103.566382117, inDewpoint: 56.3563080027, inHumidity: 49.0, inTemp: 77.0, maxSolarRad: None, outHumidity: 54.0, outTemp: 88.5, pressure: None, radiation: 200.56, rain: 0.0, rainRate: 0, txBatteryStatus: 2.0, usUnits: 1, UV: 1.0, windchill: 88.5, windDir: 222.0, windGust: 4.92, windGustDir: 222.0, windSpeed: 3.13
LOOP:   2017-05-30 18:40:53 EDT (1496184053) altimeter: None, appTemp: 93.3338733655, barometer: 30.04, cloudbase: 4329.71475258, dateTime: 1496184053, dewpoint: 69.695673024, heatindex: 93.5098615475, humidex: 103.566382117, inDewpoint: 56.3563080027, inHumidity: 49.0, inTemp: 77.0, maxSolarRad: None, outHumidity: 54.0, outTemp: 88.5, pressure: None, radiation: 198.72, rain: 0.0, rainRate: 0, txBatteryStatus: 2.0, usUnits: 1, UV: 1.0, windchill: 88.5, windDir: 251.0, windGust: 7.61, windGustDir: 251.0, windSpeed: 4.7
LOOP:   2017-05-30 18:41:08 EDT (1496184068) altimeter: None, appTemp: 94.0886538255, barometer: 30.04, cloudbase: 4329.71475258, dateTime: 1496184068, dewpoint: 69.695673024, heatindex: 93.5098615475, humidex: 103.566382117, inDewpoint: 56.3563080027, inHumidity: 49.0, inTemp: 77.0, maxSolarRad: None, outHumidity: 54.0, outTemp: 88.5, pressure: None, radiation: 196.76, rain: 0.0, rainRate: 0, txBatteryStatus: 2.0, usUnits: 1, UV: 1.0, windchill: 88.5, windDir: 216.0, windGust: 4.92, windGustDir: 216.0, windSpeed: 3.36
LOOP:   2017-05-30 18:41:16 EDT (1496184076) altimeter: None, appTemp: 94.0886538255, barometer: 30.04, cloudbase: 4329.71475258, dateTime: 1496184076, dewpoint: 69.695673024, heatindex: 93.5098615475, humidex: 103.566382117, inDewpoint: 56.3563080027, inHumidity: 49.0, inTemp: 77.0, maxSolarRad: None, outHumidity: 54.0, outTemp: 88.5, pressure: None, radiation: 196.76, rain: 0.0, rainRate: 0, txBatteryStatus: 2.0, usUnits: 1, UV: 1.0, windchill: 88.5, windDir: 216.0, windGust: 4.92, windGustDir: 216.0, windSpeed: 3.36
REC:    2017-05-30 18:41:00 EDT (1496184060) altimeter: 30.034273919, appTemp: 94.3421248755, barometer: 30.04, cloudbase: 4329.71475258, dateTime: 1496184060.0, dewpoint: 69.695673024, ET: 0.000252225518764, heatindex: 93.5098615475, humidex: 103.566382117, inDewpoint: 56.3563080027, inHumidity: 49.0, inTemp: 77.0, interval: 1, maxSolarRad: None, outHumidity: 54.0, outTemp: 88.5, pressure: 29.9824169275, radiation: 202.515, rain: 0.0, rainRate: 0.0, txBatteryStatus: 2.0, usUnits: 1, UV: 1.0, windchill: 88.5, windDir: 243.726485746, windGust: 7.61, windGustDir: 251.0, windrun: 26.4251111111, windSpeed: 2.91
LOOP:   2017-05-30 18:41:24 EDT (1496184084) altimeter: 30.034273919, appTemp: 94.3421248755, barometer: 30.04, cloudbase: 4329.71475258, dateTime: 1496184084, dewpoint: 69.695673024, heatindex: 93.5098615475, humidex: 103.566382117, inDewpoint: 56.3563080027, inHumidity: 49.0, inTemp: 77.0, maxSolarRad: None, outHumidity: 54.0, outTemp: 88.5, pressure: 29.9824169275, radiation: 190.95, rain: 0.0, rainRate: 0, txBatteryStatus: 2.0, usUnits: 1, UV: 1.0, windchill: 88.5, windDir: 258.0, windGust: 4.92, windGustDir: 258.0, windSpeed: 2.91
LOOP:   2017-05-30 18:41:40 EDT (1496184100) altimeter: 30.034270731, appTemp: 95.1877004648, barometer: 30.04, cloudbase: 4326.25456901, dateTime: 1496184100, dewpoint: 69.5108978317, heatindex: 93.1308210911, humidex: 103.20566811, inDewpoint: 56.3563080027, inHumidity: 49.0, inTemp: 77.0, maxSolarRad: None, outHumidity: 54.0, outTemp: 88.3, pressure: 29.9824137448, radiation: 183.06, rain: 0.0, rainRate: 0, txBatteryStatus: 2.0, usUnits: 1, UV: 1.0, windchill: 88.3, windDir: 271.0, windGust: 2.46, windGustDir: 271.0, windSpeed: 0.89
LOOP:   2017-05-30 18:41:56 EDT (1496184116) altimeter: 30.034270731, appTemp: 94.9342294148, barometer: 30.04, cloudbase: 4326.25456901, dateTime: 1496184116, dewpoint: 69.5108978317, heatindex: 93.1308210911, humidex: 103.20566811, inDewpoint: 56.3563080027, inHumidity: 49.0, inTemp: 77.0, maxSolarRad: None, outHumidity: 54.0, outTemp: 88.3, pressure: 29.9824137448, radiation: 176.08, rain: 0.0, rainRate: 0, txBatteryStatus: 2.0, usUnits: 1, UV: 1.0, windchill: 88.3, windDir: 294.0, windGust: 2.46, windGustDir: 294.0, windSpeed: 1.34
LOOP:   2017-05-30 18:42:11 EDT (1496184131) altimeter: 30.034270731, appTemp: 94.8046775448, barometer: 30.04, cloudbase: 4326.25456901, dateTime: 1496184131, dewpoint: 69.5108978317, heatindex: 93.1308210911, humidex: 103.20566811, inDewpoint: 56.3563080027, inHumidity: 49.0, inTemp: 77.0, maxSolarRad: None, outHumidity: 54.0, outTemp: 88.3, pressure: 29.9824137448, radiation: 171.06, rain: 0.0, rainRate: 0, txBatteryStatus: 2.0, usUnits: 1, UV: 1.0, windchill: 88.3, windDir: 271.0, windGust: 2.46, windGustDir: 271.0, windSpeed: 1.57
LOOP:   2017-05-30 18:42:21 EDT (1496184141) altimeter: 30.034270731, appTemp: 94.8046775448, barometer: 30.04, cloudbase: 4326.25456901, dateTime: 1496184141, dewpoint: 69.5108978317, heatindex: 93.1308210911, humidex: 103.20566811, inDewpoint: 56.3563080027, inHumidity: 49.0, inTemp: 77.0, maxSolarRad: None, outHumidity: 54.0, outTemp: 88.3, pressure: 29.9824137448, radiation: 171.06, rain: 0.0, rainRate: 0, txBatteryStatus: 2.0, usUnits: 1, UV: 1.0, windchill: 88.3, windDir: 271.0, windGust: 2.46, windGustDir: 271.0, windSpeed: 1.57
REC:    2017-05-30 18:42:00 EDT (1496184120) altimeter: 30.0342717936, appTemp: 94.5282724812, barometer: 30.04, cloudbase: 4328.33067915, dateTime: 1496184120.0, dewpoint: 69.621762947, ET: 0.000250278184488, heatindex: 93.3582453649, humidex: 103.422096514, inDewpoint: 56.3563080027, inHumidity: 49.0, inTemp: 77.0, interval: 1, maxSolarRad: None, outHumidity: 54.0, outTemp: 88.42, pressure: 29.9824148057, radiation: 188.722, rain: 0.0, rainRate: 0.0, txBatteryStatus: 2.0, usUnits: 1, UV: 1.0, windchill: 88.42, windDir: 238.402898563, windGust: 4.92, windGustDir: 216.0, windrun: 26.4736111111, windSpeed: 2.372
matthewwall commented 7 years ago

i need to see the weewx log. in a standard weewx installation, the weewx log output goes to the system log, which is typically /var/log/syslog or /var/log/messages

johnny2678 commented 7 years ago

Thanks for the response. I'm having trouble finding the syslog in my container - it's not in /var/log/syslog (running debian:jessie). I'll get in touch with the maintainer and get back to you ASAP.

edit: the container I'm running is https://github.com/tomdotorg/docker-weewx

johnny2678 commented 7 years ago

ok, I got rsyslog running in my container and captured the output from /var/log/debug

Didn't see a mention of Influx...

root@299a4b15f43c:/var/log# tail -f -n 200 debug 
May 30 21:30:13 299a4b15f43c weewx[25]: engine: debug is 1
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Initializing engine
May 30 21:30:13 299a4b15f43c weewx[25]: SocketLogger: Connected to host 192.168.x.x on port 2999
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.engine.StdTimeSynch
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.engine.StdTimeSynch
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.engine.StdConvert
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.engine.StdConvert
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.engine.StdCalibrate
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.engine.StdCalibrate
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.engine.StdQC
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.engine.StdQC
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.wxservices.StdWXCalculate
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.wxservices.StdWXCalculate
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.engine.StdArchive
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Use LOOP data in hi/low calculations: 1
May 30 21:30:13 299a4b15f43c weewx[25]: manager: Daily summary version is 1.0
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.engine.StdArchive
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.restx.StdStationRegistry
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.restx.StdStationRegistry
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.restx.StdWunderground
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.restx.StdWunderground
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.restx.StdPWSweather
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.restx.StdPWSweather
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.restx.StdCWOP
May 30 21:30:13 299a4b15f43c weewx[25]: manager: Daily summary version is 1.0
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.restx.StdCWOP
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.restx.StdWOW
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.restx.StdWOW
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.restx.StdAWEKAS
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.restx.StdAWEKAS
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.engine.StdPrint
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.engine.StdPrint
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.engine.StdReport
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.engine.StdReport
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Station does not support reading the time
May 30 21:30:13 299a4b15f43c weewx[25]: manager: Daily summary version is 1.0
May 30 21:31:16 299a4b15f43c weewx[25]: reportengine: Running reports for latest time in the database.
May 30 21:31:16 299a4b15f43c weewx[25]: reportengine: Running report StandardReport
May 30 21:31:16 299a4b15f43c weewx[25]: reportengine: Found configuration file /home/weewx/skins/Standard/skin.conf for report StandardReport
May 30 21:31:16 299a4b15f43c weewx[25]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
May 30 21:31:16 299a4b15f43c weewx[25]: manager: Daily summary version is 1.0
May 30 21:31:16 299a4b15f43c weewx[25]: restx: CWOP: Connected to server cwop.aprs.net:14580
May 30 21:31:17 299a4b15f43c weewx[25]: manager: Daily summary version is 1.0
May 30 21:31:17 299a4b15f43c weewx[25]: reportengine: Running report FTP
May 30 21:31:17 299a4b15f43c weewx[25]: reportengine: Found configuration file /home/weewx/skins/Ftp/skin.conf for report FTP
May 30 21:31:17 299a4b15f43c weewx[25]: ftpgenerator: FTP upload not requested. Skipped.
May 30 21:31:17 299a4b15f43c weewx[25]: reportengine: Running report RSYNC
May 30 21:31:17 299a4b15f43c weewx[25]: reportengine: Found configuration file /home/weewx/skins/Rsync/skin.conf for report RSYNC
May 30 21:31:17 299a4b15f43c weewx[25]: rsyncgenerator: rsync upload not requested. Skipped.
May 30 21:32:20 299a4b15f43c weewx[25]: restx: CWOP: wait interval (60 < 300) has not passed for record 2017-05-30 21:32:00 EDT (1496194320)
May 30 21:32:20 299a4b15f43c weewx[25]: reportengine: Running reports for latest time in the database.
May 30 21:32:20 299a4b15f43c weewx[25]: reportengine: Running report StandardReport
May 30 21:32:20 299a4b15f43c weewx[25]: reportengine: Found configuration file /home/weewx/skins/Standard/skin.conf for report StandardReport
May 30 21:32:20 299a4b15f43c weewx[25]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
johnny2678 commented 7 years ago

output of /var/log/syslog:

root@299a4b15f43c:/var/log# tail -f -n 1000 syslog
May 30 21:30:13 299a4b15f43c rsyslogd: [origin software="rsyslogd" swVersion="8.4.2" x-pid="20" x-info="http://www.rsyslog.com"] start
May 30 21:30:13 299a4b15f43c rsyslogd: imklog: cannot open kernel log(/proc/kmsg): Operation not permitted.
May 30 21:30:13 299a4b15f43c rsyslogd-2145: activation of module imklog failed [try http://www.rsyslog.com/e/2145 ]
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Initializing weewx version 3.7.1
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Using Python 2.7.9 (default, Jun 29 2016, 13:08:31) #012[GCC 4.9.2]
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Platform Linux-4.4.0-77-generic-x86_64-with-debian-8.7
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Locale is 'C'
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Using configuration file /home/weewx/weewx.conf
May 30 21:30:13 299a4b15f43c weewx[25]: engine: debug is 1
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Initializing engine
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading station type SocketLogger (user.socketlogger)
May 30 21:30:13 299a4b15f43c weewx[25]: SocketLogger: Connecting to socket on 192.168.x.x port 2999
May 30 21:30:13 299a4b15f43c weewx[25]: SocketLogger: Connected to host 192.168.x.x on port 2999
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.engine.StdTimeSynch
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.engine.StdTimeSynch
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.engine.StdConvert
May 30 21:30:13 299a4b15f43c weewx[25]: engine: StdConvert target unit is 0x1
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.engine.StdConvert
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.engine.StdCalibrate
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.engine.StdCalibrate
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.engine.StdQC
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.engine.StdQC
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.wxservices.StdWXCalculate
May 30 21:30:13 299a4b15f43c weewx[25]: 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
May 30 21:30:13 299a4b15f43c weewx[25]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.wxservices.StdWXCalculate
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.engine.StdArchive
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Archive will use data binding wx_binding
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Record generation will be attempted in 'hardware'
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Using archive interval of 60 seconds (specified in weewx configuration)
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Use LOOP data in hi/low calculations: 1
May 30 21:30:13 299a4b15f43c weewx[25]: manager: Daily summary version is 1.0
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
May 30 21:30:13 299a4b15f43c weewx[25]: manager: Starting backfill of daily summaries
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.engine.StdArchive
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.restx.StdStationRegistry
May 30 21:30:13 299a4b15f43c weewx[25]: restx: StationRegistry: Registration not requested.
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.restx.StdStationRegistry
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.restx.StdWunderground
May 30 21:30:13 299a4b15f43c weewx[25]: restx: Wunderground: Posting not enabled.
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.restx.StdWunderground
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.restx.StdPWSweather
May 30 21:30:13 299a4b15f43c weewx[25]: restx: PWSWeather: Data for station KFLBRADE95 will be posted
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.restx.StdPWSweather
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.restx.StdCWOP
May 30 21:30:13 299a4b15f43c weewx[25]: manager: Daily summary version is 1.0
May 30 21:30:13 299a4b15f43c weewx[25]: restx: CWOP: Data for station EW9605 will be posted
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.restx.StdCWOP
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.restx.StdWOW
May 30 21:30:13 299a4b15f43c weewx[25]: restx: WOW: Posting not enabled.
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.restx.StdWOW
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.restx.StdAWEKAS
May 30 21:30:13 299a4b15f43c weewx[25]: restx: AWEKAS: Posting not enabled.
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.restx.StdAWEKAS
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.engine.StdPrint
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.engine.StdPrint
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Loading service weewx.engine.StdReport
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Finished loading service weewx.engine.StdReport
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Starting up weewx version 3.7.1
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Station does not support reading the time
May 30 21:30:13 299a4b15f43c weewx[25]: engine: Starting main packet loop.
May 30 21:30:13 299a4b15f43c weewx[25]: manager: Daily summary version is 1.0
May 30 21:31:16 299a4b15f43c weewx[25]: manager: Added record 2017-05-30 21:31:00 EDT (1496194260) to database 'weewx.sdb'
May 30 21:31:16 299a4b15f43c weewx[25]: manager: Added record 2017-05-30 21:31:00 EDT (1496194260) to daily summary in 'weewx.sdb'
May 30 21:31:16 299a4b15f43c weewx[25]: reportengine: Running reports for latest time in the database.
May 30 21:31:16 299a4b15f43c weewx[25]: reportengine: Running report StandardReport
May 30 21:31:16 299a4b15f43c weewx[25]: reportengine: Found configuration file /home/weewx/skins/Standard/skin.conf for report StandardReport
May 30 21:31:16 299a4b15f43c weewx[25]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
May 30 21:31:16 299a4b15f43c weewx[25]: manager: Daily summary version is 1.0
May 30 21:31:16 299a4b15f43c weewx[25]: restx: PWSWeather: Published record 2017-05-30 21:31:00 EDT (1496194260)
May 30 21:31:16 299a4b15f43c weewx[25]: restx: CWOP: Connected to server cwop.aprs.net:14580
May 30 21:31:16 299a4b15f43c weewx[25]: restx: CWOP: Published record 2017-05-30 21:31:00 EDT (1496194260)
May 30 21:31:17 299a4b15f43c weewx[25]: cheetahgenerator: Generated 14 files for report StandardReport in 0.67 seconds
May 30 21:31:17 299a4b15f43c weewx[25]: manager: Daily summary version is 1.0
May 30 21:31:17 299a4b15f43c weewx[25]: imagegenerator: Generated 13 images for StandardReport in 0.17 seconds
May 30 21:31:17 299a4b15f43c weewx[25]: copygenerator: copied 14 files to /home/weewx/public_html
May 30 21:31:17 299a4b15f43c weewx[25]: reportengine: Running report FTP
May 30 21:31:17 299a4b15f43c weewx[25]: reportengine: Found configuration file /home/weewx/skins/Ftp/skin.conf for report FTP
May 30 21:31:17 299a4b15f43c weewx[25]: ftpgenerator: FTP upload not requested. Skipped.
May 30 21:31:17 299a4b15f43c weewx[25]: reportengine: Running report RSYNC
May 30 21:31:17 299a4b15f43c weewx[25]: reportengine: Found configuration file /home/weewx/skins/Rsync/skin.conf for report RSYNC
May 30 21:31:17 299a4b15f43c weewx[25]: rsyncgenerator: rsync upload not requested. Skipped.
May 30 21:32:20 299a4b15f43c weewx[25]: manager: Added record 2017-05-30 21:32:00 EDT (1496194320) to database 'weewx.sdb'
May 30 21:32:20 299a4b15f43c weewx[25]: manager: Added record 2017-05-30 21:32:00 EDT (1496194320) to daily summary in 'weewx.sdb'
May 30 21:32:20 299a4b15f43c weewx[25]: restx: CWOP: wait interval (60 < 300) h
johnny2678 commented 7 years ago

nothing needs to be added to the [DatabaseTypes] or [Services] section of the weewx.conf, right?

matthewwall commented 7 years ago

the restful_services list should contain the influx uploader. wee_extension should have done that for you.

[Services]
    ...
    restful_services = ..., user.influx.Influx
johnny2678 commented 7 years ago

BINGO - that container copies over the conf file from a host folder each time it starts up, so the wee_extension modifications were getting overwritten. I moved the conf copy operation to the Dockerfile so it retains the changes.

Thanks! I do have another issue ('BadLogin' is not defined) but I'll start a new Issue.