Title: Error while upgrading to 2.0.1
Last modified: August 18, 2016

---

# Error while upgrading to 2.0.1

 *  [kensav](https://wordpress.org/support/users/kensav/)
 * (@kensav)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/error-while-upgrading-to-201/)
 * I’ve backed up my database and files. I deleted everything except wp-content 
   folder and wp-setting.php file.
    I uploaded all the new files and ran /upgrade.
   php but received this error:
 * Warning: main(admin.php): failed to open stream: No such file or directory in/
   usr/local/www/vhosts/battlediabetes.com/htdocs/wp-settings.php on line 2
 * Fatal error: main(): Failed opening required ‘admin.php’ (include_path=’.:/usr/
   local/www/lib/php’) in /usr/local/www/vhosts/battlediabetes.com/htdocs/wp-settings.
   php on line 2
 * Any ideas what I can do next?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [kensav](https://wordpress.org/support/users/kensav/)
 * (@kensav)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/error-while-upgrading-to-201/#post-355308)
 * Oops I meant while installing 2.0.2
 *  [persona](https://wordpress.org/support/users/persona/)
 * (@persona)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/error-while-upgrading-to-201/#post-355415)
 * Sounds like the same problem I got. I can’t exactly tell you what’s the problem,
   or what’s the cause of it since I’m not too sure exactly myself.
 * First of all, have you checked that you’ve uploaded all the files, and that they
   are present? How did you upload them? Thru your ftp program, or thru the server’s
   filemanager?
 * In my case, I uploaded them thru the ftp, but in the server’s filemanager, the
   files I see are the old one. I guess it could be my host server issues, where
   the files uploaded via ftp don’t go to where they should. Doesn’t seem logical,
   but after I uploaded the missing file via the filemanager, it partially worked
   ok.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error while upgrading to 2.0.1’ is closed to new replies.

## Tags

 * [upgrade](https://wordpress.org/support/topic-tag/upgrade/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [persona](https://wordpress.org/support/users/persona/)
 * Last activity: [20 years, 3 months ago](https://wordpress.org/support/topic/error-while-upgrading-to-201/#post-355415)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
