on two independent installations at two different hosters I got the same problem while upgrading to 3.8.0
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘1074236db33.piwik_brute_force_log’ doesn’t exist
After doing it again and again at least I got Matomo working again and showing 3.8.0 as actual version. But the process was bumpy and faulty.
How to fix? Seems that the bug, known since b4 was not fixed.