I found the error if someone has the same problem.
in file blocklib.php on line 729 says this:
include_once($fullblock .'/db'. $CFG->dbtype .'.php'); // defines upgrading function
It should be
include_once($fullblock .'/db/'. $CFG->dbtype .'.php'); // defines upgrading function