Content manager page not loading : ChunkLoadError: Loading chunk 3187 failed

Hello @TristanB :cake: welcome to the Strapi Community :open_hands:

Based on the error you’re facing, it seems that the issue might be related to how your Apache proxy is set up. Let’s try the following:

  • Update your Apache virtual host configuration to include the necessary directives for handling WebSocket connections and serving static files. Replace your existing <VirtualHost> block with the following:
<VirtualHost *:80>
  ServerName strapi.can
  ProxyPreserveHost On
  <Proxy *>
    Order allow,deny
    Allow from all
  </Proxy>

  ProxyPass /admin http://localhost:1338/admin
  ProxyPassReverse /admin http://localhost:1338/admin

  ProxyPass /uploads http://localhost:1338/uploads
  ProxyPassReverse /uploads http://localhost:1338/uploads

  ProxyPass / http://localhost:1338/
  ProxyPassReverse / http://localhost:1338/
</VirtualHost>

This configuration will ensure that your admin panel and uploaded files are proxied correctly.

Please note that by default, strapi runs on port 1337, not 1338 unless you change this.

Would also suggest to make sure your running the latest version which is 4.8.2 currently.
From here also make sure you check out our :books: Migration Guides