Weather34 main page blank - nothing rendering

134 views
Skip to first unread message

Yojuan

unread,
Apr 14, 2022, 9:07:10 PM4/14/22
to weewx-user
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.

vince

unread,
Apr 14, 2022, 10:30:28 PM4/14/22
to weewx-user
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.

Yojuan

unread,
Apr 15, 2022, 12:20:01 PM4/15/22
to weewx-user
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

Reply all
Reply to author
Forward
0 new messages