I was recently trying to upgrade my Magento 2.2.7 to Magento 2.3.0 and the following message came up in component dependencies
Found non-writable path(s):
/var/www/vhosts/powermyself.com/httpdocs/pub/.htaccess
Upon closer inspection it would seem that the .htaccess file is missing in this folder (although there is still one in pub/static).
Is there any way to get this file back?