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 char....1 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 <https://github.com/weewx/weewx/issues/137> to >> track it. >> >> -tk >> >> On Wed, Jul 27, 2016 at 2:50 PM, mwall <[email protected]> >> 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 [email protected]. >>> 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
