Question

Unable to log into wordpress after migration from shared hosting to digital ocean

Posted March 2, 2014 5k views
I just completed the migration of my wordpress site to digital ocean's 1 gb plan. The DNS has finished propagating, and when I go to my site I see my maintenance plugin, but when I attempt to login to wordpress via http://mydomain.com/wp-admin, my username and password are not accepted and the login page just reloads. Any thoughts?

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.

×
6 answers
"Check your logs"
(As in, to see if you're trying to login to the right site/etc, check for errors)
Which logs would you recommend/where would I find those logs?
Check Apache's error logs:
sudo tail -30 /var/log/apache2/error.log
I get these errors:

[Sun Mar 02 18:55:09 2014] [error] [client 166.137.12.90] File does not exist: /var/www/2013, referer: http://t.co/6RPeDFjOYZ
[Sun Mar 02 18:55:09 2014] [error] [client 199.59.148.209] File does not exist: /var/www/robots.txt
[Sun Mar 02 18:55:09 2014] [error] [client 199.59.148.209] File does not exist: /var/www/2013
[Sun Mar 02 18:55:15 2014] [error] [client 166.137.12.90] File does not exist: /var/www/2013, referer: http://t.co/ZUzfGngKPD
[Sun Mar 02 18:55:15 2014] [error] [client 199.59.148.210] File does not exist: /var/www/robots.txt
[Sun Mar 02 18:55:15 2014] [error] [client 199.59.148.210] File does not exist: /var/www/2013
[Sun Mar 02 19:22:28 2014] [error] [client 76.31.143.57] File does not exist: /var/www/wp-content/uploads/2013/08/SAT-Logo.png
[Sun Mar 02 19:25:31 2014] [error] [client 76.31.143.57] File does not exist: /var/www/wp-content/uploads/2013/08/SAT-Logo.png
[Sun Mar 02 19:26:59 2014] [error] [client 76.31.143.57] File does not exist: /var/www/wp-content/uploads/2013/08/SAT-Logo.png
[Sun Mar 02 19:27:22 2014] [error] [client 76.31.143.57] File does not exist: /var/www/wp-content/uploads/2013/08/SAT-Logo.png
[Sun Mar 02 19:27:38 2014] [error] [client 76.31.143.57] File does not exist: /var/www/wp-content/uploads/2013/08/SAT-Logo.png
[Sun Mar 02 19:29:19 2014] [error] [client 76.31.143.57] File does not exist: /var/www/wp-content/uploads/2013/08/SAT-Logo.png
[Sun Mar 02 19:32:00 2014] [error] [client 76.31.143.57] File does not exist: /var/www/wp-content/uploads/2013/08/SAT-Logo.png
[Sun Mar 02 19:35:43 2014] [error] [client 76.31.143.57] File does not exist: /var/www/wp-content/uploads/2013/08/SAT-Logo.png
[Sun Mar 02 20:31:20 2014] [error] [client 14.209.232.232] script not found or unable to stat: /usr/lib/cgi-bin/php
[Sun Mar 02 20:31:21 2014] [error] [client 14.209.232.232] script not found or unable to stat: /usr/lib/cgi-bin/php5
[Sun Mar 02 20:31:21 2014] [error] [client 14.209.232.232] script not found or unable to stat: /usr/lib/cgi-bin/php-cgi
[Sun Mar 02 20:31:22 2014] [error] [client 14.209.232.232] script not found or unable to stat: /usr/lib/cgi-bin/php.cgi
[Sun Mar 02 20:31:23 2014] [error] [client 14.209.232.232] script not found or unable to stat: /usr/lib/cgi-bin/php4
[Mon Mar 03 09:20:38 2014] [error] [client 82.221.105.6] File does not exist: /var/www/robots.txt
[Mon Mar 03 13:32:22 2014] [error] [client 23.21.69.133] script not found or unable to stat: /usr/lib/cgi-bin/php
[Mon Mar 03 13:32:22 2014] [error] [client 23.21.69.133] script not found or unable to stat: /usr/lib/cgi-bin/php5
[Mon Mar 03 13:32:22 2014] [error] [client 23.21.69.133] script not found or unable to stat: /usr/lib/cgi-bin/php-cgi
[Mon Mar 03 13:32:22 2014] [error] [client 23.21.69.133] script not found or unable to stat: /usr/lib/cgi-bin/php.cgi
[Mon Mar 03 13:32:22 2014] [error] [client 23.21.69.133] script not found or unable to stat: /usr/lib/cgi-bin/php4
[Mon Mar 03 14:14:06 2014] [error] [client 23.114.21.64] script not found or unable to stat: /usr/lib/cgi-bin/php
[Mon Mar 03 14:14:27 2014] [error] [client 23.114.21.64] script not found or unable to stat: /usr/lib/cgi-bin/php5
[Mon Mar 03 14:14:27 2014] [error] [client 23.114.21.64] script not found or unable to stat: /usr/lib/cgi-bin/php-cgi
[Mon Mar 03 14:14:27 2014] [error] [client 23.114.21.64] script not found or unable to stat: /usr/lib/cgi-bin/php.cgi
[Mon Mar 03 14:14:27 2014] [error] [client 23.114.21.64] script not found or unable to stat: /usr/lib/cgi-bin/php4
Any thoughts on how to resolve these errors?
Can you pastebin your apache config file?
Submit an Answer