Scripting concrete.maintenance_mode true/false (NOT WORKING)

Anyone else experience this? I can manually set the value in application/config/generated_overrides/concrete.php and it works fine.

No mention in github.com/concretecms

I followed these clear instructions: How to Upgrade Concrete5

php7.4 c5v8.5.7

BTW, I came to the forums in Google’s Chrome (v.97.0.4692.99) and never saw a ‘Create Topic’ button to create a post in the forums. Switched to Firefox (v.94.0b9) and it was there as expected.

I’ll test the create topic button in FF and Chrome that’s very strange. And check see if I can find anyone with a similar issue with overrides. Thanks! Jess

@RMO how are you scripting it? The problem likely lies there. For example, this works for me using Unix command line tools:

sed -i '/maintenance_mode/s:false:true:' application/config/generated_overrides/concrete.php 

but you should really be using the Concrete CLI to do it:

concrete/bin/concrete5 c5:config -g set concrete.maintenance_mode true

will enable maintenance mode and save the value in generated_overrides.