Css not loading on google chrome giving http 404 or 500 error but working fine on Safari

The UI of nextcloud webapp on chrome (tested in safari as well ) is broken

Nextcloud version (eg, 20.0.5): 20.0.1
Operating system and version (eg, Ubuntu 20.04): Ubuntu 18.04Apache or nginx version _(eg, Apache 2.4.25)_: Apache 2.4PHP version _(eg, 7.4)_:Php 7.4`

The issue you are facing:

CSS is broken


Is this the first time you’ve seen this error? (Y/N):

Yes

The output of your Nextcloud log in Admin > Logging:
tried with 2 usernames:

{"reqId":"ClcWqvcNrys1DoYlUh0y","level":0,"time":"2021-01-23T20:38:40+00:00","remoteAddr":"192.168.0.16","user":"vitachaos","app":"scss_cacher","method":"GET","url":"/nextcloud/apps/dashboard/","message":"SCSSCacher::isCached 458e-faa2-server.css isCachedCache is expired or unset","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36","version":"20.0.1.1"}
"reqId":"H25UGivZ03SXLyZxB8iq","level":0,"time":"2021-01-24T22:07:14+00:00","remoteAddr":"192.168.0.16","user":"admin","app":"scss_cacher","method":"GET","url":"/nextcloud/apps/files/?dir=/Pdfs&scrollto=React%20and%20Flux:%20A%20Docker%20Development%20Workflow%20%E2%80%93%20Aaron%20Tribou%20%E2%80%93%20Medium.pdf","message":"SCSSCacher::isCached NotFoundException /appdata_ocr2fw9pzn5a/css/files/d71e-faa2-merged.css"

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
  'instanceid' => 'ocr2fw9pzn5a',
  'passwordsalt' => '24QdCbKXo/MTqBnT2WZwK/G620EIM/',
  'secret' => 'HnyaVGitcBtN9i8dBneWxRaXTZo//Wjw3CNSLLG0dU8iRIqG',
  'memcache.disributed' => '\\OC\\Memcache\\Redis',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => 'true',
  'redis' => 
  array (
    'host' => '192.168.0.15',
    'port' => 6379,
    'timeout' => 0.0,
    'password' => 'secret',
    'dbindex' => 0,
  ),
  'trusted_domains' => 
  array (
    0 => '192.168.0.15',
    1 => '10.8.0.5',
  ),
  'enable_previews' => true,
  'enabledPreviewProviders' =>
   array (
    0 => 'OC\\Preview\\TXT',
    1 => 'OC\\Preview\\MarkDown',
    2 => 'OC\\Preview\\OpenDocument',
    3 => 'OC\\Preview\\PDF',
    4 => 'OC\\Preview\\MSOffice2003',
    5 => 'OC\\Preview\\MSOfficeDoc',
    6 => 'OC\\Preview\\PDF',
    7 => 'OC\\Preview\\Image',
    8 => 'OC\\Preview\\Photoshop',
    9 => 'OC\\Preview\\TIFF',
   10 => 'OC\\Preview\\SVG',
   11 => 'OC\\Preview\\Font',
   12 => 'OC\\Preview\\MP3',
   13 => 'OC\\Preview\\Movie',
   14 => 'OC\\Preview\\MKV',
   15 => 'OC\\Preview\\MP4',
   16 => 'OC\\Preview\\AVI',
   ),
  'datadirectory' => '/media/storage/data',
  'dbtype' => 'mysql',
  'version' => '20.0.1.1',
  'overwriteprotocol' => 'https',
  'overwrite.cli.url' => 'https://192.168.0.15/nextcloud',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'username',
  'dbpassword' => 'secret!',
  'installed' => true,
  'htaccess.RewriteBase' => '/nextcloud',
  'session_lifetime' => 86400,
  'session_keepalive' => true,
  'has_rebuilt_cache' => true,
  'app.mail.accounts.default' => 
  array (
    'email' => 'username@gmail.com',
    'imapHost' => 'imap.gmail.com',
    'imapPort' => 993,
    'imapSslMode' => 'ssl',
    'smtpHost' => 'smtp.gmail.com',
    'smtpPort' => 486,
    'smtpSslMode' => 'tls',
  ),
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 0,
);