I had the same problem and I fixed it with following actions :
-Set php.ini timeout to more than 30s
-Modify classes/Tools.php line 3395
-> protected static $is_addons_up = false; instead of true
-Now you can connect to your back-office, you can disable gamification module which slows incredibly the back-office