Hi Glenn, Sorry for the delay ... I'm using apache2 on Synology NAS 1515+. It works pretty well with a 30/30 Internet connexion and a static IP!
I did what you suggest. It was very clear, thanks but unfortunately, I've got a smaller error msg too. It seems we have to copy some file in the Synology to be able to see the database. Regards. Yves Le jeudi 25 janvier 2018 18:48:38 UTC-5, Glenn McKechnie a écrit : > > Hi, > > The wxobs_incl.inc file's location can be moved using the skins config > file. The default location was for a Debian install of apache2. > It looks like you have it on a Synology NAS which has a different set of > defaults (as well as an unusual filesystem layout). > > "Warning: require(): open_basedir restriction in effect. > File(/usr/share/php/wxobs_incl.inc) is not within the allowed path(s): > (/etc.defaults:/etc:/usr/syno/synoman:/tmp:/var/services/tmp:/var/services/web:/var/services/homes) > > in /volume1/web/meteo/wxobs/index.php on line 76 Warning: > require(/usr/share/php/wxobs_incl.inc): failed to open stream: Operation > not permitted in /volume1/web/meteo/wxobs/index.php on line 76 Fatal error: > require(): Failed opening required '/usr/share/php/wxobs_incl.inc' > (include_path='.') in /volume1/web/meteo/wxobs/index.php on line 76" > > The error message suggests a couple of locations where it could go, one of > which is /tmp which is a pretty good failsafe :-) The file gets regenerated > every run. > > In skin/wxobs/skin.conf add " include_file = '/tmp/wxobs_inc.inc' " > just after [wxobs] and you'll override the default. As follows... > > [wxobs] > include_file = '/tmp/wxobs_inc.inc' > > That should? get you out of that corner but I don't know what other > pleasures the NAS may hold, hopefully none. > The web server needs to be able to access the directory so if that doesn't > work try it in /var/services/tmp or one of the other allowed paths > mentioned in that error message.. > > A question; What is the webserver you have running there. I'll see if I > can replicate it on mine when I have a moment. > > > > > > > Cheers > Glenn > > rorpi - read only raspberry pi & various weewx addons > https://github.com/glennmckechnie > > On 26 January 2018 at 09:46, Yves Martin <ve2...@gmail.com <javascript:>> > wrote: > >> Hi Glen, >> >> I'm trying to install your nice addon, but get an error: >> http://ymartin.com/meteo/wxobs/index.php >> >> Any idea? >> >> YMartin.com >> >> >> Cheers >>> Glenn >>> >>> rorpi - read only raspberry pi + weewx: now with scripts >>> <https://github.com/glennmckechnie/rorpi-raspberrypi> >>> >> > -- 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.