Unable to connect to website
I have been following this tutorial to install WP CLI and now I get a “Problem loading website” error whenever I try to access any website on my droplet, using a browser. I can still SSH or SFTP on the server without issues.
I suspect the error was caused by apt-get update from which I got the error:
E: Some index files failed to download. They have been ignored, or old ones used instead. E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
I tried to run sudo dpkg –configure -a but nothing happened (looks like it froze) and I then ^C it:
sudo dpkg --configure -a Setting up openssh-server (1:6.6p1-2ubuntu2) ... ^Cdpkg: error processing package openssh-server (--configure): subprocess installed post-installation script was interrupted Errors were encountered while processing: openssh-server
I did managed to finish the installation of WP CLI without any issue and it works.
Any tips on how to get access the websites again?