Folder permissions

Your software
mautic 3.1.0 (from github)
PHP 7.3.22 (cli) (built: Sep 1 2020 09:44:58) ( NTS )
Copyright © 1997-2018 The PHP Group
Zend Engine v3.3.22, Copyright © 1998-2018 Zend Technologies
with Zend OPcache v7.3.22, Copyright © 1999-2018, by Zend Technologies

Icons / Images not showing up or not accessable. The gravator of the admin user for example is not showing up in the app.

Screenshot 2020-09-20 at 15.18.59

The Logo in the e-mail is not showing up in the email client. It is visible in the template, also in the webpreview, but not in the email itself.

Logo in the eMail missing
Screenshot 2020-09-20 at 15.19.55

Logo in preview in the browser visible:

These errors are showing in the log:

Steps I have tried to fix the problem:

find . -type f -not -perm 644 -exec chmod 644 {} +
find . -type d -not -perm 644 -exec chmod 755 {} +
chmod -R g+w var/cache/ var/logs/ app/config/
chmod -R g+w media/files/ media/images/ translations/
rm -rf var/cache/*

My permissions on the media folder are currently:

drwxr-xr-x 2 apache apache 4096 Aug 24 19:57 css
drwxr-xr-x 2 apache apache 4096 Aug 24 19:53 dashboards
drwxrwxr-x 2 apache apache 4096 Aug 24 19:53 files
drwxrwxr-x 4 apache apache 4096 Sep 20 14:35 images
drwxr-xr-x 2 apache apache 4096 Aug 24 19:57 js

not sure why. but it’s working now.