#ZegnatAnyone here running WordPress in Docker / with docker-compose? I am trying to get mine to run but it will not, and I must be missing something super obvious...
grantcodes[d], sayanarijit[d], Guest6 and Ramon[d] joined the channel
#ZegnatI think I just identified my own problem. Something may have changed in more recent WPs, do not know, but when I now run WP from the wordpress docker image it will create a wp-config.php file and no longer boot me into the installl view. So I have to use the WP cli to run the install. (This last statement is as of yet untested.)
#petermolnarZegnat: can you not specify a wp-config or paramaters for the docker start?
#Zegnatpetermolnar: from all guides I have read, it is not supposed to behave the way I see it behave, is the problem. The way it is now, to enable passing in settings through Docker environment, a special wp-config is created. All is good with it, *except* now that it exists WP goes and tries to get some data from the database. It then dies because the tables do not exist yet (because install has not run yet).
#ZegnatThis seems to suggest to me that you are not allowed to have a wp-config at all until after installation? Seems weird though. Not really sure what is going on.
#petermolnarwhispers go FreeBSD, oldschool, simple...
#[Joe_Crawford]I’m not familiar enough with this. But if there’s a wp-config.php in place it seems to me it should defer to what’s in there. I wonder if there’s new logic for if around the state of the wp-config-sample.php file or some _other_ file that is triggering that.
#[Joe_Crawford]Can you share the config file docker / docker-compose is using? If it’s building a whole virtual machine - what is it building and in what order is the thing I’d be looking at
#Zegnat[Joe_Crawford]: now that I am home, I can get you the compose file that shows the exact behaviour, give me a sec
#ZegnatAccording to most guides I have read, you should be able to surf into localhost:80 from there and be greeted with the WP installation screen, but no.
#ZegnatAnd from a quick look through WP code (though only really quick look) it seems to me like WP is assuming tables exist when wp-config.php exists
#sknebeldid you clear out the volume between attempts?