I updated from Ubuntu 12.04 to Ubuntu 14.04 on a virtual private server.
When you do that update, Apache is updated from 2.2 to 2.4. Certain changes mean that until you update the site-available configuration files no web sites will work.
The quick checklist of what you have to do for each configuration
- update the file to add or edit the directory details (where /var/www/curiouscatnetwork.com/public_html/ is the path to the website files on your server)
<Directory /var/www/curiouscatnetwork.com/public_html/> Require all granted </Directory>
Remember if you have details needed for WordPress those instructions need to remain. I didn’t have a Directory area listed on my non-Wordpress sites.
- The files now need a .conf extension so move the rename/move the files to the new name
sudo mv curiouscatnetwork.com curiouscatnetwork.com.conf
- Enable the new configuration
sudo a2ensite curiouscatnetwork.com.conf
- Reload apache to reload the new configuration
sudo service apache2 reload
The upgrade to Ubuntu 14.04 LTS was interrupted (I quit a window using the wrong command – oops). Luckily it wasn’t a big deal. I was able to delete the lock file.
sudo rm /var/lib/dpkg/lock
Then trying to update again
sudo apt-get dist-upgrade
gave a message telling me what command to use to have the upgrade continue.
sudo dpkg --configure -a
which seemed to work fine.