As I suspected I was missing a php package: sockets. Page started loading the moment I installed that into my image.
For what it's worth, I'm using the php:7.4-fpm-alpine3.15 image. Downgraded from php 8.1.4 due to float-> conversion errors. As far as PHP extensions are concerned, the docker image contains curl, mbstring, sqlite3 & xml. I'm adding bcmath, gd, zip & sockets Still not 100% there though, getting errors from top_aqi_daqi.php now On Thursday, April 14, 2022 at 7:30:28 PM UTC-7 vince wrote: > Not enough info re: your unusual setup to help much. We'd need to see > your docker-compose file to understand what you've set up. > > On Thursday, April 14, 2022 at 6:07:10 PM UTC-7 Yojuan wrote: > >> I'm somewhat baffled with this issue: trying out Weather34, but when I >> access the skin's root script (index.php), I get a blank page. Hoping >> someone can help before I abandon Weather34! >> >> Things I've tried: >> >> - Testing skins with static data work 100%, I been using the default >> Seasons skin and Belchertown for several months >> - Accessing a basic info.php script which calls phpinfo() works fine >> - I've tried apache, nginx & lighttpd connecting to php-fpm, with the >> same result >> >> What I've found: >> >> - Absolutely no errors in the weewx, php or web server logs >> - Call to index.php returns 200 >> - Weewx generates the Weather34 data fine >> - There are no uid/gid or file permissions issues >> >> I run a somewhat unconventional configuration consisting of weewx, >> mosquitto, nginx/lighttpd, php running in docker containers on a local >> Docker host. My day job is in DevOps, so I'm very familiar with setups like >> these. My setup has been running for a while (only Weather34 is new). >> >> Would missing a PHP package cause this behavior? I installed all the >> packages listed in the install guide, except *cli* which wouldn't >> install (fpm, sqlite3, zip, gd, mbstring, curl, xml, bcmath installed >> though) >> >> Any help appreciated! I didn't attach any logs as there are zero errors, >> but I can if it will be helpful. >> > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/09f66a8f-f4c5-45f1-9097-af8aff38c6fcn%40googlegroups.com.
