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: > Gr

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

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

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: > Insta

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

2020-07-13 Thread Michael Grossie
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.

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/w

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

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 an

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, Michae

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 r

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 ef

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 a

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 s

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 r

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

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/apache

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 Gross

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 ar

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

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

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 loc

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 te

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

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

2016-07-27 Thread Thomas Keffer
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. Because of this, the HTML files are being put in a directory that is not accessible to the Apache serve

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

2016-07-27 Thread Vlad Rafeev
Vince, thank you for clearing this out. I think your great explanation deserves to be included in the documentation. Right now it feels like everything should work out of the box, which is clearly not the case. --- Влад Рафеев http://dandaka.com/ On Wed, Jul 27, 2016 at 7:13 PM, vince wrote: >

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

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

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

2016-07-27 Thread Vlad Rafeev
> 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+

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

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

2016-07-27 Thread gjr80
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://

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

2016-07-27 Thread Andrew Milner
It is either : a) you not understanding how to make apache serve web pages that are not immediately in the apache2 root tree or b) you not configuring weewx to make the pages within the apache tree weewx is set up to create the pages in weewx/public_html and then ftp them top a web server host

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

2016-07-26 Thread Vlad Rafeev
Thank you, I will try. Do you think it is my fault? Or documentation should be updated with your advice? -- 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-use

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

2016-07-26 Thread vince
You didn't add a symbolic link from your apache2 document root to the public_html tree weewx writes to. On Tuesday, July 26, 2016 at 12:11:29 PM UTC-7, Vlad Rafeev wrote: > > I am following this tutorial > http://weewx.com/docs/usersguide.htm#integrating_with_webserver > > 1. I have installed c