[weewx-user] Re: Weather34 on ramdisk

2020-03-13 Thread Bill Arthur
As I seemed to be spinning my wheels, I started over with a fresh install. This time it works OK. However I was surprised that this installation now has the Weather34 (php) files combined with the weewx (html) files in the /var/weewx/reports directory. All log and webpage files are now going to

[weewx-user] Re: Weather34 on ramdisk

2020-03-10 Thread J D
you have an issue either your apache config file or the permissions used to start apache. Google the error. On Monday, March 9, 2020 at 4:41:50 PM UTC-7, Bill Arthur wrote: > > I'm putting together a remote weather station using WeeWx and ARPS radio. > It's a bit of a drive so reliability is

[weewx-user] Re: Weather34 on ramdisk

2020-03-10 Thread Bill Arthur
I don't know if this is relevant, but my Apache error log is spitting this out every second: Tue Mar 10 19:38:25.186962 2020] [core:warn] [pid 465] (99)Cannot assign requested address: AH00056: connect to listener on [::]:80 On Tuesday, March 10, 2020 at 7:41:22 PM UTC-5, Bill Arthur wrote: >

[weewx-user] Re: Weather34 on ramdisk

2020-03-10 Thread Bill Arthur
JD I did a chown and tested: error 500 I did a chgrp and tested: error 500 Bill On Tuesday, March 10, 2020 at 5:11:30 PM UTC-5, J D wrote: > > Hi, > Here is what I have done on my setup. sudo chown www-data for all files in > Weather34 including Weather34 directory. Then sudo chgrp www-data

Re: [weewx-user] Re: Weather34 on ramdisk

2020-03-10 Thread Bill Arthur
steeple ian, Previously I could still reach the default weewx html page, now I get: localhost refused to connect. Try: Checking the connection Checking the proxy and the firewall ERR_CONNECTION_REFUSED I'm going to set the document root back Bill On Tuesday, March 10, 2020 at 6:39:47 PM UTC-5,

[weewx-user] Re: Weather34 on ramdisk

2020-03-10 Thread Bill Arthur
JD, That was the path before I installed the ramdisk. Here is the procedure I followed. https://github.com/weewx/weewx/wiki/Minimize-writes-on-SD-cards Bill On Tuesday, March 10, 2020 at 6:34:43 PM UTC-5, J D wrote: > > The full path is > /var/www/html/weewx/Weather34 > > the url is >

[weewx-user] Re: Weather34 on ramdisk

2020-03-10 Thread Bill Arthur
steeple ian RE-reading, you asked for the document root. I've gone into /etc/apache2/sites-enabled/000-default.conf and changed the document root to /var/weewx/reports. I'm rebooting and I'll soon see the results Bill On Tuesday, March 10, 2020 at 6:36:30 PM UTC-5, Bill Arthur wrote: > >

Re: [weewx-user] Re: Weather34 on ramdisk

2020-03-10 Thread steeple ian
Try /etc/apache2/sites-available/000-default.conf > On 10 Mar 2020, at 23:36, Bill Arthur wrote: > > steeple ian, > > From /etc/apache2/apache2.conf it appears not to be set. But it also appears > to be using /etc/apache2 for the conf files and /var/log/apache2 for the log > files. > Is

[weewx-user] Re: Weather34 on ramdisk

2020-03-10 Thread Bill Arthur
steeple ian, >From /etc/apache2/apache2.conf it appears not to be set. But it also appears to be using /etc/apache2 for the conf files and /var/log/apache2 for the log files. Is there somewhere else to look for the answer to your question? Bill # ServerRoot: The top of the directory tree

[weewx-user] Re: Weather34 on ramdisk

2020-03-10 Thread J D
The full path is /var/www/html/weewx/Weather34 the url is http://192.168.0.21:88/weewx/Weather34/?units=us On Monday, March 9, 2020 at 4:41:50 PM UTC-7, Bill Arthur wrote: > > I'm putting together a remote weather station using WeeWx and ARPS

[weewx-user] Re: Weather34 on ramdisk

2020-03-10 Thread steeple ian
Bill, What is your server’s document root? -- 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

[weewx-user] Re: Weather34 on ramdisk

2020-03-10 Thread J D
Hi, Here is what I have done on my setup. sudo chown www-data for all files in Weather34 including Weather34 directory. Then sudo chgrp www-data for the same set of files and directories. In my case my Weather34 directory exists in the weewx. On Monday, March 9, 2020 at 4:41:50 PM UTC-7, Bill

[weewx-user] Re: Weather34 on ramdisk

2020-03-10 Thread Bill Arthur
I know just enough to be dangerous, so my techniques can be crude. But here goes I chown'd all the files in the weather34 directory to www-data. Did the directory itself, also. Then chmod'd them to 644.. Then tried 755 All attempts ended in error 500 I'm going to read some more and find

[weewx-user] Re: Weather34 on ramdisk

2020-03-09 Thread Bill Arthur
JD I thought that the commands that I did would have done that. Do you have any suggestions? Thanks! On Monday, March 9, 2020 at 7:12:07 PM UTC-5, J D wrote: > > Make sure the Weather34 directory has the correct permissions and > ownership also. > > On Monday, March 9, 2020 at 4:41:50 PM

[weewx-user] Re: Weather34 on ramdisk

2020-03-09 Thread J D
Make sure the Weather34 directory has the correct permissions and ownership also. On Monday, March 9, 2020 at 4:41:50 PM UTC-7, Bill Arthur wrote: > > I'm putting together a remote weather station using WeeWx and ARPS radio. > It's a bit of a drive so reliability is very important to me. For