By hdt
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.
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.