I found solution to not being able to access my dashboard after the automatic upgrade to 4.1.7
I followed the url to see where it stopped.
wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2F
I went to my site via ftp and noticed that in the wp-admin folder that the upgrade.php file was actually named _upgrade.php
So i removed the underscore from the name in my wp-admin folder and when I logged in, it completed the database upgrade and everything worked perfectly. I then updated all my plugins and updated to 4.2.2 with no problems.
I found a different solution to not being able to access the dashboard after the automatic upgrade preventing from accessing 15 sites!
on checking the path:
wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2F
I went to my wp-admin folder via ftp and saw that upgrade.php file
was actually named _upgrade.php So I removed the underscore and it allowed the databae update to be completed and everything worked fine.
This was true for all 15 of my sites.