Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2020-07-18 Thread Greg from Oz
WOW..I MUST be an expert hhaha.
Glad it works.
I don't have raspberry but I took that code from my Ubuntu server, so I 
guess it would work.
I run proxmox and 5 virtual machines on a Dell  r210 ii and it only draws 
35 watts.


On Sunday, 19 July 2020 at 00:38:13 UTC+10 Michael Grossie wrote:

> Greg - works like a charm - thanks for the advice and for explaining -
>
>  
>  
> Michael H Grossie
> mhgr...@sbcglobal.net
>
>
> On Sat, Jul 18, 2020 at 5:55 AM Greg from Oz  wrote:
>
>> Maybe if you create a weewx.conf file in /etc/apache2/sites-available and 
>> call it weewx.conf
>>
>> Put this in the file:
>>
>> Alias /weewx "/home/weewx/public_html"
>> 
>> Options Indexes MultiViews
>> AllowOverride None
>> Order allow,deny
>> Allow from all
>> Require all granted
>> 
>>
>> Save the file.
>>
>>  Then run sudo a2ensite weewx.conf   (this enables the site)
>>
>> Then reload apache
>>
>> Then go to http://localhost/weewx
>>
>> I am not an expert either and don't have a raspbaerry pi running apache.
>>
>> Good luck. I don't guarantee this will work but hey! you never know. 
>>
>>
>> On Saturday, 18 July 2020 at 12:33:05 UTC+10 Michael Grossie wrote:
>>
>>> I have found the index.html file in /home/weewx/public_html. I still 
>>> cannot access it with http://localhost/weewx - I need to use the full 
>>> path - but I can get to it and it does show data.
>>>  
>>> Michael H Grossie
>>> mhgr...@sbcglobal.net
>>>
>>>
>>> On Mon, Jul 13, 2020 at 12:49 PM Michael Grossie  
>>> wrote:
>>>
 Installed sqlitebrowser. Opened weewx.sdb and did see records had been 
 created. So, why does it not write to "weewx/public_html?"
  
  
 Michael H Grossie
 mhgr...@sbcglobal.net


 On Mon, Jul 13, 2020 at 12:30 PM Michael Grossie  
 wrote:

> After reloading cheetah, I rebooted, started weewx and apache2. I 
> opened a browser and went to http://localhost/weewx (as directed in 
> the User Guide) and received the 404 page not found error.
>
> I then ran "sudo /etc/init.d/weewx status -l"  and received -
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *pi@raspberrypi:/home/weewx $ sudo /etc/init.d/weewx status -l● 
> weewx.service - LSB: weewx weather system   Loaded: loaded 
> (/etc/init.d/weewx; generated; vendor preset: enabled)   Active: active 
> (running) since Mon 2020-07-13 12:03:01 CDT; 18min ago Docs: 
> man:systemd-sysv-generator(8)  Process: 281 ExecStart=/etc/init.d/weewx 
> start (code=exited, status=0/SUCCESS)Tasks: 2 (limit: 4915)   CGroup: 
> /system.slice/weewx.service   └─497 /usr/bin/python2 
> /home/weewx/bin/weewxd --daemon --pidfile=/var/run/weewx.pid 
> /home/weewx/weewx.confJul 13 12:15:16 raspberrypi weewxd[497]: weewx[497] 
> INFO weewx.manager: Added record 2020-07-13 12:15:00 CDT (1594660500) to 
> database 'weewx.sdb'Jul 13 12:15:16 raspberrypi weewxd[497]: weewx[497] 
> INFO weewx.manager: Added record 2020-07-13 12:15:00 CDT (1594660500) to 
> daily summary …weewx.sdb'Jul 13 12:15:21 raspberrypi weewxd[497]: 
> weewx[497] INFO weewx.cheetahgenerator: Generated 8 files for report 
> SeasonsReport in 3.39 secondsJul 13 12:15:25 raspberrypi weewxd[497]: 
> weewx[497] INFO weewx.imagegenerator: Generated 15 images for report 
> SeasonsReport in 3.65 secondsJul 13 12:15:25 raspberrypi weewxd[497]: 
> weewx[497] INFO weewx.reportengine: Copied 0 files to 
> /home/weewx/public_htmlJul 13 12:20:16 raspberrypi weewxd[497]: 
> weewx[497] 
> INFO weewx.manager: Added record 2020-07-13 12:20:00 CDT (1594660800) to 
> database 'weewx.sdb'Jul 13 12:20:16 raspberrypi weewxd[497]: weewx[497] 
> INFO weewx.manager: Added record 2020-07-13 12:20:00 CDT (1594660800) to 
> daily summary …weewx.sdb'Jul 13 12:20:21 raspberrypi weewxd[497]: 
> weewx[497] INFO weewx.cheetahgenerator: Generated 8 files for report 
> SeasonsReport in 3.79 secondsJul 13 12:20:34 raspberrypi weewxd[497]: 
> weewx[497] INFO weewx.imagegenerator: Generated 30 images for report 
> SeasonsReport in 12.33 secondsJul 13 12:20:34 raspberrypi weewxd[497]: 
> weewx[497] INFO weewx.reportengine: Copied 0 files to 
> /home/weewx/public_htmlHint: Some lines were ellipsized, use -l to show 
> in 
> full.*
>  
> Now I see that records were added and reports generated, but nothing 
> transferred to /home/weewx/public_html
> I am still missing something - I don't know if I have a program 
> installed to view the contents of weewx.sdb
> Michael H Grossie
> mhgr...@sbcglobal.net
>
>
> On Mon, Jul 13, 2020 at 11:53 AM Michael Grossie <
> mhgr...@sbcglobal.net> wrote:
>
>> In trying to find folders and files are at, they are all in the 
>> proper places (based on the list in the User 

Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2020-07-18 Thread Michael Grossie
Greg - works like a charm - thanks for the advice and for explaining -



Michael H Grossie
mhgros...@sbcglobal.net


On Sat, Jul 18, 2020 at 5:55 AM Greg from Oz  wrote:

> Maybe if you create a weewx.conf file in /etc/apache2/sites-available and
> call it weewx.conf
>
> Put this in the file:
>
> Alias /weewx "/home/weewx/public_html"
> 
> Options Indexes MultiViews
> AllowOverride None
> Order allow,deny
> Allow from all
> Require all granted
> 
>
> Save the file.
>
>  Then run sudo a2ensite weewx.conf   (this enables the site)
>
> Then reload apache
>
> Then go to http://localhost/weewx
>
> I am not an expert either and don't have a raspbaerry pi running apache.
>
> Good luck. I don't guarantee this will work but hey! you never know.
>
>
> On Saturday, 18 July 2020 at 12:33:05 UTC+10 Michael Grossie wrote:
>
>> I have found the index.html file in /home/weewx/public_html. I still
>> cannot access it with http://localhost/weewx - I need to use the full
>> path - but I can get to it and it does show data.
>>
>> Michael H Grossie
>> mhgr...@sbcglobal.net
>>
>>
>> On Mon, Jul 13, 2020 at 12:49 PM Michael Grossie 
>> wrote:
>>
>>> Installed sqlitebrowser. Opened weewx.sdb and did see records had been
>>> created. So, why does it not write to "weewx/public_html?"
>>>
>>>
>>> Michael H Grossie
>>> mhgr...@sbcglobal.net
>>>
>>>
>>> On Mon, Jul 13, 2020 at 12:30 PM Michael Grossie 
>>> wrote:
>>>
 After reloading cheetah, I rebooted, started weewx and apache2. I
 opened a browser and went to http://localhost/weewx (as directed in
 the User Guide) and received the 404 page not found error.

 I then ran "sudo /etc/init.d/weewx status -l"  and received -




















 *pi@raspberrypi:/home/weewx $ sudo /etc/init.d/weewx status -l●
 weewx.service - LSB: weewx weather system   Loaded: loaded
 (/etc/init.d/weewx; generated; vendor preset: enabled)   Active: active
 (running) since Mon 2020-07-13 12:03:01 CDT; 18min ago Docs:
 man:systemd-sysv-generator(8)  Process: 281 ExecStart=/etc/init.d/weewx
 start (code=exited, status=0/SUCCESS)Tasks: 2 (limit: 4915)   CGroup:
 /system.slice/weewx.service   └─497 /usr/bin/python2
 /home/weewx/bin/weewxd --daemon --pidfile=/var/run/weewx.pid
 /home/weewx/weewx.confJul 13 12:15:16 raspberrypi weewxd[497]: weewx[497]
 INFO weewx.manager: Added record 2020-07-13 12:15:00 CDT (1594660500) to
 database 'weewx.sdb'Jul 13 12:15:16 raspberrypi weewxd[497]: weewx[497]
 INFO weewx.manager: Added record 2020-07-13 12:15:00 CDT (1594660500) to
 daily summary …weewx.sdb'Jul 13 12:15:21 raspberrypi weewxd[497]:
 weewx[497] INFO weewx.cheetahgenerator: Generated 8 files for report
 SeasonsReport in 3.39 secondsJul 13 12:15:25 raspberrypi weewxd[497]:
 weewx[497] INFO weewx.imagegenerator: Generated 15 images for report
 SeasonsReport in 3.65 secondsJul 13 12:15:25 raspberrypi weewxd[497]:
 weewx[497] INFO weewx.reportengine: Copied 0 files to
 /home/weewx/public_htmlJul 13 12:20:16 raspberrypi weewxd[497]: weewx[497]
 INFO weewx.manager: Added record 2020-07-13 12:20:00 CDT (1594660800) to
 database 'weewx.sdb'Jul 13 12:20:16 raspberrypi weewxd[497]: weewx[497]
 INFO weewx.manager: Added record 2020-07-13 12:20:00 CDT (1594660800) to
 daily summary …weewx.sdb'Jul 13 12:20:21 raspberrypi weewxd[497]:
 weewx[497] INFO weewx.cheetahgenerator: Generated 8 files for report
 SeasonsReport in 3.79 secondsJul 13 12:20:34 raspberrypi weewxd[497]:
 weewx[497] INFO weewx.imagegenerator: Generated 30 images for report
 SeasonsReport in 12.33 secondsJul 13 12:20:34 raspberrypi weewxd[497]:
 weewx[497] INFO weewx.reportengine: Copied 0 files to
 /home/weewx/public_htmlHint: Some lines were ellipsized, use -l to show in
 full.*

 Now I see that records were added and reports generated, but nothing
 transferred to /home/weewx/public_html
 I am still missing something - I don't know if I have a program
 installed to view the contents of weewx.sdb
 Michael H Grossie
 mhgr...@sbcglobal.net


 On Mon, Jul 13, 2020 at 11:53 AM Michael Grossie 
 wrote:

> In trying to find folders and files are at, they are all in the proper
> places (based on the list in the User Guide) - I ran
> "sudo /etc/init.d/weewx status -l" from the /home/weewx directory.  I
> received the following -
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *pi@raspberrypi:/home/weewx $ sudo /etc/init.d/weewx status -ls●
> weewx.service - LSB: weewx weather system   Loaded: loaded
> (/etc/init.d/weewx; generated; vendor preset: enabled)   Active: active
> (running) since Mon 2020-07-13 11:10:24 CDT; 28min ago 

Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2020-07-18 Thread Greg from Oz
Maybe if you create a weewx.conf file in /etc/apache2/sites-available and 
call it weewx.conf

Put this in the file:

Alias /weewx "/home/weewx/public_html"

Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
Require all granted


Save the file.

 Then run sudo a2ensite weewx.conf   (this enables the site)

Then reload apache

Then go to http://localhost/weewx

I am not an expert either and don't have a raspbaerry pi running apache.

Good luck. I don't guarantee this will work but hey! you never know. 


On Saturday, 18 July 2020 at 12:33:05 UTC+10 Michael Grossie wrote:

> I have found the index.html file in /home/weewx/public_html. I still 
> cannot access it with http://localhost/weewx - I need to use the full 
> path - but I can get to it and it does show data.
>  
> Michael H Grossie
> mhgr...@sbcglobal.net
>
>
> On Mon, Jul 13, 2020 at 12:49 PM Michael Grossie  
> wrote:
>
>> Installed sqlitebrowser. Opened weewx.sdb and did see records had been 
>> created. So, why does it not write to "weewx/public_html?"
>>  
>>  
>> Michael H Grossie
>> mhgr...@sbcglobal.net
>>
>>
>> On Mon, Jul 13, 2020 at 12:30 PM Michael Grossie  
>> wrote:
>>
>>> After reloading cheetah, I rebooted, started weewx and apache2. I opened 
>>> a browser and went to http://localhost/weewx (as directed in the User 
>>> Guide) and received the 404 page not found error.
>>>
>>> I then ran "sudo /etc/init.d/weewx status -l"  and received -
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *pi@raspberrypi:/home/weewx $ sudo /etc/init.d/weewx status -l● 
>>> weewx.service - LSB: weewx weather system   Loaded: loaded 
>>> (/etc/init.d/weewx; generated; vendor preset: enabled)   Active: active 
>>> (running) since Mon 2020-07-13 12:03:01 CDT; 18min ago Docs: 
>>> man:systemd-sysv-generator(8)  Process: 281 ExecStart=/etc/init.d/weewx 
>>> start (code=exited, status=0/SUCCESS)Tasks: 2 (limit: 4915)   CGroup: 
>>> /system.slice/weewx.service   └─497 /usr/bin/python2 
>>> /home/weewx/bin/weewxd --daemon --pidfile=/var/run/weewx.pid 
>>> /home/weewx/weewx.confJul 13 12:15:16 raspberrypi weewxd[497]: weewx[497] 
>>> INFO weewx.manager: Added record 2020-07-13 12:15:00 CDT (1594660500) to 
>>> database 'weewx.sdb'Jul 13 12:15:16 raspberrypi weewxd[497]: weewx[497] 
>>> INFO weewx.manager: Added record 2020-07-13 12:15:00 CDT (1594660500) to 
>>> daily summary …weewx.sdb'Jul 13 12:15:21 raspberrypi weewxd[497]: 
>>> weewx[497] INFO weewx.cheetahgenerator: Generated 8 files for report 
>>> SeasonsReport in 3.39 secondsJul 13 12:15:25 raspberrypi weewxd[497]: 
>>> weewx[497] INFO weewx.imagegenerator: Generated 15 images for report 
>>> SeasonsReport in 3.65 secondsJul 13 12:15:25 raspberrypi weewxd[497]: 
>>> weewx[497] INFO weewx.reportengine: Copied 0 files to 
>>> /home/weewx/public_htmlJul 13 12:20:16 raspberrypi weewxd[497]: weewx[497] 
>>> INFO weewx.manager: Added record 2020-07-13 12:20:00 CDT (1594660800) to 
>>> database 'weewx.sdb'Jul 13 12:20:16 raspberrypi weewxd[497]: weewx[497] 
>>> INFO weewx.manager: Added record 2020-07-13 12:20:00 CDT (1594660800) to 
>>> daily summary …weewx.sdb'Jul 13 12:20:21 raspberrypi weewxd[497]: 
>>> weewx[497] INFO weewx.cheetahgenerator: Generated 8 files for report 
>>> SeasonsReport in 3.79 secondsJul 13 12:20:34 raspberrypi weewxd[497]: 
>>> weewx[497] INFO weewx.imagegenerator: Generated 30 images for report 
>>> SeasonsReport in 12.33 secondsJul 13 12:20:34 raspberrypi weewxd[497]: 
>>> weewx[497] INFO weewx.reportengine: Copied 0 files to 
>>> /home/weewx/public_htmlHint: Some lines were ellipsized, use -l to show in 
>>> full.*
>>>  
>>> Now I see that records were added and reports generated, but nothing 
>>> transferred to /home/weewx/public_html
>>> I am still missing something - I don't know if I have a program 
>>> installed to view the contents of weewx.sdb
>>> Michael H Grossie
>>> mhgr...@sbcglobal.net
>>>
>>>
>>> On Mon, Jul 13, 2020 at 11:53 AM Michael Grossie  
>>> wrote:
>>>
 In trying to find folders and files are at, they are all in the proper 
 places (based on the list in the User Guide) - I ran 
 "sudo /etc/init.d/weewx status -l" from the /home/weewx directory.  I 
 received the following -




















 *pi@raspberrypi:/home/weewx $ sudo /etc/init.d/weewx status -ls● 
 weewx.service - LSB: weewx weather system   Loaded: loaded 
 (/etc/init.d/weewx; generated; vendor preset: enabled)   Active: active 
 (running) since Mon 2020-07-13 11:10:24 CDT; 28min ago Docs: 
 man:systemd-sysv-generator(8)  Process: 281 ExecStart=/etc/init.d/weewx 
 start (code=exited, status=0/SUCCESS)Tasks: 2 (limit: 4915)   CGroup: 
 /system.slice/weewx.service   └─558 /usr/bin/python2 
 /home/weewx/bin/weewxd --daemon 

Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2020-07-17 Thread Michael Grossie
I have found the index.html file in /home/weewx/public_html. I still cannot
access it with http://localhost/weewx - I need to use the full path - but I
can get to it and it does show data.

Michael H Grossie
mhgros...@sbcglobal.net


On Mon, Jul 13, 2020 at 12:49 PM Michael Grossie 
wrote:

> Installed sqlitebrowser. Opened weewx.sdb and did see records had been
> created. So, why does it not write to "weewx/public_html?"
>
>
> Michael H Grossie
> mhgros...@sbcglobal.net
>
>
> On Mon, Jul 13, 2020 at 12:30 PM Michael Grossie 
> wrote:
>
>> After reloading cheetah, I rebooted, started weewx and apache2. I opened
>> a browser and went to http://localhost/weewx (as directed in the User
>> Guide) and received the 404 page not found error.
>>
>> I then ran "sudo /etc/init.d/weewx status -l"  and received -
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *pi@raspberrypi:/home/weewx $ sudo /etc/init.d/weewx status -l●
>> weewx.service - LSB: weewx weather system   Loaded: loaded
>> (/etc/init.d/weewx; generated; vendor preset: enabled)   Active: active
>> (running) since Mon 2020-07-13 12:03:01 CDT; 18min ago Docs:
>> man:systemd-sysv-generator(8)  Process: 281 ExecStart=/etc/init.d/weewx
>> start (code=exited, status=0/SUCCESS)Tasks: 2 (limit: 4915)   CGroup:
>> /system.slice/weewx.service   └─497 /usr/bin/python2
>> /home/weewx/bin/weewxd --daemon --pidfile=/var/run/weewx.pid
>> /home/weewx/weewx.confJul 13 12:15:16 raspberrypi weewxd[497]: weewx[497]
>> INFO weewx.manager: Added record 2020-07-13 12:15:00 CDT (1594660500) to
>> database 'weewx.sdb'Jul 13 12:15:16 raspberrypi weewxd[497]: weewx[497]
>> INFO weewx.manager: Added record 2020-07-13 12:15:00 CDT (1594660500) to
>> daily summary …weewx.sdb'Jul 13 12:15:21 raspberrypi weewxd[497]:
>> weewx[497] INFO weewx.cheetahgenerator: Generated 8 files for report
>> SeasonsReport in 3.39 secondsJul 13 12:15:25 raspberrypi weewxd[497]:
>> weewx[497] INFO weewx.imagegenerator: Generated 15 images for report
>> SeasonsReport in 3.65 secondsJul 13 12:15:25 raspberrypi weewxd[497]:
>> weewx[497] INFO weewx.reportengine: Copied 0 files to
>> /home/weewx/public_htmlJul 13 12:20:16 raspberrypi weewxd[497]: weewx[497]
>> INFO weewx.manager: Added record 2020-07-13 12:20:00 CDT (1594660800) to
>> database 'weewx.sdb'Jul 13 12:20:16 raspberrypi weewxd[497]: weewx[497]
>> INFO weewx.manager: Added record 2020-07-13 12:20:00 CDT (1594660800) to
>> daily summary …weewx.sdb'Jul 13 12:20:21 raspberrypi weewxd[497]:
>> weewx[497] INFO weewx.cheetahgenerator: Generated 8 files for report
>> SeasonsReport in 3.79 secondsJul 13 12:20:34 raspberrypi weewxd[497]:
>> weewx[497] INFO weewx.imagegenerator: Generated 30 images for report
>> SeasonsReport in 12.33 secondsJul 13 12:20:34 raspberrypi weewxd[497]:
>> weewx[497] INFO weewx.reportengine: Copied 0 files to
>> /home/weewx/public_htmlHint: Some lines were ellipsized, use -l to show in
>> full.*
>>
>> Now I see that records were added and reports generated, but nothing
>> transferred to /home/weewx/public_html
>> I am still missing something - I don't know if I have a program installed
>> to view the contents of weewx.sdb
>> Michael H Grossie
>> mhgros...@sbcglobal.net
>>
>>
>> On Mon, Jul 13, 2020 at 11:53 AM Michael Grossie 
>> wrote:
>>
>>> In trying to find folders and files are at, they are all in the proper
>>> places (based on the list in the User Guide) - I ran
>>> "sudo /etc/init.d/weewx status -l" from the /home/weewx directory.  I
>>> received the following -
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *pi@raspberrypi:/home/weewx $ sudo /etc/init.d/weewx status -ls●
>>> weewx.service - LSB: weewx weather system   Loaded: loaded
>>> (/etc/init.d/weewx; generated; vendor preset: enabled)   Active: active
>>> (running) since Mon 2020-07-13 11:10:24 CDT; 28min ago Docs:
>>> man:systemd-sysv-generator(8)  Process: 281 ExecStart=/etc/init.d/weewx
>>> start (code=exited, status=0/SUCCESS)Tasks: 2 (limit: 4915)   CGroup:
>>> /system.slice/weewx.service   └─558 /usr/bin/python2
>>> /home/weewx/bin/weewxd --daemon --pidfile=/var/run/weewx.pid
>>> /home/weewx/weewx.confJul 13 11:35:18 raspberrypi weewxd[558]: weewx[558]
>>> ERROR weewx.reportengine: File
>>> "/home/weewx/bin/weewx/reporteng…0, in runJul 13 11:35:18 raspberrypi
>>> weewxd[558]: weewx[558] ERROR weewx.reportengine:   obj =
>>> weeutil.weeutil.get_object(generator)(Jul 13 11:35:18 raspberrypi
>>> weewxd[558]: weewx[558] ERROR weewx.reportengine: File
>>> "/home/weewx/bin/weeutil/weeutil…et_objectJul 13 11:35:18 raspberrypi
>>> weewxd[558]: weewx[558] ERROR weewx.reportengine:   mod =
>>> __import__(module)Jul 13 11:35:18 raspberrypi weewxd[558]: weewx[558] ERROR
>>> weewx.reportengine: File "/home/weewx/bin/weewx/cheetahge…
>>> Jul 13 11:35:18 raspberrypi weewxd[558]: weewx[558] ERROR
>>> 

Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2020-07-13 Thread Michael Grossie
After reloading cheetah, I rebooted, started weewx and apache2. I opened a
browser and went to http://localhost/weewx (as directed in the User Guide)
and received the 404 page not found error.

I then ran "sudo /etc/init.d/weewx status -l"  and received -




















*pi@raspberrypi:/home/weewx $ sudo /etc/init.d/weewx status -l●
weewx.service - LSB: weewx weather system   Loaded: loaded
(/etc/init.d/weewx; generated; vendor preset: enabled)   Active: active
(running) since Mon 2020-07-13 12:03:01 CDT; 18min ago Docs:
man:systemd-sysv-generator(8)  Process: 281 ExecStart=/etc/init.d/weewx
start (code=exited, status=0/SUCCESS)Tasks: 2 (limit: 4915)   CGroup:
/system.slice/weewx.service   └─497 /usr/bin/python2
/home/weewx/bin/weewxd --daemon --pidfile=/var/run/weewx.pid
/home/weewx/weewx.confJul 13 12:15:16 raspberrypi weewxd[497]: weewx[497]
INFO weewx.manager: Added record 2020-07-13 12:15:00 CDT (1594660500) to
database 'weewx.sdb'Jul 13 12:15:16 raspberrypi weewxd[497]: weewx[497]
INFO weewx.manager: Added record 2020-07-13 12:15:00 CDT (1594660500) to
daily summary …weewx.sdb'Jul 13 12:15:21 raspberrypi weewxd[497]:
weewx[497] INFO weewx.cheetahgenerator: Generated 8 files for report
SeasonsReport in 3.39 secondsJul 13 12:15:25 raspberrypi weewxd[497]:
weewx[497] INFO weewx.imagegenerator: Generated 15 images for report
SeasonsReport in 3.65 secondsJul 13 12:15:25 raspberrypi weewxd[497]:
weewx[497] INFO weewx.reportengine: Copied 0 files to
/home/weewx/public_htmlJul 13 12:20:16 raspberrypi weewxd[497]: weewx[497]
INFO weewx.manager: Added record 2020-07-13 12:20:00 CDT (1594660800) to
database 'weewx.sdb'Jul 13 12:20:16 raspberrypi weewxd[497]: weewx[497]
INFO weewx.manager: Added record 2020-07-13 12:20:00 CDT (1594660800) to
daily summary …weewx.sdb'Jul 13 12:20:21 raspberrypi weewxd[497]:
weewx[497] INFO weewx.cheetahgenerator: Generated 8 files for report
SeasonsReport in 3.79 secondsJul 13 12:20:34 raspberrypi weewxd[497]:
weewx[497] INFO weewx.imagegenerator: Generated 30 images for report
SeasonsReport in 12.33 secondsJul 13 12:20:34 raspberrypi weewxd[497]:
weewx[497] INFO weewx.reportengine: Copied 0 files to
/home/weewx/public_htmlHint: Some lines were ellipsized, use -l to show in
full.*

Now I see that records were added and reports generated, but nothing
transferred to /home/weewx/public_html
I am still missing something - I don't know if I have a program installed
to view the contents of weewx.sdb
Michael H Grossie
mhgros...@sbcglobal.net


On Mon, Jul 13, 2020 at 11:53 AM Michael Grossie 
wrote:

> In trying to find folders and files are at, they are all in the proper
> places (based on the list in the User Guide) - I ran
> "sudo /etc/init.d/weewx status -l" from the /home/weewx directory.  I
> received the following -
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *pi@raspberrypi:/home/weewx $ sudo /etc/init.d/weewx status -ls●
> weewx.service - LSB: weewx weather system   Loaded: loaded
> (/etc/init.d/weewx; generated; vendor preset: enabled)   Active: active
> (running) since Mon 2020-07-13 11:10:24 CDT; 28min ago Docs:
> man:systemd-sysv-generator(8)  Process: 281 ExecStart=/etc/init.d/weewx
> start (code=exited, status=0/SUCCESS)Tasks: 2 (limit: 4915)   CGroup:
> /system.slice/weewx.service   └─558 /usr/bin/python2
> /home/weewx/bin/weewxd --daemon --pidfile=/var/run/weewx.pid
> /home/weewx/weewx.confJul 13 11:35:18 raspberrypi weewxd[558]: weewx[558]
> ERROR weewx.reportengine: File
> "/home/weewx/bin/weewx/reporteng…0, in runJul 13 11:35:18 raspberrypi
> weewxd[558]: weewx[558] ERROR weewx.reportengine:   obj =
> weeutil.weeutil.get_object(generator)(Jul 13 11:35:18 raspberrypi
> weewxd[558]: weewx[558] ERROR weewx.reportengine: File
> "/home/weewx/bin/weeutil/weeutil…et_objectJul 13 11:35:18 raspberrypi
> weewxd[558]: weewx[558] ERROR weewx.reportengine:   mod =
> __import__(module)Jul 13 11:35:18 raspberrypi weewxd[558]: weewx[558] ERROR
> weewx.reportengine: File "/home/weewx/bin/weewx/cheetahge…
> Jul 13 11:35:18 raspberrypi weewxd[558]: weewx[558] ERROR
> weewx.reportengine:   import Cheetah.FiltersJul 13 11:35:18
> raspberrypi weewxd[558]: weewx[558] ERROR weewx.reportengine: 
>  ImportError: No module named Cheetah.FiltersJul 13 11:35:18 raspberrypi
> weewxd[558]: weewx[558] ERROR weewx.reportengine:   Generator
> ignoredJul 13 11:35:20 raspberrypi weewxd[558]: weewx[558] INFO
> weewx.imagegenerator: Generated 15 images for report SeasonsReport in 1.96
> secondsJul 13 11:35:20 raspberrypi weewxd[558]: weewx[558] INFO
> weewx.reportengine: Copied 0 files to /home/weewx/public_htmlHint: Some
> lines were ellipsized, use -l to show in full.*
>
> Looking in /home/weewx/bin/weewx I can see the files (reportengine,
> cheetahgenerator). I will reload Cheetah3 and see what happens.
>
> Michael H Grossie
> 

Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2020-07-13 Thread Michael Grossie
In trying to find folders and files are at, they are all in the proper
places (based on the list in the User Guide) - I ran
"sudo /etc/init.d/weewx status -l" from the /home/weewx directory.  I
received the following -




















*pi@raspberrypi:/home/weewx $ sudo /etc/init.d/weewx status -ls●
weewx.service - LSB: weewx weather system   Loaded: loaded
(/etc/init.d/weewx; generated; vendor preset: enabled)   Active: active
(running) since Mon 2020-07-13 11:10:24 CDT; 28min ago Docs:
man:systemd-sysv-generator(8)  Process: 281 ExecStart=/etc/init.d/weewx
start (code=exited, status=0/SUCCESS)Tasks: 2 (limit: 4915)   CGroup:
/system.slice/weewx.service   └─558 /usr/bin/python2
/home/weewx/bin/weewxd --daemon --pidfile=/var/run/weewx.pid
/home/weewx/weewx.confJul 13 11:35:18 raspberrypi weewxd[558]: weewx[558]
ERROR weewx.reportengine: File
"/home/weewx/bin/weewx/reporteng…0, in runJul 13 11:35:18 raspberrypi
weewxd[558]: weewx[558] ERROR weewx.reportengine:   obj =
weeutil.weeutil.get_object(generator)(Jul 13 11:35:18 raspberrypi
weewxd[558]: weewx[558] ERROR weewx.reportengine: File
"/home/weewx/bin/weeutil/weeutil…et_objectJul 13 11:35:18 raspberrypi
weewxd[558]: weewx[558] ERROR weewx.reportengine:   mod =
__import__(module)Jul 13 11:35:18 raspberrypi weewxd[558]: weewx[558] ERROR
weewx.reportengine: File "/home/weewx/bin/weewx/cheetahge…
Jul 13 11:35:18 raspberrypi weewxd[558]: weewx[558] ERROR
weewx.reportengine:   import Cheetah.FiltersJul 13 11:35:18
raspberrypi weewxd[558]: weewx[558] ERROR weewx.reportengine: 
 ImportError: No module named Cheetah.FiltersJul 13 11:35:18 raspberrypi
weewxd[558]: weewx[558] ERROR weewx.reportengine:   Generator
ignoredJul 13 11:35:20 raspberrypi weewxd[558]: weewx[558] INFO
weewx.imagegenerator: Generated 15 images for report SeasonsReport in 1.96
secondsJul 13 11:35:20 raspberrypi weewxd[558]: weewx[558] INFO
weewx.reportengine: Copied 0 files to /home/weewx/public_htmlHint: Some
lines were ellipsized, use -l to show in full.*

Looking in /home/weewx/bin/weewx I can see the files (reportengine,
cheetahgenerator). I will reload Cheetah3 and see what happens.

Michael H Grossie
mhgros...@sbcglobal.net


On Mon, Jul 13, 2020 at 9:16 AM Andrew Milner 
wrote:

> see documentation
> http://weewx.com/docs/usersguide.htm#Where_to_find_things
>
>
>
> On Monday, 13 July 2020 17:15:31 UTC+3, Andrew Milner wrote:
>>
>> if you used setup.py the .sdb file will be in /home/weewx/archive and
>> should contain all your simulator data.  It may be useful to edit
>> weewx.conf and set debug=1 to get more detailed logging - remember to set
>> it back to 0 when you have finished.
>>
>>
>>
>> On Monday, 13 July 2020 16:58:38 UTC+3, Michael Grossie wrote:
>>>
>>> Andrew,
>>>
>>> Thanks for the response - That answered my question regarding the
>>> Simulator Station. I now need to find out where the data it is generating
>>> is going.
>>>
>>>
>>> Michael H Grossie
>>> mhgr...@sbcglobal.net
>>>
>>>
>>> On Mon, Jul 13, 2020 at 12:18 AM Andrew Milner 
>>> wrote:
>>>
 setting station type to simulator effectively creates a station which
 pretends to create data and gives the data to weewx.  weewx then does
 everything it should do with the 'received' data including generate
 reports.  it will also store the dta in the database, so when you have
 finished using simulator you will need to clear out the simulation data
 from the database - usually just deleting the database file is sufficient.


 On Monday, 13 July 2020 01:01:25 UTC+3, Michael Grossie wrote:
>
> Andre,
> Thanks for the response - in the [StdReport] section of the
> weewx.conf, it shows, "where generated reports should go, relative to
> WEEWX_ROOT  HTML_ROOT= public_HTML"
>
> Since the station is set to Simulation, will there be any reports
> generated?
>
> TIA
>
>
> Michael H Grossie
> mhgr...@sbcglobal.net
>
>
> On Sun, Jul 12, 2020 at 2:41 PM Andre  wrote:
>
>> First, take a look to your weewx.conf
>> Section [StdReport]
>> There is HTML_ROOT = /path/name/path
>>
>> If you have only have one website you can point to your default
>> Apache2 path or you can edit your
>> /etc/apache2/sites-available/000-default.conf
>> After editing restart Apache2 with sudo /etc/init.d/apache2 restart
>>
>>
>> Am Sonntag, 12. Juli 2020 20:59:03 UTC+2 schrieb Michael Grossie:
>>>
>>> Answered one of my questions - I changed the Weather Station to
>>> Simulator and the weewx/public_HTML folder was created and populated.
>>> However running http://localhost/weewx
>>> 
>>> yields the Page Not Found error.
>>>
>>>
>>> Michael H 

Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2020-07-13 Thread Andrew Milner
see documentation
http://weewx.com/docs/usersguide.htm#Where_to_find_things



On Monday, 13 July 2020 17:15:31 UTC+3, Andrew Milner wrote:
>
> if you used setup.py the .sdb file will be in /home/weewx/archive and 
> should contain all your simulator data.  It may be useful to edit 
> weewx.conf and set debug=1 to get more detailed logging - remember to set 
> it back to 0 when you have finished.
>
>
>
> On Monday, 13 July 2020 16:58:38 UTC+3, Michael Grossie wrote:
>>
>> Andrew,
>>
>> Thanks for the response - That answered my question regarding the 
>> Simulator Station. I now need to find out where the data it is generating 
>> is going. 
>>  
>>  
>> Michael H Grossie
>> mhgr...@sbcglobal.net
>>
>>
>> On Mon, Jul 13, 2020 at 12:18 AM Andrew Milner  
>> wrote:
>>
>>> setting station type to simulator effectively creates a station which 
>>> pretends to create data and gives the data to weewx.  weewx then does 
>>> everything it should do with the 'received' data including generate 
>>> reports.  it will also store the dta in the database, so when you have 
>>> finished using simulator you will need to clear out the simulation data 
>>> from the database - usually just deleting the database file is sufficient.
>>>
>>>
>>> On Monday, 13 July 2020 01:01:25 UTC+3, Michael Grossie wrote:

 Andre,
 Thanks for the response - in the [StdReport] section of the weewx.conf, 
 it shows, "where generated reports should go, relative to WEEWX_ROOT  
 HTML_ROOT= public_HTML"

 Since the station is set to Simulation, will there be any reports 
 generated?

 TIA
  
  
 Michael H Grossie
 mhgr...@sbcglobal.net


 On Sun, Jul 12, 2020 at 2:41 PM Andre  wrote:

> First, take a look to your weewx.conf
> Section [StdReport]
> There is HTML_ROOT = /path/name/path
>
> If you have only have one website you can point to your default 
> Apache2 path or you can edit your 
> /etc/apache2/sites-available/000-default.conf
> After editing restart Apache2 with sudo /etc/init.d/apache2 restart
>
>
> Am Sonntag, 12. Juli 2020 20:59:03 UTC+2 schrieb Michael Grossie:
>>
>> Answered one of my questions - I changed the Weather Station to 
>> Simulator and the weewx/public_HTML folder was created and populated.
>> However running http://localhost/weewx 
>> 
>>   
>> yields the Page Not Found error.
>>  
>>  
>> Michael H Grossie
>> mhgr...@sbcglobal.net
>>
>>
>> On Sun, Jul 12, 2020 at 12:18 PM Michael Grossie  
>> wrote:
>>
>>> This is a very old thread - but it relates to my question - with the 
>>> exception of Ubuntu
>>> Raspberry Pi 2 B
>>> Raspbian Stretch
>>> Station: Argent WS1
>>>
>>> I have got Apache2 installed, followed the setup and completed the 
>>> Apache configuration snippet. I have checked and the various files and 
>>> directories are in place, however I do not find the 
>>> /home/weewx/public_html 
>>> file.
>>> Since I am not connected to active weather instruments at this time, 
>>> could it be that this file will not be created until the weewx program 
>>> receives data - 
>>> the http://localhost/weewx  gives me a 404 page not found error.
>>>
>>> TIA
>>>
>>> On Friday, September 16, 2016 at 2:28:31 PM UTC-5 
>>> valken...@gmail.com wrote:
>>>
 How did you guys configure Apache?
 Apache2 for instance is able to serve multiple/different sites from 
 different directories based on the requesting url.

 I created a virtualhost in Apache based on the url, which tells 
 Apache to serve the weewx pages from the directory where they are 
 located.
 You could read this:
 https://help.ubuntu.com/lts/serverguide/httpd.html

 i placed 

 DocumentRoot /var/www/weewx

 In the configuration file for the site, and this works

 -- 
>>> 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/kzXjvLjWI-k/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to 
>>> weewx...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/7ff66258-27e1-4418-83c2-11ed49e5c77an%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>> -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "weewx-user" group.

Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2020-07-13 Thread Andrew Milner
if you used setup.py the .sdb file will be in /home/weewx/archive and 
should contain all your simulator data.  It may be useful to edit 
weewx.conf and set debug=1 to get more detailed logging - remember to set 
it back to 0 when you have finished.



On Monday, 13 July 2020 16:58:38 UTC+3, Michael Grossie wrote:
>
> Andrew,
>
> Thanks for the response - That answered my question regarding the 
> Simulator Station. I now need to find out where the data it is generating 
> is going. 
>  
>  
> Michael H Grossie
> mhgr...@sbcglobal.net 
>
>
> On Mon, Jul 13, 2020 at 12:18 AM Andrew Milner  > wrote:
>
>> setting station type to simulator effectively creates a station which 
>> pretends to create data and gives the data to weewx.  weewx then does 
>> everything it should do with the 'received' data including generate 
>> reports.  it will also store the dta in the database, so when you have 
>> finished using simulator you will need to clear out the simulation data 
>> from the database - usually just deleting the database file is sufficient.
>>
>>
>> On Monday, 13 July 2020 01:01:25 UTC+3, Michael Grossie wrote:
>>>
>>> Andre,
>>> Thanks for the response - in the [StdReport] section of the weewx.conf, 
>>> it shows, "where generated reports should go, relative to WEEWX_ROOT  
>>> HTML_ROOT= public_HTML"
>>>
>>> Since the station is set to Simulation, will there be any reports 
>>> generated?
>>>
>>> TIA
>>>  
>>>  
>>> Michael H Grossie
>>> mhgr...@sbcglobal.net
>>>
>>>
>>> On Sun, Jul 12, 2020 at 2:41 PM Andre  wrote:
>>>
 First, take a look to your weewx.conf
 Section [StdReport]
 There is HTML_ROOT = /path/name/path

 If you have only have one website you can point to your default 
 Apache2 path or you can edit your 
 /etc/apache2/sites-available/000-default.conf
 After editing restart Apache2 with sudo /etc/init.d/apache2 restart


 Am Sonntag, 12. Juli 2020 20:59:03 UTC+2 schrieb Michael Grossie:
>
> Answered one of my questions - I changed the Weather Station to 
> Simulator and the weewx/public_HTML folder was created and populated.
> However running http://localhost/weewx 
> 
>   
> yields the Page Not Found error.
>  
>  
> Michael H Grossie
> mhgr...@sbcglobal.net
>
>
> On Sun, Jul 12, 2020 at 12:18 PM Michael Grossie  
> wrote:
>
>> This is a very old thread - but it relates to my question - with the 
>> exception of Ubuntu
>> Raspberry Pi 2 B
>> Raspbian Stretch
>> Station: Argent WS1
>>
>> I have got Apache2 installed, followed the setup and completed the 
>> Apache configuration snippet. I have checked and the various files and 
>> directories are in place, however I do not find the 
>> /home/weewx/public_html 
>> file.
>> Since I am not connected to active weather instruments at this time, 
>> could it be that this file will not be created until the weewx program 
>> receives data - 
>> the http://localhost/weewx  gives me a 404 page not found error.
>>
>> TIA
>>
>> On Friday, September 16, 2016 at 2:28:31 PM UTC-5 valken...@gmail.com 
>> wrote:
>>
>>> How did you guys configure Apache?
>>> Apache2 for instance is able to serve multiple/different sites from 
>>> different directories based on the requesting url.
>>>
>>> I created a virtualhost in Apache based on the url, which tells 
>>> Apache to serve the weewx pages from the directory where they are 
>>> located.
>>> You could read this:
>>> https://help.ubuntu.com/lts/serverguide/httpd.html
>>>
>>> i placed 
>>>
>>> DocumentRoot /var/www/weewx
>>>
>>> In the configuration file for the site, and this works
>>>
>>> -- 
>> 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/kzXjvLjWI-k/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/7ff66258-27e1-4418-83c2-11ed49e5c77an%40googlegroups.com
>>  
>> 
>> .
>>
> -- 
 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/kzXjvLjWI-k/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 weewx...@googlegroups.com.
 To view this discussion on the web visit 
 

Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2020-07-13 Thread John Kline
The log will tell you where reports are being written.  Look for a line like 
the following:

Jul 12 00:20:07 charlemagne weewx[22501] INFO weewx.reportengine: Copied 119 
files to /home/weewx/public_html

> On Jul 13, 2020, at 6:58 AM, Michael Grossie  wrote:
> 
> 
> Andrew,
> 
> Thanks for the response - That answered my question regarding the Simulator 
> Station. I now need to find out where the data it is generating is going. 
>  
>  
> Michael H Grossie
> mhgros...@sbcglobal.net
> 
> 
>> On Mon, Jul 13, 2020 at 12:18 AM Andrew Milner  
>> wrote:
>> setting station type to simulator effectively creates a station which 
>> pretends to create data and gives the data to weewx.  weewx then does 
>> everything it should do with the 'received' data including generate reports. 
>>  it will also store the dta in the database, so when you have finished using 
>> simulator you will need to clear out the simulation data from the database - 
>> usually just deleting the database file is sufficient.
>> 
>> 
>>> On Monday, 13 July 2020 01:01:25 UTC+3, Michael Grossie wrote:
>>> Andre,
>>> Thanks for the response - in the [StdReport] section of the weewx.conf, it 
>>> shows, "where generated reports should go, relative to WEEWX_ROOT  
>>> HTML_ROOT= public_HTML"
>>> 
>>> Since the station is set to Simulation, will there be any reports generated?
>>> 
>>> TIA
>>>  
>>>  
>>> Michael H Grossie
>>> mhgr...@sbcglobal.net
>>> 
>>> 
 On Sun, Jul 12, 2020 at 2:41 PM Andre  wrote:
 First, take a look to your weewx.conf
 Section [StdReport]
 There is HTML_ROOT = /path/name/path
 
 If you have only have one website you can point to your default Apache2 
 path or you can edit your /etc/apache2/sites-available/000-default.conf
 After editing restart Apache2 with sudo /etc/init.d/apache2 restart
 
 
 Am Sonntag, 12. Juli 2020 20:59:03 UTC+2 schrieb Michael Grossie:
> 
> Answered one of my questions - I changed the Weather Station to Simulator 
> and the weewx/public_HTML folder was created and populated.
> However running http://localhost/weewx  yields the Page Not Found error.
>  
>  
> Michael H Grossie
> mhgr...@sbcglobal.net
> 
> 
>> On Sun, Jul 12, 2020 at 12:18 PM Michael Grossie  
>> wrote:
>> This is a very old thread - but it relates to my question - with the 
>> exception of Ubuntu
>> Raspberry Pi 2 B
>> Raspbian Stretch
>> Station: Argent WS1
>> 
>> I have got Apache2 installed, followed the setup and completed the 
>> Apache configuration snippet. I have checked and the various files and 
>> directories are in place, however I do not find the 
>> /home/weewx/public_html file.
>> Since I am not connected to active weather instruments at this time, 
>> could it be that this file will not be created until the weewx program 
>> receives data - 
>> the http://localhost/weewx  gives me a 404 page not found error.
>> 
>> TIA
>> 
>>> On Friday, September 16, 2016 at 2:28:31 PM UTC-5 valken...@gmail.com 
>>> wrote:
>>> How did you guys configure Apache?
>>> Apache2 for instance is able to serve multiple/different sites from 
>>> different directories based on the requesting url.
>>> I created a virtualhost in Apache based on the url, which tells Apache 
>>> to serve the weewx pages from the directory where they are located.
>>> You could read this:
>>> https://help.ubuntu.com/lts/serverguide/httpd.html
>>> 
>>> i placed
>>> 
>>> DocumentRoot /var/www/weewx
>>> 
>>> In the configuration file for the site, and this works
>>> 
>> 
>> -- 
>> 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/kzXjvLjWI-k/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/7ff66258-27e1-4418-83c2-11ed49e5c77an%40googlegroups.com.
 
 -- 
 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/kzXjvLjWI-k/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 weewx...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/weewx-user/0a0eeb25-e5b4-4767-a254-92168ff6ed72o%40googlegroups.com.
>> 
>> -- 
>> 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/kzXjvLjWI-k/unsubscribe.
>> To unsubscribe from 

Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2020-07-13 Thread Michael Grossie
Andrew,

Thanks for the response - That answered my question regarding the Simulator
Station. I now need to find out where the data it is generating is going.


Michael H Grossie
mhgros...@sbcglobal.net


On Mon, Jul 13, 2020 at 12:18 AM Andrew Milner 
wrote:

> setting station type to simulator effectively creates a station which
> pretends to create data and gives the data to weewx.  weewx then does
> everything it should do with the 'received' data including generate
> reports.  it will also store the dta in the database, so when you have
> finished using simulator you will need to clear out the simulation data
> from the database - usually just deleting the database file is sufficient.
>
>
> On Monday, 13 July 2020 01:01:25 UTC+3, Michael Grossie wrote:
>>
>> Andre,
>> Thanks for the response - in the [StdReport] section of the weewx.conf,
>> it shows, "where generated reports should go, relative to WEEWX_ROOT
>> HTML_ROOT= public_HTML"
>>
>> Since the station is set to Simulation, will there be any reports
>> generated?
>>
>> TIA
>>
>>
>> Michael H Grossie
>> mhgr...@sbcglobal.net
>>
>>
>> On Sun, Jul 12, 2020 at 2:41 PM Andre  wrote:
>>
>>> First, take a look to your weewx.conf
>>> Section [StdReport]
>>> There is HTML_ROOT = /path/name/path
>>>
>>> If you have only have one website you can point to your default Apache2
>>> path or you can edit your /etc/apache2/sites-available/000-default.conf
>>> After editing restart Apache2 with sudo /etc/init.d/apache2 restart
>>>
>>>
>>> Am Sonntag, 12. Juli 2020 20:59:03 UTC+2 schrieb Michael Grossie:

 Answered one of my questions - I changed the Weather Station to
 Simulator and the weewx/public_HTML folder was created and populated.
 However running http://localhost/weewx
 
 yields the Page Not Found error.


 Michael H Grossie
 mhgr...@sbcglobal.net


 On Sun, Jul 12, 2020 at 12:18 PM Michael Grossie 
 wrote:

> This is a very old thread - but it relates to my question - with the
> exception of Ubuntu
> Raspberry Pi 2 B
> Raspbian Stretch
> Station: Argent WS1
>
> I have got Apache2 installed, followed the setup and completed the
> Apache configuration snippet. I have checked and the various files and
> directories are in place, however I do not find the 
> /home/weewx/public_html
> file.
> Since I am not connected to active weather instruments at this time,
> could it be that this file will not be created until the weewx program
> receives data -
> the http://localhost/weewx  gives me a 404 page not found error.
>
> TIA
>
> On Friday, September 16, 2016 at 2:28:31 PM UTC-5 valken...@gmail.com
> wrote:
>
>> How did you guys configure Apache?
>> Apache2 for instance is able to serve multiple/different sites from
>> different directories based on the requesting url.
>>
>> I created a virtualhost in Apache based on the url, which tells
>> Apache to serve the weewx pages from the directory where they are 
>> located.
>> You could read this:
>> https://help.ubuntu.com/lts/serverguide/httpd.html
>>
>> i placed
>>
>> DocumentRoot /var/www/weewx
>>
>> In the configuration file for the site, and this works
>>
>> --
> 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/kzXjvLjWI-k/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/7ff66258-27e1-4418-83c2-11ed49e5c77an%40googlegroups.com
> 
> .
>
 --
>>> 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/kzXjvLjWI-k/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> weewx...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/0a0eeb25-e5b4-4767-a254-92168ff6ed72o%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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/kzXjvLjWI-k/unsubscribe.
> To unsubscribe from this group and all its topics, 

Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2020-07-13 Thread Michael Grossie
Mr. Eddy;
Raspberry Pi 2 B
Raspbian Stretch
Station: Argent WS1

Following the instructions in the User Guide for a setup.py installation, I
have gotten Apache2 installed. I followed the setup and completed the
Apache configuration snippet. I have checked and all the various files and
directories are in place, including the /home/weewx/public_html file.
The http://localhost/weewx  gives me a 404 page not found error.
 Since I am not connected to active weather instruments at this time, could
it be that this file will not be created until the weewx program receives
data - (nothing in the User Manual concerning this question.)
Again the procedures listed in the user manual were followed for a setup.py
installation.
Andrew, politely has answered one of the questions concerning the Simulator
Station.
Michael H Grossie
mhgros...@sbcglobal.net


On Sun, Jul 12, 2020 at 11:39 PM Graham Eddy  wrote:

> it’s all very clear in the manual.
> see User Guide, “Integrating with a Web Server”.
> cheers
>
> On 13 Jul 2020, at 4:58 am, Michael Grossie 
> wrote:
>
> Answered one of my questions - I changed the Weather Station to Simulator
> and the weewx/public_HTML folder was created and populated.
> However running http://localhost/weewx  yields the Page Not Found error.
>
>
> Michael H Grossie
> mhgros...@sbcglobal.net
>
>
> On Sun, Jul 12, 2020 at 12:18 PM Michael Grossie 
> wrote:
>
>> This is a very old thread - but it relates to my question - with the
>> exception of Ubuntu
>> Raspberry Pi 2 B
>> Raspbian Stretch
>> Station: Argent WS1
>>
>> I have got Apache2 installed, followed the setup and completed the Apache
>> configuration snippet. I have checked and the various files and directories
>> are in place, however I do not find the /home/weewx/public_html file.
>> Since I am not connected to active weather instruments at this time,
>> could it be that this file will not be created until the weewx program
>> receives data -
>> the http://localhost/weewx  gives me a 404 page not found error.
>>
>> TIA
>>
>> On Friday, September 16, 2016 at 2:28:31 PM UTC-5 valken...@gmail.com
>> wrote:
>>
>>> How did you guys configure Apache?
>>> Apache2 for instance is able to serve multiple/different sites from
>>> different directories based on the requesting url.
>>>
>>> I created a virtualhost in Apache based on the url, which tells Apache
>>> to serve the weewx pages from the directory where they are located.
>>> You could read this:
>>> https://help.ubuntu.com/lts/serverguide/httpd.html
>>>
>>> i placed
>>>
>>> DocumentRoot /var/www/weewx
>>>
>>> In the configuration file for the site, and this works
>>>
>>>
>>>
>>>
>>>
>>>
>> --
>> 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/kzXjvLjWI-k/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> weewx-user+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/7ff66258-27e1-4418-83c2-11ed49e5c77an%40googlegroups.com
>> 
>> .
>>
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CAJBcQpULnR__KfkROV3owpF1vTV2H3u5RR_QsF_pAGkQhwQm4g%40mail.gmail.com
> 
> .
>
>
> --
> 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/kzXjvLjWI-k/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/4B9E6980-E23B-4418-B381-E18A679C77F1%40gmail.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAJBcQpXziZiVUwkDy-MvNNDiqLhGG3Up-4ALaDhr5z1mPsiFDA%40mail.gmail.com.


Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2020-07-12 Thread Andrew Milner
setting station type to simulator effectively creates a station which 
pretends to create data and gives the data to weewx.  weewx then does 
everything it should do with the 'received' data including generate 
reports.  it will also store the dta in the database, so when you have 
finished using simulator you will need to clear out the simulation data 
from the database - usually just deleting the database file is sufficient.


On Monday, 13 July 2020 01:01:25 UTC+3, Michael Grossie wrote:
>
> Andre,
> Thanks for the response - in the [StdReport] section of the weewx.conf, it 
> shows, "where generated reports should go, relative to WEEWX_ROOT  
> HTML_ROOT= public_HTML"
>
> Since the station is set to Simulation, will there be any reports 
> generated?
>
> TIA
>  
>  
> Michael H Grossie
> mhgr...@sbcglobal.net 
>
>
> On Sun, Jul 12, 2020 at 2:41 PM Andre > 
> wrote:
>
>> First, take a look to your weewx.conf
>> Section [StdReport]
>> There is HTML_ROOT = /path/name/path
>>
>> If you have only have one website you can point to your default Apache2 
>> path or you can edit your /etc/apache2/sites-available/000-default.conf
>> After editing restart Apache2 with sudo /etc/init.d/apache2 restart
>>
>>
>> Am Sonntag, 12. Juli 2020 20:59:03 UTC+2 schrieb Michael Grossie:
>>>
>>> Answered one of my questions - I changed the Weather Station to 
>>> Simulator and the weewx/public_HTML folder was created and populated.
>>> However running http://localhost/weewx 
>>> 
>>>   
>>> yields the Page Not Found error.
>>>  
>>>  
>>> Michael H Grossie
>>> mhgr...@sbcglobal.net
>>>
>>>
>>> On Sun, Jul 12, 2020 at 12:18 PM Michael Grossie  
>>> wrote:
>>>
 This is a very old thread - but it relates to my question - with the 
 exception of Ubuntu
 Raspberry Pi 2 B
 Raspbian Stretch
 Station: Argent WS1

 I have got Apache2 installed, followed the setup and completed the 
 Apache configuration snippet. I have checked and the various files and 
 directories are in place, however I do not find the 
 /home/weewx/public_html 
 file.
 Since I am not connected to active weather instruments at this time, 
 could it be that this file will not be created until the weewx program 
 receives data - 
 the http://localhost/weewx  gives me a 404 page not found error.

 TIA

 On Friday, September 16, 2016 at 2:28:31 PM UTC-5 valken...@gmail.com 
 wrote:

> How did you guys configure Apache?
> Apache2 for instance is able to serve multiple/different sites from 
> different directories based on the requesting url.
>
> I created a virtualhost in Apache based on the url, which tells Apache 
> to serve the weewx pages from the directory where they are located.
> You could read this:
> https://help.ubuntu.com/lts/serverguide/httpd.html
>
> i placed 
>
> DocumentRoot /var/www/weewx
>
> In the configuration file for the site, and this works
>
> -- 
 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/kzXjvLjWI-k/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 weewx...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/weewx-user/7ff66258-27e1-4418-83c2-11ed49e5c77an%40googlegroups.com
  
 
 .

>>> -- 
>> 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/kzXjvLjWI-k/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/0a0eeb25-e5b4-4767-a254-92168ff6ed72o%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/1b232c4f-e536-4ab5-9952-ea862c0576cfo%40googlegroups.com.


Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2020-07-12 Thread Graham Eddy
it’s all very clear in the manual.
see User Guide, “Integrating with a Web Server”.
cheers

> On 13 Jul 2020, at 4:58 am, Michael Grossie  wrote:
> 
> Answered one of my questions - I changed the Weather Station to Simulator and 
> the weewx/public_HTML folder was created and populated.
> However running http://localhost/weewx   yields the 
> Page Not Found error.
>  
>  
> Michael H Grossie
> mhgros...@sbcglobal.net 
> 
> On Sun, Jul 12, 2020 at 12:18 PM Michael Grossie  > wrote:
> This is a very old thread - but it relates to my question - with the 
> exception of Ubuntu
> Raspberry Pi 2 B
> Raspbian Stretch
> Station: Argent WS1
> 
> I have got Apache2 installed, followed the setup and completed the Apache 
> configuration snippet. I have checked and the various files and directories 
> are in place, however I do not find the /home/weewx/public_html file.
> Since I am not connected to active weather instruments at this time, could it 
> be that this file will not be created until the weewx program receives data - 
> the http://localhost/weewx   gives me a 404 page not 
> found error.
> 
> TIA
> 
> On Friday, September 16, 2016 at 2:28:31 PM UTC-5 valken...@gmail.com 
>  wrote:
> How did you guys configure Apache?
> Apache2 for instance is able to serve multiple/different sites from different 
> directories based on the requesting url.
> I created a virtualhost in Apache based on the url, which tells Apache to 
> serve the weewx pages from the directory where they are located.
> You could read this:
> https://help.ubuntu.com/lts/serverguide/httpd.html 
> 
> i placed
> 
> DocumentRoot /var/www/weewx
> 
> In the configuration file for the site, and this works
> 
> 
> 
> 
> 
> 
> 
> -- 
> 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/kzXjvLjWI-k/unsubscribe 
> .
> To unsubscribe from this group and all its topics, send an email to 
> weewx-user+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/7ff66258-27e1-4418-83c2-11ed49e5c77an%40googlegroups.com
>  
> .
> 
> -- 
> 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 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/CAJBcQpULnR__KfkROV3owpF1vTV2H3u5RR_QsF_pAGkQhwQm4g%40mail.gmail.com
>  
> .

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/4B9E6980-E23B-4418-B381-E18A679C77F1%40gmail.com.


Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2020-07-12 Thread Michael Grossie
Andre,
Thanks for the response - in the [StdReport] section of the weewx.conf, it
shows, "where generated reports should go, relative to WEEWX_ROOT
HTML_ROOT= public_HTML"

Since the station is set to Simulation, will there be any reports generated?

TIA


Michael H Grossie
mhgros...@sbcglobal.net


On Sun, Jul 12, 2020 at 2:41 PM Andre  wrote:

> First, take a look to your weewx.conf
> Section [StdReport]
> There is HTML_ROOT = /path/name/path
>
> If you have only have one website you can point to your default Apache2
> path or you can edit your /etc/apache2/sites-available/000-default.conf
> After editing restart Apache2 with sudo /etc/init.d/apache2 restart
>
>
> Am Sonntag, 12. Juli 2020 20:59:03 UTC+2 schrieb Michael Grossie:
>>
>> Answered one of my questions - I changed the Weather Station to Simulator
>> and the weewx/public_HTML folder was created and populated.
>> However running http://localhost/weewx
>> 
>> yields the Page Not Found error.
>>
>>
>> Michael H Grossie
>> mhgr...@sbcglobal.net
>>
>>
>> On Sun, Jul 12, 2020 at 12:18 PM Michael Grossie 
>> wrote:
>>
>>> This is a very old thread - but it relates to my question - with the
>>> exception of Ubuntu
>>> Raspberry Pi 2 B
>>> Raspbian Stretch
>>> Station: Argent WS1
>>>
>>> I have got Apache2 installed, followed the setup and completed the
>>> Apache configuration snippet. I have checked and the various files and
>>> directories are in place, however I do not find the /home/weewx/public_html
>>> file.
>>> Since I am not connected to active weather instruments at this time,
>>> could it be that this file will not be created until the weewx program
>>> receives data -
>>> the http://localhost/weewx  gives me a 404 page not found error.
>>>
>>> TIA
>>>
>>> On Friday, September 16, 2016 at 2:28:31 PM UTC-5 valken...@gmail.com
>>> wrote:
>>>
 How did you guys configure Apache?
 Apache2 for instance is able to serve multiple/different sites from
 different directories based on the requesting url.

 I created a virtualhost in Apache based on the url, which tells Apache
 to serve the weewx pages from the directory where they are located.
 You could read this:
 https://help.ubuntu.com/lts/serverguide/httpd.html

 i placed

 DocumentRoot /var/www/weewx

 In the configuration file for the site, and this works

 --
>>> 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/kzXjvLjWI-k/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> weewx...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/7ff66258-27e1-4418-83c2-11ed49e5c77an%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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/kzXjvLjWI-k/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/0a0eeb25-e5b4-4767-a254-92168ff6ed72o%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAJBcQpXgYq753tesHc0Vm71rwntBDKYoxtLDOO_ujaLsptHJEA%40mail.gmail.com.


Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2020-07-12 Thread Andre
First, take a look to your weewx.conf
Section [StdReport]
There is HTML_ROOT = /path/name/path

If you have only have one website you can point to your default Apache2 
path or you can edit your /etc/apache2/sites-available/000-default.conf
After editing restart Apache2 with sudo /etc/init.d/apache2 restart


Am Sonntag, 12. Juli 2020 20:59:03 UTC+2 schrieb Michael Grossie:
>
> Answered one of my questions - I changed the Weather Station to Simulator 
> and the weewx/public_HTML folder was created and populated.
> However running http://localhost/weewx 
> 
>   
> yields the Page Not Found error.
>  
>  
> Michael H Grossie
> mhgr...@sbcglobal.net 
>
>
> On Sun, Jul 12, 2020 at 12:18 PM Michael Grossie  > wrote:
>
>> This is a very old thread - but it relates to my question - with the 
>> exception of Ubuntu
>> Raspberry Pi 2 B
>> Raspbian Stretch
>> Station: Argent WS1
>>
>> I have got Apache2 installed, followed the setup and completed the Apache 
>> configuration snippet. I have checked and the various files and directories 
>> are in place, however I do not find the /home/weewx/public_html file.
>> Since I am not connected to active weather instruments at this time, 
>> could it be that this file will not be created until the weewx program 
>> receives data - 
>> the http://localhost/weewx  gives me a 404 page not found error.
>>
>> TIA
>>
>> On Friday, September 16, 2016 at 2:28:31 PM UTC-5 valken...@gmail.com 
>> wrote:
>>
>>> How did you guys configure Apache?
>>> Apache2 for instance is able to serve multiple/different sites from 
>>> different directories based on the requesting url.
>>>
>>> I created a virtualhost in Apache based on the url, which tells Apache 
>>> to serve the weewx pages from the directory where they are located.
>>> You could read this:
>>> https://help.ubuntu.com/lts/serverguide/httpd.html
>>>
>>> i placed 
>>>
>>> DocumentRoot /var/www/weewx
>>>
>>> In the configuration file for the site, and this works
>>>
>>> -- 
>> 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/kzXjvLjWI-k/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/7ff66258-27e1-4418-83c2-11ed49e5c77an%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0a0eeb25-e5b4-4767-a254-92168ff6ed72o%40googlegroups.com.


Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2020-07-12 Thread Michael Grossie
Answered one of my questions - I changed the Weather Station to Simulator
and the weewx/public_HTML folder was created and populated.
However running http://localhost/weewx  yields the Page Not Found error.


Michael H Grossie
mhgros...@sbcglobal.net


On Sun, Jul 12, 2020 at 12:18 PM Michael Grossie 
wrote:

> This is a very old thread - but it relates to my question - with the
> exception of Ubuntu
> Raspberry Pi 2 B
> Raspbian Stretch
> Station: Argent WS1
>
> I have got Apache2 installed, followed the setup and completed the Apache
> configuration snippet. I have checked and the various files and directories
> are in place, however I do not find the /home/weewx/public_html file.
> Since I am not connected to active weather instruments at this time, could
> it be that this file will not be created until the weewx program receives
> data -
> the http://localhost/weewx  gives me a 404 page not found error.
>
> TIA
>
> On Friday, September 16, 2016 at 2:28:31 PM UTC-5 valken...@gmail.com
> wrote:
>
>> How did you guys configure Apache?
>> Apache2 for instance is able to serve multiple/different sites from
>> different directories based on the requesting url.
>>
>> I created a virtualhost in Apache based on the url, which tells Apache to
>> serve the weewx pages from the directory where they are located.
>> You could read this:
>> https://help.ubuntu.com/lts/serverguide/httpd.html
>>
>> i placed
>>
>> DocumentRoot /var/www/weewx
>>
>> In the configuration file for the site, and this works
>>
>> --
> 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/kzXjvLjWI-k/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/7ff66258-27e1-4418-83c2-11ed49e5c77an%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAJBcQpULnR__KfkROV3owpF1vTV2H3u5RR_QsF_pAGkQhwQm4g%40mail.gmail.com.


Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2020-07-12 Thread Michael Grossie
This is a very old thread - but it relates to my question - with the 
exception of Ubuntu
Raspberry Pi 2 B
Raspbian Stretch
Station: Argent WS1

I have got Apache2 installed, followed the setup and completed the Apache 
configuration snippet. I have checked and the various files and directories 
are in place, however I do not find the /home/weewx/public_html file.
Since I am not connected to active weather instruments at this time, could 
it be that this file will not be created until the weewx program receives 
data - 
the http://localhost/weewx  gives me a 404 page not found error.

TIA

On Friday, September 16, 2016 at 2:28:31 PM UTC-5 valken...@gmail.com wrote:

> How did you guys configure Apache?
> Apache2 for instance is able to serve multiple/different sites from 
> different directories based on the requesting url.
>
> I created a virtualhost in Apache based on the url, which tells Apache to 
> serve the weewx pages from the directory where they are located.
> You could read this:
> https://help.ubuntu.com/lts/serverguide/httpd.html
>
> i placed 
>
> DocumentRoot /var/www/weewx
>
> In the configuration file for the site, and this works
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/7ff66258-27e1-4418-83c2-11ed49e5c77an%40googlegroups.com.


Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2016-09-16 Thread Jan Valkenier
How did you guys configure Apache?
Apache2 for instance is able to serve multiple/different sites from different 
directories based on the requesting url.

I created a virtualhost in Apache based on the url, which tells Apache to serve 
the weewx pages from the directory where they are located.
You could read this:
https://help.ubuntu.com/lts/serverguide/httpd.html

i placed 

DocumentRoot /var/www/weewx

In the configuration file for the site, and this works

-- 
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.


Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2016-09-13 Thread mark Frost
fyi, i've updated my config to include wunderground and other upload 
variables. the config says default root file is /var/www/html/weewx. there 
is a file of that name in that directory but it cannot be found by a 
browser and if i open it in terminology it contains a single char1 and 
nothing else. im not sure my config changes are going through as i think i 
may have a permission issue there.

On Tuesday, September 13, 2016 at 11:04:01 AM UTC-10, mark Frost wrote:
>
>
> sorry about this guys, I'm quite unskilled when it comes to this stuff. 
> I've installed sqlite and apache2 using apt and then weewx using dpkg. It 
> seems to be running but i cannot see the server through a browser or locate 
> pages and config etc. i see that there is an issue regarding default 
> locations for config and the actual html interface page. ive read the 
> thread here and on sourceforge but i think i have been unable to find a 
> sequence of commands and configurations that works. i'm using bodhilinux3 
> so that ought to be equiv to ubuntu 16?
>
> thanks in advance fr your help. 
>
> Mark
> On Wednesday, July 27, 2016 at 11:56:56 AM UTC-10, Tom Keffer wrote:
>>
>> Mystery solved! Thanks, Matthew
>>
>> I've started issue #137  to 
>> track it.
>>
>> -tk
>>
>> On Wed, Jul 27, 2016 at 2:50 PM, mwall  
>> wrote:
>>
>>> On Wednesday, July 27, 2016 at 4:47:09 PM UTC-4, Tom Keffer wrote:

 I am not an apache expert either, but from what I can tell, the problem 
 is that the weewx Debian installs sets HTML_ROOT incorrectly. It's 
 being set to /var/www, when it should be /var/www/html. 

>>>
>>> blame it on more redhat-ification (and disregard for users) of debian.
>>>
>>> in debian 7 and earlier, DocumentRoot was /var/www
>>>
>>> in debian 8, DocumentRoot is /var/www/html
>>>
>>> in redhat and suse, DocumentRoot has been /var/www/html for quite some 
>>> time
>>>
>>> there are at least two solutions:
>>>
>>> a) modify HTML_ROOT in weewx.conf:
>>>
>>> sudo sed -i -e 's%HTML_ROOT =.*%HTML_ROOT = /var/www/html/weewx%' 
>>> /etc/weewx/weewx.conf
>>>
>>> b) create a symlink to the weewx report directory:
>>>
>>> sudo ln -s ../weewx /var/www/html
>>>
>>> i tend to prefer the latter, especially for systems such as rpi where 
>>> the weewx reports are on a tmpfs to minimize sd card wear.
>>>
>>> i have not yet figured out a solution for the weewx .deb package that 
>>> will work out-of-the-box with pre deb8 and post deb8 systems.  it would be 
>>> nice if it worked with lighthttpd and nginx web servers as well as apache.
>>>
>>> m
>>>
>>> -- 
>>> 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+...@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.


Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2016-09-13 Thread mark Frost

sorry about this guys, I'm quite unskilled when it comes to this stuff. 
I've installed sqlite and apache2 using apt and then weewx using dpkg. It 
seems to be running but i cannot see the server through a browser or locate 
pages and config etc. i see that there is an issue regarding default 
locations for config and the actual html interface page. ive read the 
thread here and on sourceforge but i think i have been unable to find a 
sequence of commands and configurations that works. i'm using bodhilinux3 
so that ought to be equiv to ubuntu 16?

thanks in advance fr your help. 

Mark
On Wednesday, July 27, 2016 at 11:56:56 AM UTC-10, Tom Keffer wrote:
>
> Mystery solved! Thanks, Matthew
>
> I've started issue #137  to 
> track it.
>
> -tk
>
> On Wed, Jul 27, 2016 at 2:50 PM, mwall  > wrote:
>
>> On Wednesday, July 27, 2016 at 4:47:09 PM UTC-4, Tom Keffer wrote:
>>>
>>> I am not an apache expert either, but from what I can tell, the problem 
>>> is that the weewx Debian installs sets HTML_ROOT incorrectly. It's 
>>> being set to /var/www, when it should be /var/www/html. 
>>>
>>
>> blame it on more redhat-ification (and disregard for users) of debian.
>>
>> in debian 7 and earlier, DocumentRoot was /var/www
>>
>> in debian 8, DocumentRoot is /var/www/html
>>
>> in redhat and suse, DocumentRoot has been /var/www/html for quite some 
>> time
>>
>> there are at least two solutions:
>>
>> a) modify HTML_ROOT in weewx.conf:
>>
>> sudo sed -i -e 's%HTML_ROOT =.*%HTML_ROOT = /var/www/html/weewx%' 
>> /etc/weewx/weewx.conf
>>
>> b) create a symlink to the weewx report directory:
>>
>> sudo ln -s ../weewx /var/www/html
>>
>> i tend to prefer the latter, especially for systems such as rpi where the 
>> weewx reports are on a tmpfs to minimize sd card wear.
>>
>> i have not yet figured out a solution for the weewx .deb package that 
>> will work out-of-the-box with pre deb8 and post deb8 systems.  it would be 
>> nice if it worked with lighthttpd and nginx web servers as well as apache.
>>
>> m
>>
>> -- 
>> 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+...@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.


Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2016-07-27 Thread Thomas Keffer
Mystery solved! Thanks, Matthew

I've started issue #137  to
track it.

-tk

On Wed, Jul 27, 2016 at 2:50 PM, mwall  wrote:

> On Wednesday, July 27, 2016 at 4:47:09 PM UTC-4, Tom Keffer wrote:
>>
>> I am not an apache expert either, but from what I can tell, the problem
>> is that the weewx Debian installs sets HTML_ROOT incorrectly. It's being
>> set to /var/www, when it should be /var/www/html.
>>
>
> blame it on more redhat-ification (and disregard for users) of debian.
>
> in debian 7 and earlier, DocumentRoot was /var/www
>
> in debian 8, DocumentRoot is /var/www/html
>
> in redhat and suse, DocumentRoot has been /var/www/html for quite some time
>
> there are at least two solutions:
>
> a) modify HTML_ROOT in weewx.conf:
>
> sudo sed -i -e 's%HTML_ROOT =.*%HTML_ROOT = /var/www/html/weewx%'
> /etc/weewx/weewx.conf
>
> b) create a symlink to the weewx report directory:
>
> sudo ln -s ../weewx /var/www/html
>
> i tend to prefer the latter, especially for systems such as rpi where the
> weewx reports are on a tmpfs to minimize sd card wear.
>
> i have not yet figured out a solution for the weewx .deb package that will
> work out-of-the-box with pre deb8 and post deb8 systems.  it would be nice
> if it worked with lighthttpd and nginx web servers as well as apache.
>
> m
>
> --
> 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.
>

-- 
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.


Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2016-07-27 Thread mwall
On Wednesday, July 27, 2016 at 4:47:09 PM UTC-4, Tom Keffer wrote:
>
> I am not an apache expert either, but from what I can tell, the problem is 
> that the weewx Debian installs sets HTML_ROOT incorrectly. It's being set 
> to /var/www, when it should be /var/www/html. 
>

blame it on more redhat-ification (and disregard for users) of debian.

in debian 7 and earlier, DocumentRoot was /var/www

in debian 8, DocumentRoot is /var/www/html

in redhat and suse, DocumentRoot has been /var/www/html for quite some time

there are at least two solutions:

a) modify HTML_ROOT in weewx.conf:

sudo sed -i -e 's%HTML_ROOT =.*%HTML_ROOT = /var/www/html/weewx%' 
/etc/weewx/weewx.conf

b) create a symlink to the weewx report directory:

sudo ln -s ../weewx /var/www/html

i tend to prefer the latter, especially for systems such as rpi where the 
weewx reports are on a tmpfs to minimize sd card wear.

i have not yet figured out a solution for the weewx .deb package that will 
work out-of-the-box with pre deb8 and post deb8 systems.  it would be nice 
if it worked with lighthttpd and nginx web servers as well as apache.

m

-- 
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.


Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2016-07-27 Thread vince
The alternate solution is for you to edit weewx.conf to have it save its 
files in the place the webserver expects things.

The underlying issues are:

   - there are lots of webservers to pick from, they pick different 
   locations for document root
   - operating systems differ in where they set the webserver document root
   - 'versions' of a particular operating system also can change where they 
   set this

So weewx can't possibly keep track of this, there are too many 
ever-changing upstream providers of software.


The user/admin 'must' have enough knowledge to know how to get the files 
weewx generates into

the place 'they' want them to appear when viewed from a web browser.  There 
is no one-true-answer.



-- 
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.


Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2016-07-27 Thread Andrew Milner
The simple answer is to do what Vince said - put a symbolic link in the 
apache root.

Looking at other instructions, out of curiosity - from the quick start 
guide:

After about 5 minutes, open the station web page in a web browser. You 
should see your station information and data. 

*file:///var/www/weewx/index.html* 

If your hardware supports hardware archiving, then how long you wait will 
depend on the *archive interval* 
 set in your 
hardware. 


does the browser find the page??


Although if you have changed things in weewx.conf the files could now be 
being put into different places!!



On Wednesday, 27 July 2016 12:29:25 UTC+3, Vlad Rafeev wrote:

> > First, install a web server on the computer on which weewx is running
>
> From this line it is clear, that weewx is already running. So I install 
> apache2 according to this guide.
>
> The correct sequence is to install apache2 first and add weewx later?
>
> On Wednesday, July 27, 2016 at 11:19:59 AM UTC+2, Andrew Milner wrote:
>>
>> You're probably right in that it looks as though the guide assumes 
>> apache2 is installed first, before the deb install - although there then 
>> appear to be some linguistic issues with present tense used when maybe it 
>> should be future!! I don't use apache2 either - preferring lighttpd on my 
>> rpi.
>>
>

-- 
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.


Re: [weewx-user] Re: Apache is not showing /weewx on Ubuntu 16.04.1

2016-07-27 Thread Andrew Milner
You're probably right in that it looks as though the guide assumes apache2 
is installed first, before the deb install - although there then appear to 
be some linguistic issues with present tense used when maybe it should 
be future!! I don't use apache2 either - preferring lighttpd on my rpi.

On Wednesday, 27 July 2016 11:47:41 UTC+3, gjr80 wrote:
>
> Actually, if the issue was a Vince pointed out:
>
> You didn't add a symbolic link from your apache2 document root to the 
>> public_html tree weewx writes to.
>
>
> then I think under the circumstances it may not have been you and rather 
> the docs could be at fault.
>
> I am following this tutorial
>> http://weewx.com/docs/usersguide.htm#integrating_with_webserver
>>
>> 1. I have installed clean Ubuntu 16.04.1
>> 2. I have installed weewx from DEB package
>> 3. I have installed apache2 with "sudo apt-get install apache2" command
>> 4. I see test Apache page on localhost (its working)
>>
>
> The OP did a deb package install and the link he is following clearly says 
> all you need do is install apache2 and then go to http://localhost/weewx. 
> The bit about copying conf files etc clearly applies to a setup.py 
> install which the OP does not have.
>
> If there is a need to so something else other then 'install apache2 and 
> then open http://localhost/weewx' then perhaps the docs need a bit of 
> clarrification/further guidance. That being said, I am not an apache2 
> user.
>
> Gary
>

-- 
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.