Hi all, I am using magento cloud.
My staging server show error 503 Server unavailable atm.
I found this message in site.log
Maintenace flag is set, not starting nginx
I checked with bin/magento maintenance:status
maintenance mode is not active.
anyone know how to fix it?
Kindly run below commands,
php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f php bin/magento indexer:reindex php bin/magento cache:flush php bin/magento maintenance:disable
cannot run static-content deploy with -f option. no this option.
Ran everything without any error. no luck.
The problem is nginx did not start after deployment
I read the deploy log. It disabled maintenance mode already after deployment.
but magento cloud is managed hosting,
you need to ask your hosting support -
why you asking on community forums???
sigh.... they won't fix it immediately because its not happening at production and I need to apply new function to production asap. I did a lot of research already but no luck so far.