Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 1 no such table: I'm getting a strange error with my Drupal site. The error is as follows:

Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 1 no such table: router: SELECT name, route, fit FROM {router} WHERE pattern_outline IN ( :patterns__0 ) AND number_parts &gt;= :count_parts; Array ( [:count_parts] =&gt; 0 [:patterns__0] =&gt; / ) in Drupal\Core\Routing\RouteProvider-&gt;getRoutesByPath() (line 344 of core/lib/Drupal/Core/Routing/RouteProvider.php).


I don't know much about what's causing the error. I took a look at the file the error references, but I can't figure out what to change. 

Here are the steps I took that led up to the error:


I started with a Drupal 7 website.
I deleted all of my files from the website directory.
Note: The "sites" directory would not delete no matter how many times I tried.
I uploaded my Drupal 8 release candidate 1 hoping that that new "sites" directory would overwrite the old one.
I reloaded my website page and was presented with error above.


Any ideas?
Unfortunately you've gone down the wrong path by deleting your existing site. Hopefully you have a backup you can restore from...

Drupal 8 isn't an update, it's a brand new system; you need to migrate your D7 site to it. 

The docs are here, they should contain everything you need