Getting two errors when trying to click Extend and Config tabs
I found this Gist about Fixing a Drupal 8 site with an empty install profile related to your problem (which I also have). The guide solved the problems, but created another.


  Drupal\Core\Extension\Exception\UnknownExtensionException: The module minimal does not exist or is not installed. in Drupal\Core\Extension\ExtensionList->getExtensionInfo() (linea 346 di /var/www/html/web/core/lib/Drupal/Core/Extension/ExtensionList.php).


Looking for the second problem, I found this issue and patch #112 should solve all your problems without using the first guide I mentioned.

If instead you want to follow the guide, which I think is the best way to go, to solve the new problem do what comment #110 says.
By adding the line minimal: 1000 to the core.extension.yml file