Question

Why did my site crash when ı changed my root password?

Hello,

I just had to change my root password. But when I changed my password, my site crashed. I get a 502 error. I would be very glad if you can help. I’m using wordpress.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hey friend!

So what happens here is that the server is rebooted for that process. Anything that might change on reboot would then change. What can often be the case is that software has been installed and is running, but hasn’t been set to automatically start at boot time. That means on reboot the software isn’t running, and then you an error.

A 502 error means that the web server failed to reach a back-end service that is required to display the website. This is somewhat consistent with my above theory. Are you running PHP-FPM by chance? If so, you might try starting it up manually. That varies by distro and version, could be something like one of these:

service php-fpm start systemctl php-fpm start systemctl php7-fpm start

You might look for the actual name in /etc/init.d (for “service” command) or /etc/systemd/system (for systemctl command).

If not PHP-FPM, could be something else. Do you know what the details of your software stack are?

Jarland