If you are using Acquia Cloud Site Factory (ACSF) then you can use ACSF command acsf-tools-ml
acsf-tools-ml (sfml): This command will run any Drush command against all sites in your factory. drush @coolsites.01dev sfml en admin_toolbar
2. Other solution: It's not recommended to enable/disable module directly on the server in this way you lose access to ...
The accepted answer didn't work for me, but changing the default PHP version before doing the update did.
sudo update-alternatives --set php /usr/bin/php7.3
Perform the update, then set the PHP version back.
sudo update-alternatives --set php /usr/bin/php7.4
I ran into a permission error afterward which was fixed with the Drupal recommendations: