I think Vince pointed me to the syslog, as the log to look in.
The 'archive time period' is at the default 300 (seconds?).
I don't think the Acurite Atlas weather sensor holds any history, so I
suspect I could lower the 'archive time period' to a single digit?
I ran wee_reports and here's what appeared in the syslog:
Apr 26 21:56:32 Ubuntu20-WEEWX weewx[3583] DEBUG user.sdr: lines=[]
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.engine.StdTimeSynch
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.engine.StdTimeSynch
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.engine.StdConvert
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO weewx.engine:
StdConvert target unit is 0x1
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.engine.StdConvert
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.engine.StdCalibrate
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.engine.StdCalibrate
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.engine.StdQC
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.engine.StdQC
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.wxservices.StdWXCalculate
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.manager: Daily
summary version is 4.0
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.wxservices.StdWXCalculate
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.wxxtypes.StdWXXTypes
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.wxxtypes.StdWXXTypes
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.wxxtypes.StdPressureCooker
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.wxxtypes.StdPressureCooker
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.wxxtypes.StdRainRater
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.wxxtypes.StdRainRater
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.wxxtypes.StdDelta
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.wxxtypes.StdDelta
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.engine.StdArchive
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO weewx.engine: Archive
will use data binding wx_binding
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO weewx.engine: Record
generation will be attempted in 'hardware'
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO weewx.engine: Using
archive interval of 300 seconds (specified by hardware)
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine: Use
LOOP data in hi/low calculations: 1
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.engine.StdArchive
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.restx.StdStationRegistry
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO weewx.restx:
StationRegistry: Station will be registered.
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.restx.StdStationRegistry
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.restx.StdWunderground
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO weewx.restx:
Wunderground: Posting not enabled.
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.restx.StdWunderground
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.restx.StdPWSweather
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO weewx.restx:
PWSweather: Posting not enabled.
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.restx.StdPWSweather
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.restx.StdCWOP
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO weewx.restx: CWOP:
Posting not enabled.
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.restx.StdCWOP
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.restx.StdWOW
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO weewx.restx: WOW:
Posting not enabled.
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.restx.StdWOW
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.restx.StdAWEKAS
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO weewx.restx: AWEKAS:
Posting not enabled.
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.restx.StdAWEKAS
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.engine.StdPrint
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.engine.StdPrint
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Loading service weewx.engine.StdReport
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.engine:
Finished loading service weewx.engine.StdReport
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.manager: Daily
summary version is 4.0
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.reportengine:
Running reports for latest time in the database.
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.reportengine:
Running report 'SeasonsReport'
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.reportengine:
Found configuration file /home/weewx/skins/Seasons/skin.conf for report
'SeasonsReport'
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG
weewx.cheetahgenerator: Using search list
['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station',
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats',
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras',
'weewx.cheetahgenerator.JSONHelpers']
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.manager: Daily
summary version is 4.0
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO
weewx.cheetahgenerator: Skipping template NOAA/NOAA-%Y-%m.txt.tmpl: cannot
find start time
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO
weewx.cheetahgenerator: Skipping template NOAA/NOAA-%Y.txt.tmpl: cannot
find start time
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO
weewx.cheetahgenerator: Skipping template index.html.tmpl: cannot find
start time
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO
weewx.cheetahgenerator: Skipping template statistics.html.tmpl: cannot find
start time
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO
weewx.cheetahgenerator: Skipping template telemetry.html.tmpl: cannot find
start time
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO
weewx.cheetahgenerator: Skipping template tabular.html.tmpl: cannot find
start time
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO
weewx.cheetahgenerator: Skipping template celestial.html.tmpl: cannot find
start time
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO
weewx.cheetahgenerator: Skipping template rss.xml.tmpl: cannot find start
time
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] INFO
weewx.cheetahgenerator: Generated 0 files for report SeasonsReport in 0.01
seconds
Apr 26 21:56:34 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.manager: Daily
summary version is 4.0
Apr 26 21:56:35 Ubuntu20-WEEWX weewx[3583] DEBUG user.sdr: lines=[]
Apr 26 21:56:36 Ubuntu20-WEEWX wee_reports[4071] INFO weewx.imagegenerator:
Generated 60 images for report SeasonsReport in 1.86 seconds
Apr 26 21:56:36 Ubuntu20-WEEWX wee_reports[4071] INFO weewx.reportengine:
Copied 5 files to /home/weewx/public_html
Apr 26 21:56:36 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.reportengine:
Report 'SmartphoneReport' not enabled. Skipping.
Apr 26 21:56:36 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.reportengine:
Report 'MobileReport' not enabled. Skipping.
Apr 26 21:56:36 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.reportengine:
Report 'StandardReport' not enabled. Skipping.
Apr 26 21:56:36 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.reportengine:
Report 'FTP' not enabled. Skipping.
Apr 26 21:56:36 Ubuntu20-WEEWX wee_reports[4071] DEBUG weewx.reportengine:
Report 'RSYNC' not enabled. Skipping.
Apr 26 21:56:40 Ubuntu20-WEEWX weewx[3583] DEBUG user.sdr: lines=['{"time"
: "2021-04-27 02:56:36", "model" : "Acurite-Atlas", "id" : 17, "channel" :
"A", "sequence_num" : 0, "battery_ok" : 1, "message_type" : 38,
"wind_avg_mi_h" : 0.000, "wind_dir_deg" : 197.000, "rain_in" : 0.130,
"strike_count" : 2, "strike_distance" : 8, "exception" : 0, "raw_msg" :
"c011660006148d004826"}\n', '{"time" : "2021-04-27 02:56:36", "model" :
"Acurite-Atlas", "id" : 17, "channel" : "A", "sequence_num" : 1,
"battery_ok" : 1, "message_type" : 38, "wind_avg_mi_h" : 0.000,
"wind_dir_deg" : 197.000, "rain_in" : 0.130,
On Monday, April 26, 2021 at 9:54:06 PM UTC-5 Eric Koester wrote:
> I'm not sure where the log file is. In /var/log/syslog?
> Here's the relevant section of the weewx.conf file:
>
> ##############################################################################
>
> # 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
>
> # Whether to log successful operations
> log_success = True
>
> # Whether to log unsuccessful operations
> log_failure = True
>
> # 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 = 4.5.1
>
>
> ##############################################################################
>
> On Monday, April 26, 2021 at 9:43:05 PM UTC-5 [email protected] wrote:
>
>> Where does the log file say the files are being copied to?
>> Where does weewx.conf have for HTML_ROOT ?
>>
>> On Mon, Apr 26, 2021 at 7:35 PM Eric Koester <[email protected]> wrote:
>>
>>> I removed the init.d related files and copied the systemd files as you
>>> demonstrated.
>>> I can see the signs of it working:
>>> - the pid file '/var/run/weewx.pid' exists
>>> - after running this command 'sudo tail -f /var/log/syslog' I see
>>> weather station data being recieved every 10 seconds
>>> - the database file /home/weewx/archive/weewx.sdb got accessed when I
>>> entered 'sudo systemctl start weewx'
>>>
>>> However, there is still no index.html file in the
>>> /home/weewx/public_html directory.
>>>
>>> What other files and processes should I be seeing?
>>> On Monday, April 26, 2021 at 8:32:24 PM UTC-5 Eric Koester wrote:
>>>
>>>> I am willing to try switching to the systemd method.
>>>> It would still be nice to know why the publishes instructions for
>>>> init.d startup method did not work, as expected.
>>>>
>>>> I've been using various Debian Linux systems at home since 2007, and
>>>> using init.d and update-rc.d commands to autostart software the whole time.
>>>> This is the first time I've seen it fail to work, and that's the reason
>>>> for the posting.
>>>> After following the published instructions, I'm trying to understand
>>>> what has gone wrong,
>>>>
>>>> Earlier, I was trying to troubleshoot the startup problem by pointing
>>>> out what was working and what wasn't working.
>>>> What can be done to troubleshoot?
>>>> Thanks.
>>>> On Saturday, April 24, 2021 at 4:24:37 PM UTC-5 vince wrote:
>>>>
>>>>> On Saturday, April 24, 2021 at 2:06:20 PM UTC-7 [email protected]
>>>>> wrote:
>>>>>
>>>>>> In the 2nd line of my first post, I gave the link to the directions I
>>>>>> followed.
>>>>>> Here's that link, again: https://weewx.com/docs/setup.htm
>>>>>>
>>>>>> Section 4 tells Debian users to enter a bunch of init.d commands:
>>>>>>
>>>>>> *cd /home/weewx*
>>>>>> *sudo cp util/init.d/weewx.debian /etc/init.d/weewx*
>>>>>> *sudo chmod +x /etc/init.d/weewx*
>>>>>> *sudo update-rc.d weewx defaults 98*
>>>>>> *sudo /etc/init.d/weewx start*
>>>>>>
>>>>>> Those are wrong and outdated?
>>>>>>
>>>>> If so, the install instruction page needs to be updated!
>>>>>>
>>>>>
>>>>> Not a bug.
>>>>> This comes up frequently.
>>>>>
>>>>> Weewx supports many operating systems and versions, including some old
>>>>> ones that do not have systemd.
>>>>> Fortunately the newer os versions support both init.d 'and' systemd
>>>>> ways of getting there.
>>>>>
>>>>> So on a modern ubuntu/debian/centos you can use either the legacy
>>>>> init.d way or the newer systemd way.
>>>>> Your choice.
>>>>>
>>>>> FWIW, It is assumed that people who use setup.py have the
>>>>> skills/experience to hook weewx into the startup sequence in the way
>>>>> 'they'
>>>>> want, and know how to do that. If you want more of a one-command
>>>>> shrink-wrapped kind of installer that does everything for you, you should
>>>>> use the pre-packaged variant of weewx.
>>>>>
>>>>>
>>>>> --
>>> 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 on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/a6d73a65-e05b-4a4c-ad07-c75384737972n%40googlegroups.com
>>>
>>> <https://groups.google.com/d/msgid/weewx-user/a6d73a65-e05b-4a4c-ad07-c75384737972n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> --
>> Peter Quinn
>> (415)794-2264 <(415)%20794-2264>
>>
>
--
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 on the web visit
https://groups.google.com/d/msgid/weewx-user/35cc73db-4f48-4fd0-a506-70ae33d370bfn%40googlegroups.com.