Thanks Gary.  Frustration took over my fingers, as usual.  In essence, 
Apache wasn't aware of the conf.d config.  In one section for Apache 
installations, it says to create a weewx.conf file at 
/etc/apache2/conf.d/weewx.conf.  conf.d is not a directory so that step 
fails.

I ended up creating a sym link shown below to get [ip address]/weewx to 
show a page
 sudo ln -s /home/weewx/public_html /var/www/html/weewx

Now a page is shown and it stays static.  It says it's 12:30 whereas it was 
only 8:45am here in Chicago.  See below

Mar 11 08:49:40 weather weewx[1067]: vantage: Getting archive packets since 
2020-03-11 12:30:00 CDT (1583947800)
Mar 11 08:49:40 weather weewx[1067]: vantage: Gentle wake up of console 
successful
Mar 11 08:49:41 weather weewx[1067]: vantage: Retrieving 1 page(s); 
starting index= 3
Mar 11 08:49:42 weather weewx[1067]: vantage: DMPAFT complete: page 
timestamp 2020-03-11 08:00:00 CDT (1583931600) less than final timestamp 
2020-03-11 12:30:00 CDT (1583947800)
Mar 11 08:49:42 weather weewx[1067]: vantage: Catch up complete.
Mar 11 08:49:42 weather weewx[1067]: engine: Starting main packet loop.
Mar 11 08:49:42 weather weewx[1067]: vantage: Gentle wake up of console 
successful
Mar 11 08:49:43 weather weewx[1067]: vantage: Requesting 200 LOOP packets.
Mar 11 08:49:43 weather weewx[1067]: vantage: Gentle wake up of console 
successful
Mar 11 08:49:43 weather systemd[1]: Started Session 3 of user sparsons.
Mar 11 08:50:04 weather systemd-timesyncd[555]: Synchronized to time server 
91.189.91.157:123 (ntp.ubuntu.com).

The system time was accurate even before the sync of NTP showing on last 
line above.  Now, the webpage does not update at all.  During the time to 
write this, these next two lines show up in the tail of syslog.  I'm using 
a David Pro2 tied to a Meteobridge via serial and am accessing that via IP 
address using the vantage driver which will auto-hit port 22222 (even REM'd 
that port line out of .conf file as some folks have suggested).

Mar 11 08:56:19 weather weewx[1067]: vantage: Requesting 200 LOOP packets.
Mar 11 08:56:19 weather weewx[1067]: vantage: Gentle wake up of console 
successful

Webpage still shows 12:30 and no statistics have updated.  Temp still the 
same, etc...reading more, I'm unsure if using meteobridge in this fashion 
will ever work.

Syslog Tail now shows:

Mar 11 08:56:19 weather weewx[1067]: vantage: Requesting 200 LOOP packets.
Mar 11 08:56:19 weather weewx[1067]: vantage: Gentle wake up of console 
successful
Mar 11 09:00:15 weather weewx[1067]: vantage: Getting archive packets since 
2020-03-11 12:30:00 CDT (1583947800)
Mar 11 09:00:15 weather weewx[1067]: vantage: Gentle wake up of console 
successful
Mar 11 09:00:16 weather weewx[1067]: vantage: Retrieving 2 page(s); 
starting index= 3
Mar 11 09:00:17 weather weewx[1067]: vantage: DMPAFT complete: page 
timestamp 2020-03-11 08:00:00 CDT (1583931600) less than final timestamp 
2020-03-11 12:30:00 CDT (1583947800)
Mar 11 09:00:17 weather weewx[1067]: vantage: Catch up complete.
Mar 11 09:00:17 weather weewx[1067]: vantage: Requesting 200 LOOP packets.
Mar 11 09:00:17 weather weewx[1067]: reportengine: Running reports for 
latest time in the database.
Mar 11 09:00:17 weather weewx[1067]: reportengine: Running report 
'SeasonsReport'
Mar 11 09:00:17 weather weewx[1067]: reportengine: Found configuration file 
/home/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Mar 11 09:00:17 weather weewx[1067]: cheetahgenerator: using search list 
['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
Mar 11 09:00:17 weather weewx[1067]: manager: Daily summary version is 2.0
Mar 11 09:00:17 weather weewx[1067]: vantage: Gentle wake up of console 
successful
Mar 11 09:00:18 weather weewx[1067]: cheetahgenerator: Generated 8 files 
for report SeasonsReport in 0.62 seconds
Mar 11 09:00:18 weather weewx[1067]: manager: Daily summary version is 2.0
Mar 11 09:00:18 weather weewx[1067]: imagegenerator: Generated 42 images 
for SeasonsReport in 0.60 seconds
Mar 11 09:00:18 weather weewx[1067]: copygenerator: copied 5 files to 
/home/weewx/public_html
Mar 11 09:00:18 weather weewx[1067]: reportengine: Report 
'SmartphoneReport' not enabled. Skipping.
Mar 11 09:00:18 weather weewx[1067]: reportengine: Report 'MobileReport' 
not enabled. Skipping.
Mar 11 09:00:18 weather weewx[1067]: reportengine: Report 'StandardReport' 
not enabled. Skipping.
Mar 11 09:00:18 weather weewx[1067]: reportengine: Report 'FTP' not 
enabled. Skipping.
Mar 11 09:00:18 weather weewx[1067]: reportengine: Report 'RSYNC' not 
enabled. Skipping.

So the service is running correctly, but webpage still shows 12:30, same 
time/temp/wind/bar, etc....as if page is not updating.  Any thoughts?  
Maybe a permissions issue?






On Wednesday, March 11, 2020 at 2:37:17 AM UTC-5, gjr80 wrote:
>
> Hi,
>
> I thought for a while about how I might respond to your post and then I 
> thought, this is a good question. Other than upgrading, my on-line WeeWX 
> install (setup.py) has not been touched for years; when i want to test 
> something on WeeWX I create a VirtualBox VM, install the latest Debian and 
> run a short script I have that installs WeeWX via setup.py, so I seldom 
> look at the instructions.
>
> So just now I downloaded the latest Debian net ISO and installed on a 
> VirtualBox VM. When asked if I wanted a web server installed I checked the 
> box. VM created and Debian running.
>
> Next I went to the WeeWX User's Guide 
> <http://weewx.com/docs/usersguide.htm>, specifically the Installing WeeWX 
> page <http://weewx.com/docs/usersguide.htm#installing> and then selected 
> the link Installing from DEB package <http://weewx.com/docs/debian.htm>. 
> I followed the Configure apt, Install and Status instructions on this 
> page selecting simulator as the weather station. All worked, no problems. 
> WeeWX is running.
>
> Then I went back to the WeeWX User's Guide and went to the Integrating 
> with a web server page 
> <http://weewx.com/docs/usersguide.htm#integrating_with_webserver>. I 
> skipped step 1 as Apache2 was installed as part of my Debian install. Step 
> 2 told me that since I had installed from a DEB package I should not have 
> to do a thing to setup Apache. So I opened a browser on another computer on 
> my network, entered the IP address of my newly installed WeeWX machine 
> followed by /weewx (ie w.x.y.z/weewx) and straight way up came my WeeWX 
> page with data and plots. It was timestamped 15:35. I waited 5 minutes and 
> refreshed the page and now had data timestamped 15:40.
>
> Great, clearly everything is working, and no need to do anything with 
> Apache, not even type its name anywhere. You mentioned Ubuntu and I 
> installed on Debian, granted Debian is not Ubuntu but I think the lineage 
> is pretty close. Notwithstanding, I took the time to download the Ubuntu 
> 18.04 netinst ISO and installed on a new VM, though noticeably I was not 
> asked about installing a web server (perhaps my fault, Ubuntu is not my 
> distro of choice so not that familiar with the vagaries of Ubuntu). I then 
> followed the exact same WeeWX install instructions as for my Debian VM 
> though this time I needed to follow step 1 of the Integrating with a web 
> server page 
> <http://weewx.com/docs/usersguide.htm#integrating_with_webserver> and 
> install Apache2. It was a straight up Apache2 install with no config needed 
> on my behalf.  When I went to the address for the Ubuntu VM (with /weewx 
> appended) in my browser up came the WeeWX page with current data and plots, 
> five minutes later and a refresh showed updated data and plots.
>
> So getting back to your question, you should find the necessary 
> instructions in the links above. If Apache is on your WeeWX machine you 
> need do nothing to configure Apache/WeeWX.Might I suggest that if you are 
> having specific problems either configuring WeeWX to operate with your 
> station, getting WeeWX to run in general or work with your web server you 
> provide a little more detail rather than 'it doesn't work'.
>
> Gary
>  
>
> On Wednesday, 11 March 2020 12:47:34 UTC+10, Parsoli 69 wrote:
>>
>> Just amazed.  I've built many websites from template from many folks.  
>> Whether that's Meteotemplate, Weather26, or many others.  Setup linux 
>> ubuntu or redhat myself following instructions by these developers and 
>> always had a functional website, IF, I followed the instructions.
>>
>> I've built 4 virtual servers on Ubuntu using the multiple DIFFERENT 
>> instructional sets from weewx whether that's using the DEB installation 
>> method of the Python installation script method.  Can't get one to function 
>> properly without having to go hard core into Apache is make changes on what 
>> path is serving up web pages. I can get close and get a webpage to show, 
>> but it will be a snapshot in time.  wont' update, even setting up init.d, 
>> etc.....
>>
>> I have read other posts here about people complaining about too many 
>> instructions and nothing working 100% if you follow any of them.  Any 
>> suggestions on a solid installation method/resource?  Whether that's 
>> following a .deb install, python or whatever?  This stuff it pretty 
>> simple.  You either cut it into a "from scratch" method or a 'adding a new 
>> service for weewx to an existing webserver".  At least in my mind.
>>
>> Thanks in advance for any direction
>>
>> Steve
>>
>

-- 
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/c23ba9b5-6983-4a00-8b6f-9eb56a837994%40googlegroups.com.

Reply via email to