Cache problems / Broken layout

I installed Elgg in /var/www/html/elgg.
Apache site:
<VirtualHost *:80> 
        DocumentRoot /var/www/html/elgg
        <Directory /var/www/html/elgg/>
          RewriteEngine On
          RewriteBase  "/"
          Options FollowSymlinks
          AllowOverride All
          Require all granted

Data dir exists in /var/www/html/elgg-data.
Browsing the domain result in a broken layout. 
Inspecting the site with Googles siteinspector, shows me a different cache than exists.
(e.g. <domain>/cache/1570880371/default/jquery.js, but cache dir 1570880371 doesnt exist)
Deleted all cache-folders, same result.
Permissions elgg-data folder: www-data, 775 (for testing 777)
Permissions elgg dir: www-data, 775
Permissions elgg files: www-data, 644
No further errors are given. 
OS: Ubuntu 18.02, PHP 7.2
Tried composer and manual upload. No change.
What do I miss? 
Thanks for your kick in the right direction.

  • 1 - Don't use elgg-data in the name of Elgg data directory.

    Use data instead. (As suggestion, don't use any symbols/characters excepts letters and numbers.)

    2 - Check your settings file:


    Look at these params:


    3 - Try to disable system/simple caches settings on Site settings page in Administration.

    Clean the caches and check you site again.

    4 - Enable the logs on Site settings page in Administration:

    Debugging and Logging

    Log errors and warnings

    Note: cache folder doesn't exist in data directory, caches only. The links as you mentioned are correct and not related with folders in /data directory.

    More info on