Shopware 6: Key path config/jwt/public.pem does not exist or is not readable

Whenever you get this error, you have most likely erroneous file and folder permissions. To fix this run

chmod -R 0660 config/jwt
tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo tech logo